I'm making a test of my Django app using Selenium and PhantomJS. I'm debugging a failure of the test. Is there a way to make the headless PhantomJS suddenly show like a real browser on the screen so I could easily debug the problem?
"Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead" #48.
Key Differences Between Selenium and PhantomJS Being a headless browser, the interactions are much faster than the real browser. So the performance time is smoother in PhantomJS than in Selenium.
Although it's not possible to open browser, you could take screenshots at the failure point. That would help you see why and where your test is failing. http://phantomjs.org/screen-capture.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With