Add Command Line Interface (CLI) Args on PhantomJS
To add a command-line interface (CLI) and command-line arguments (args) to PhantomJS when using Selenium WebDriver in Node.js, you can modify your existing code as follows. I’ll provide you with a step-by-step guide and also explain the changes made:
|
|
Here are the changes made to your original code: