driver_options: Firefox and Chrome Driver Options

Description Usage Arguments Details Value See Also Examples

Description

Arguments and preferences to pass to chrome driver

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
chrome_options(
  cargs = c("--disable-gpu", "--window-size=1280,800"),
  headless = TRUE,
  ...,
  download_path = tempdir()
)

firefox_options(
  cargs = c("--width=1280", "--height=800", "--memory 1024mb"),
  headless = TRUE,
  ...,
  download_path = tempdir()
)

Arguments

cargs

character arguments to pass to driver.

headless

logical, is the driver run in headless state. Default: TRUE

...

additional preferences to add to driver.

download_path

character, Path to save files to. Default: tempdir()

Details

By default the preferences are set to allow for local dowloading to a user defined path.

Value

list

See Also

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

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

Examples

1
2

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