Low-Level Browser Automation Interface
Overview
An implementation of 'W3C WebDriver 2.0' (https://w3c.github.io/webdriver/), allowing interaction with a 'Selenium Server' (https://www.selenium.dev/documentation/grid/) instance from 'R'. Allows a web browser to be automated from 'R'.
JAVA_HOMEis now respected when finding thejavaexecutable.selenium_server()now returns aSeleniumServerobject, which exposes thehostandportfields. This allowswait_for_server()to work without having to pass in thehostandportarguments.selenium_server()no longer saves the logs of the Selenium server process by default, as this would cause errors when creating lots of sessions. To enable logging, set thestdoutandstderrarguments to"|", and then use$read_output()and$read_error()to read the output/error, as before.SeleniumSession$close()no longer throws an error if you use it twice. Instead, it returns a boolean that indicates if the session was already closed.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 15 (1 internal)includes a package overview page
- Examples that run
- 62%8 run in a plain check · 5 never run
- Exported functions with examples
- 93%
- Documented parameters
- 97%
- Return-value docs
- 71%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ashbythorpe/selenium-r on 2026-10-18.
The R CMD check workflow runs on Linux, and on R-devel
GitHub Pages site last deployed 2025-06-20 · The repository has a site deploy workflow
pkgdown site last built 2025-06-20
Show all practicesHide 1 practice
Dependencies
Installing selenium adds 18 packages (14 with compiled code, 6.5 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, vctrs 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest
- RR 4.5.0 released · 2025-04-11
- 0.1.4
- RR 4.4.0 released · 2024-04-24
- 0.1.32023-11-28 · diff ↗
- 0.1.22023-10-28
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-10-28
- Total releases
- 4 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Download size
- 55 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("selenium")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.