selenium_chrome | R Documentation |
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)
timeout |
Number of seconds before selenium closes the browser |
dimensions |
A string in the form of |
headless |
Logical which determines if the browser can run headless. Defaults to |
verbose |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.