{"id":15043938,"url":"https://github.com/ropensci/wdman","last_synced_at":"2025-06-30T11:05:00.551Z","repository":{"id":15634399,"uuid":"78553795","full_name":"ropensci/wdman","owner":"ropensci","description":"Webdriver/Selenium Binary Manager","archived":false,"fork":false,"pushed_at":"2023-10-25T15:07:31.000Z","size":246,"stargazers_count":29,"open_issues_count":10,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-08T21:28:31.708Z","etag":null,"topics":["r","r-package","rselenium","rstats","selenium","webdriver","webdriver-manager"],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/wdman","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null}},"created_at":"2017-01-10T16:49:44.000Z","updated_at":"2022-04-09T04:42:16.000Z","dependencies_parsed_at":"2023-02-10T20:00:59.337Z","dependency_job_id":"b2a7548a-48ac-40bc-b4e2-9e2d643a9da8","html_url":"https://github.com/ropensci/wdman","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/wdman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwdman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwdman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwdman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwdman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/wdman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fwdman/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262762459,"owners_count":23360329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r","r-package","rselenium","rstats","selenium","webdriver","webdriver-manager"],"created_at":"2024-09-24T20:49:51.011Z","updated_at":"2025-06-30T11:05:00.527Z","avatar_url":"https://github.com/ropensci.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wdman\n\n[![](https://www.r-pkg.org/badges/version/wdman)](https://CRAN.R-project.org/package=wdman)\n[![R-CMD-check](https://github.com/ropensci/wdman/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/wdman/actions)\n[![codecov](https://codecov.io/gh/ropensci/wdman/branch/master/graph/badge.svg)](https://app.codecov.io/gh/ropensci/wdman)\n\n\n## Introduction\n\n`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](https://www.npmjs.com/package/webdriver-manager).\n\nThe checking/downloading of binaries is handled by the [`binman`](https://github.com/ropensci/binman) package, and the running of the binaries as processes is handled by the [`subprocess`](https://github.com/lbartnik/subprocess) package.\n\nThe `wdman` package currently manages the following binaries:\n\n* [Selenium standalone binary](http://selenium-release.storage.googleapis.com/index.html)\n* [chromedriver](https://chromedriver.storage.googleapis.com/index.html)\n* [PhantomJS binary](https://phantomjs.org/download.html)\n* [geckodriver](https://github.com/mozilla/geckodriver/releases)\n* [iedriver](https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver)\n\nAssociated with the above are five functions to download/manage the binaries:\n\n* `selenium(...)`\n* `chrome(...)`\n* `phantomjs(...)`\n* `gecko(...)`\n* `iedriver(...)`\n\n\n## Installation\n\nYou can install `wdman` from GitHub with:\n\n```R\n# install.packages(\"remotes\")\nremotes::install_github(\"ropensci/wdman\")\n```\n\nThe package can also be installed from CRAN:\n\n```R\ninstall.packages(\"wdman\")\n```\n\n\n## Example\n\nAs an example, we show how one would run the Selenium standalone binary as a process:\n\n### Running the Selenium binary\n\nThe 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. \n\n```R\nselServ \u003c- selenium(verbose = FALSE)\nselServ$process\n\n## PROCESS 'file50e6163b37b8.sh', running, pid 21289.\n```\n\nThe `selenium` function returns a list of functions and a handle representing the running process.\n\nThe returned `output`, `error` and `log` functions give access to the stdout/stderr pipes and the cumulative stdout/stderr messages respectively.\n\n```R\nselServ$log()\n\n## $stderr\n## [1] \"13:25:51.744 INFO [GridLauncherV3.parse] - Selenium server version: 4.0.0-alpha-2, revision: f148142cf8\"         \n## [2] \"13:25:52.174 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4567\"\n## [3] \"13:25:54.018 INFO [WebDriverServlet.\u003cinit\u003e] - Initialising WebDriverServlet\"                                     \n## [4] \"13:25:54.539 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4567\"                        \n\n## $stdout\n## character(0)\n```\n\nThe `stop` function sends a signal that terminates the process:\n\n```R\nselServ$stop()\n\n## TRUE\n```\n\n### Available browsers\n\nBy 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.\n\nOn 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.\n\n\n## Further details\n\nFor further details, please see [the package vignette](https://docs.ropensci.org/wdman/articles/basics.html).\n\n---\n\n[![](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fwdman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci%2Fwdman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fwdman/lists"}