Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chrome

Start chrome driver


Description

Start chrome driver

Usage

chrome(
  port = 4567L,
  version = "latest",
  path = "wd/hub",
  check = TRUE,
  verbose = TRUE,
  retcommand = FALSE,
  ...
)

Arguments

port

Port to run on

version

what version of chromedriver to run. Default = "latest" which runs the most recent version. To see other version currently sourced run binman::list_versions("chromedriver")

path

base URL path prefix for commands, e.g. wd/hub

check

If TRUE check the versions of chromedriver available. If new versions are available they will be downloaded.

verbose

If TRUE, include status messages (if any)

retcommand

If TRUE return only the command that would be passed to process

...

pass additional options to the driver

Value

Returns a list with named elements process, output, error, stop, and log. process is the object from calling process. output and error are the functions reading the latest messages from "stdout" and "stderr" since the last call whereas log is the function that reads all messages. Lastly, stop call the kill method in process to the kill the process.

Examples

## Not run: 
cDrv <- chrome()
cDrv$output()
cDrv$stop()

## End(Not run)

wdman

'Webdriver'/'Selenium' Binary Manager

v0.2.5
MIT + file LICENSE
Authors
John Harrison [aut] (original author), Ju Yeong Kim [cre] (rOpenSci maintainer)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.