Description Usage Arguments Value See Also Examples
Attach firefox driver to a reactor object.
1 2 3 4 5 6 7 8 9 | set_firefox_driver(
obj,
test_path = tempdir(),
verbose = TRUE,
verbose_driver = FALSE,
port = httpuv::randomPort(),
opts = firefox_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 firefox with. Default: chrome_options(download_path = test_path) |
... |
additional arguments to pass to |
reactor object
Other driver:
chrome_options()
,
chrome_version()
,
firefox_driver()
,
set_chrome_driver()
,
set_timeout()
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.