run_browser(debugLevel = "DEBUG", timeout = 5000)
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.
This function will throw an error if webdriver(phantomjs) cannot be found, or cannot be started. It works with a timeout of five seconds.
If you got the forllwing error, this means that your operating system or antivirus is bloking the webdriver (phantom.js) process, try to disable your antivirus temporarily or adjust your system configuration to allow phantomjs and processx executable (browser_path to know where phantomjs is located). Error in supervisor_start() : processx supervisor was not ready after 5 seconds.
A list of
callr::process object, and
port, the local port where phantom is running.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.