Drivers for firefox and chrome to run the Shiny application

firefox_driver(
  test_path = tempdir(),
  verbose = FALSE,
  port = httpuv::randomPort(),
  opts = firefox_options(download_path = test_path),
  ...
)

chrome_driver(
  test_path = tempdir(),
  verbose = FALSE,
  port = httpuv::randomPort(),
  opts = chrome_options(download_path = test_path),
  ...
)

Arguments

test_path

path to run the tests, Default: tempdir()

verbose

If TRUE, include status messages (if any)

port

Port to run on

opts

Driver options from firefox_driver or chrome_driver

...

Additional arguments to pass to remoteDriver

Value

object of class remoteDriver

See also

Examples

if (FALSE) { if(interactive()){ firefox_rs <- firefox_driver() firefox_rs$client$navigate('https://www.google.com') firefox_rs$client$screenshot(display = TRUE) firefox_rs$client$close() firefox_rs$server$stop() } }