Attach chrome driver to a reactor object.

set_chrome_driver(
  obj,
  test_path = tempdir(),
  verbose = TRUE,
  verbose_driver = FALSE,
  port = httpuv::randomPort(),
  opts = chrome_options(download_path = test_path),
  ...
)

Arguments

obj

reactor object

test_path

character, Path the child process will have access to on the master, Default: tempdir()

verbose

logical, reactor will notify the action taken. Default: TRUE

verbose_driver

logical, start the webdriver verbosely. Default: FALSE

port

integer, port to run the webdriver on, Default: httpuv::randomPort()

opts

named list, options to initialize webdriver with. Default: chrome_options(download_path = test_path)

...

additional arguments to pass to rsDriver

Value

reactor object

See also

Examples

if (FALSE) { if(interactive()){ #EXAMPLE1 } }