phantomjs icon indicating copy to clipboard operation
phantomjs copied to clipboard

Increase logging in PhantomJS

Open luisperezphd opened this issue 10 years ago • 3 comments

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.

2.1.1

  1. What steps will reproduce the problem?
  1. Using IWebDriver find element by id (it's an )
  2. Call Click() on that element
  3. Half the time nothing happens
  1. Which operating system are you using?

Windows 8.1 Pro

  1. Did you use binary PhantomJS?

Yes, binary. From NuGet package: https://www.nuget.org/packages/PhantomJS/2.1.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

luisperezphd avatar Apr 26 '16 17:04 luisperezphd

You can pass --debug=yes to enable additional debug messages.

vitallium avatar Apr 26 '16 17:04 vitallium

@luisperezphd I've also updated our command line reference. Sorry for the inconvenience!

vitallium avatar Apr 26 '16 18:04 vitallium

Thank you Vitallium !!!

luisperezphd avatar May 02 '16 16:05 luisperezphd