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.
chromote::Browser
-> Chrome
new()
Create a new Chrome object.
Chrome$new(path = find_chrome(), args = get_chrome_args())
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 to get_chrome_args()
.
A new Chrome
object.
get_path()
Browser application path
Chrome$get_path()
clone()
The objects of this class are cloneable with this method.
Chrome$clone(deep = FALSE)
deep
Whether to make a deep clone.
get_chrome_args()