selenium.Rd
Opens a selenium driven browser and waits until shinyjster is finished.
selenium_chrome(
timeout = 2 * 60,
dimensions = "1200x1200",
headless = !interactive(),
verbose = TRUE
)
selenium_firefox(
timeout = 2 * 60,
dimensions = "1200x1200",
headless = !interactive(),
verbose = TRUE
)
selenium_edge(timeout = 2 * 60, dimensions = "1200x1200", verbose = TRUE)
selenium_ie(timeout = 2 * 60, dimensions = "1200x1200", verbose = TRUE)
selenium_safari(timeout = 2 * 60, dimensions = "1200x1200", verbose = TRUE)
Number of seconds before selenium closes the browser
A string in the form of "WIDTHxHEIGHT"
. Ex: "1800x1200"
Logical which determines if the browser can run headless. Defaults to TRUE
where possible.
Logical which determines if the selenium output is displayed as it's received
This function assumes selenium is installed and all appropriate web browsers are installed.
selenium_chrome()
: Opens a Chrome web browser
selenium_firefox()
: Opens a Firefox web browser
selenium_edge()
: Opens an Edge web browser
selenium_ie()
: Opens an IE web browser
selenium_safari()
: Opens an Safari web browser