This is a subclass of Browser
that represents a local browser. It extends
the Browser
class with a processx::process
object, which represents
the browser's system process.
Super class
chromote::Browser
-> Chrome
Methods
Method new()
Create a new Chrome object.
Usage
Chrome$new(path = find_chrome(), args = get_chrome_args())
Arguments
path
Location of chrome installation
args
A character vector of command-line arguments passed when initializing Chrome. Single on-off arguments are passed as single values (e.g.
"--disable-gpu"
), arguments with a value are given with a nested character vector (e.g.c("--force-color-profile", "srgb")
). See here for a list of possible arguments. Defaults toget_chrome_args()
.