wdman

Webdriver/Selenium Binary Manager

https://github.com/ropensci/wdman

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 10 committers (30.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary

Keywords

r r-package rselenium rstats selenium webdriver webdriver-manager
Last synced: 6 months ago · JSON representation

Repository

Webdriver/Selenium Binary Manager

Basic Info
Statistics
  • Stars: 30
  • Watchers: 5
  • Forks: 11
  • Open Issues: 10
  • Releases: 4
Topics
r r-package rselenium rstats selenium webdriver webdriver-manager
Created about 9 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License Codemeta

README.md

wdman

R-CMD-check codecov

Introduction

wdman (Webdriver Manager) is an R package that allows the user to manage the downloading/running of third party binaries relating to the webdriver/selenium projects. The package was inspired by a similar node package webdriver-manager.

The checking/downloading of binaries is handled by the binman package, and the running of the binaries as processes is handled by the subprocess package.

The wdman package currently manages the following binaries:

Associated with the above are five functions to download/manage the binaries:

  • selenium(...)
  • chrome(...)
  • phantomjs(...)
  • gecko(...)
  • iedriver(...)

Installation

You can install wdman from GitHub with:

```R

install.packages("remotes")

remotes::install_github("ropensci/wdman") ```

The package can also be installed from CRAN:

R install.packages("wdman")

Example

As an example, we show how one would run the Selenium standalone binary as a process:

Running the Selenium binary

The binary takes a port argument which defaults to port = 4567L. There are a number of optional arguments to use a particular version of the binaries related to browsers selenium may control. By default, the selenium function will look to use the latest version of each.

```R selServ <- selenium(verbose = FALSE) selServ$process

PROCESS 'file50e6163b37b8.sh', running, pid 21289.

```

The selenium function returns a list of functions and a handle representing the running process.

The returned output, error and log functions give access to the stdout/stderr pipes and the cumulative stdout/stderr messages respectively.

```R selServ$log()

$stderr

[1] "13:25:51.744 INFO [GridLauncherV3.parse] - Selenium server version: 4.0.0-alpha-2, revision: f148142cf8"

[2] "13:25:52.174 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4567"

[3] "13:25:54.018 INFO [WebDriverServlet.] - Initialising WebDriverServlet"

[4] "13:25:54.539 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4567"

$stdout

character(0)

```

The stop function sends a signal that terminates the process:

```R selServ$stop()

TRUE

```

Available browsers

By default, the selenium function includes paths to chromedriver/geckodriver/phantomjs so that the Chrome/Firefox and PhantomJS browsers are available respectively. All versions (chromever, geckover etc) are given as "latest". If the user passes a value of NULL for any driver, it will be excluded.

On Windows operating systems, the option to included the Internet Explorer driver is also given. This is set to iedrver = NULL so not ran by default. Set it to iedrver = "latest" or a specific version string to include it on your Windows.

Further details

For further details, please see the package vignette.


Owner

  • Name: rOpenSci
  • Login: ropensci
  • Kind: organization
  • Email: info@ropensci.org
  • Location: Berkeley, CA

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "wdman",
  "description": "There are a number of binary files associated with the 'Webdriver'/'Selenium' project. This package provides functions to download these binaries and to manage processes involving them.",
  "name": "wdman: 'Webdriver'/'Selenium' Binary Manager",
  "relatedLink": "https://docs.ropensci.org/wdman/",
  "codeRepository": "https://github.com/ropensci/wdman",
  "issueTracker": "https://github.com/ropensci/wdman/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "0.2.6",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.2.1 (2022-06-23)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "John",
      "familyName": "Harrison",
      "email": "johndharrison0@gmail.com"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Ju Yeong",
      "familyName": "Kim",
      "email": "jkim2345@fredhutch.org"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "covr",
      "name": "covr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=covr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.2"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "binman",
      "name": "binman",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=binman"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "assertthat",
      "name": "assertthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=assertthat"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "processx",
      "name": "processx",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=processx"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "yaml",
      "name": "yaml",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=yaml"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "semver",
      "name": "semver",
      "version": ">= 0.2.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=semver"
    },
    "7": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "SystemRequirements": null
  },
  "fileSize": "93.25KB",
  "releaseNotes": "https://github.com/ropensci/wdman/blob/master/NEWS.md",
  "readme": "https://github.com/ropensci/wdman/blob/master/README.md",
  "contIntegration": [
    "https://github.com/ropensci/wdman/actions",
    "https://codecov.io/gh/ropensci/wdman"
  ],
  "keywords": [
    "r",
    "selenium",
    "webdriver",
    "webdriver-manager",
    "rselenium",
    "r-package",
    "rstats"
  ]
}

GitHub Events

Total
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1
Last Year
  • Issues event: 2
  • Watch event: 1
  • Issue comment event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 201
  • Total Committers: 10
  • Avg Commits per committer: 20.1
  • Development Distribution Score (DDS): 0.219
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
johndharrison j****0@g****m 157
J. Kim j****5@f****g 31
Jonathan Völkle j****e@w****e 3
Vince Carey s****c@c****u 2
Jeff j****s@u****u 2
Ian Taylor i****n@i****g 2
mnel m****n@s****u 1
Jeroen Ooms j****s@g****m 1
mfpole m****e@g****m 1
rOpenSci Bot m****t@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 29
  • Total pull requests: 13
  • Average time to close issues: 8 months
  • Average time to close pull requests: 5 months
  • Total issue authors: 21
  • Total pull request authors: 9
  • Average comments per issue: 2.41
  • Average comments per pull request: 0.69
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • johndharrison (5)
  • dmurdoch (3)
  • yonicd (2)
  • ghost (2)
  • JeffreyBLewis (1)
  • patrickgardella (1)
  • jspiewak (1)
  • Yuanchao-Xu (1)
  • farrarthomas (1)
  • pieterjanvc (1)
  • gracychina (1)
  • nbarsch (1)
  • chhluo (1)
  • Danny-dK (1)
  • STS912 (1)
Pull Request Authors
  • jonathanvoelkle (3)
  • johndharrison (3)
  • ianmtaylor1 (1)
  • vjcitn (1)
  • mfpole (1)
  • JeffreyBLewis (1)
  • mnel (1)
  • dmurdoch (1)
Top Labels
Issue Labels
duplicate (3) question (3) enhancement (1) bug (1) feature request (1) Awaiting further info (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 4,286 last-month
  • Total docker downloads: 21,862
  • Total dependent packages: 5
  • Total dependent repositories: 8
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: wdman

'Webdriver'/'Selenium' Binary Manager

  • Versions: 6
  • Dependent Packages: 5
  • Dependent Repositories: 8
  • Downloads: 4,286 Last month
  • Docker Downloads: 21,862
Rankings
Docker downloads count: 0.6%
Forks count: 6.3%
Downloads: 6.5%
Average: 7.1%
Dependent packages count: 9.3%
Stargazers count: 9.5%
Dependent repos count: 10.5%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.2 depends
  • assertthat * imports
  • binman * imports
  • processx * imports
  • semver >= 0.2.0 imports
  • utils * imports
  • yaml * imports
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/pr-fetch v1 composite
  • r-lib/actions/pr-push v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite