Nightwatch: Upgrade the default browser from PhantomJS, as it is no longer in active development, and causes issues with testing.

Created on 11 Dec 2017  路  5Comments  路  Source: nightwatchjs/nightwatch

First of all, please read this question and the answer (It's not too long).

https://stackoverflow.com/questions/47722907/phantomjs-browser-incorrectly-computing-css-calc-function-in-nightwatch-tests/47724629#47724629

This ticket request is pretty simple. The PhantomJS browser is not in active development anymore, and is lagging behind newer code. An example of this is some of the newer css functions in webkit like calc() as I noted in the ticket above. The answer suggested migrating to Puppeteer, as it is influenced "heavily" by PhantomJS. Is this a realistic request, or do you not see yourself updating this portion of your library in the near future?

All 5 comments

This is a question for the Mailing List or StackOverflow. The GitHub Issues list is meant for submitting bugs and feature requests.

@beatfactor, if you would read that above post you can see that I have already posted on StackOverflow. This is a request to update the default browser used by nightwatch, since PhantomJS is no longer in active development and causes problems with nightwatch testing.

I think you are a bit confused, nightwatch is not using phantomjs anywhere.

@strommj If you see the docs on their website here http://nightwatchjs.org/gettingstarted#settings-file
the first thing you need to do is to define the browser you are using (in the test_settings section). If you choose to use phantomjs, it is your choice. There seems to be no default browser selected here.

Also, I could not find any reference to phantomJS on their website.

My appologies, thanks for the clarification!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

willli666 picture willli666  路  3Comments

MateuszJeziorski picture MateuszJeziorski  路  3Comments

chaseconey picture chaseconey  路  4Comments

t00f picture t00f  路  3Comments

maxgalbu picture maxgalbu  路  3Comments