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)

Arguments

timeout

Number of seconds before selenium closes the browser

dimensions

A string in the form of "WIDTHxHEIGHT". Ex: "1800x1200"

headless

Logical which determines if the browser can run headless. Defaults to TRUE where possible.

verbose

Logical which determines if the selenium output is displayed as it's received

Details

This function assumes selenium is installed and all appropriate web browsers are installed.

Functions

  • 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