Throws and error if phantom cannot be found, or cannot be started. It works with a timeout of five seconds.
run_phantomjs(debugLevel = c("INFO", "ERROR", "WARN", "DEBUG"),
timeout = 5000)
Phantom.js debug level, possible values: "INFO"
,
"ERROR"
, "WARN"
, "DEBUG"
.
How long to wait (in milliseconds) for the webdriver connection to be established to the phantomjs process.
A list of process
, the callr::process
object, and
port
, the local port where phantom is running.