I'm using the below configurations:
Selenium 3.8.0
Java 8
Ubuntu 16.04
I have automated my Application and am running tests in the Chrome browser. I came to know about PhantomJS driver to run tests in headless mode and I'm able to run them using this.
But my questions are:
PhantomJS is taking approximately the same time as Chrome to execute my whole test suite (approx 100 tests in around 40 min). So how it is faster? No doubt in cool feature like run your test without opening browser UI and see the result (compare result in report and also generate screenshots).
How it is performance wise fast as I'm seeing approx same result in GUI and Headless mode?