Browser | R Documentation |
Base class for browsers like Chrome, Chromium, etc. Defines the interface used by various browser implementations. It can represent a local browser process or one running remotely.
The initialize()
method of an implementation should set private$host
and private$port. If the process is local, the initialize()
method
should also set private$process.
is_local()
Is local browser? Returns TRUE if the browser is running locally, FALSE if it's remote.
Browser$is_local()
get_process()
Browser process
Browser$get_process()
is_alive()
Is the process alive?
Browser$is_alive()
get_host()
Browser Host
Browser$get_host()
get_port()
Browser port
Browser$get_port()
close()
Close the browser
Browser$close()
clone()
The objects of this class are cloneable with this method.
Browser$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.