set_firefox_driver: Attach Firefox Driver to Reactor

Description Usage Arguments Value See Also Examples

View source: R/drivers.R

Description

Attach firefox driver to a reactor object.

Usage

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),
  ...
)

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 firefox with. Default: chrome_options(download_path = test_path)

...

additional arguments to pass to rsDriver

Value

reactor object

See Also

Other driver: chrome_options(), chrome_version(), firefox_driver(), set_chrome_driver(), set_timeout()

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

yonicd/reactor documentation built on Jan. 20, 2021, 4:40 a.m.