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), ... )
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 |
reactor object
Other driver:
chrome_options()
,
chrome_version()
,
firefox_driver()
,
set_firefox_driver()
,
set_timeout()