Increase logging in PhantomJS
- Which version of PhantomJS are you using? Tip: run
phantomjs --version.
2.1.1
- What steps will reproduce the problem?
- Using IWebDriver find element by id (it's an )
- Call Click() on that element
- Half the time nothing happens
- Which operating system are you using?
Windows 8.1 Pro
- Did you use binary PhantomJS?
Yes, binary. From NuGet package: https://www.nuget.org/packages/PhantomJS/2.1.1
- Additional information
How do I increase the logging from PhantomJS to get more detail into what's going on?
Most of the Selenium scripts work fine. One particular link when it's clicked on works sometimes and sometimes now. I'm trying to get a better sense of what's happening behind the scenes.
I couldn't find any command line options that would increase the amount of logging.
Thanks in advance for any help
You can pass --debug=yes to enable additional debug messages.
@luisperezphd I've also updated our command line reference. Sorry for the inconvenience!
Thank you Vitallium !!!