Nightwatch: Is this only for headless automation testing?

Created on 3 Feb 2014  路  2Comments  路  Source: nightwatchjs/nightwatch

Is there any way that I can run this test opening the browsers (chrome,safari,firefox,IE) and then run the test scripts. and if there is a way, can you please post in the website a tutorial on how to use it? Thanks!

question

Most helpful comment

Hi, I want to run nightwatch tests on a linux server. How do I go about doing so?

All 2 comments

I don't think you can say it is headless automation, since a real browser it's being used, namely Firefox. Currently other browsers aren't supported but Chrome support is on its way (see https://github.com/beatfactor/nightwatch/issues/10).

There may be a way in Selenium to reuse the browser sessions but this option is not available through the framework. You can view all the selenium server command line arguments by running (replace {VERSION} with the current version number):

java -jar ./bin/selenium-server-standalone-{VERSION}.jar -help

There is an options called -browserSessionReuse so maybe that will work, but I haven't tried it myself. I will look into implementing this option in the framework as well and of course add documentation on the website.

Hi, I want to run nightwatch tests on a linux server. How do I go about doing so?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielbentov picture danielbentov  路  4Comments

dakebl picture dakebl  路  4Comments

sgleonardoopitz picture sgleonardoopitz  路  3Comments

lgaticaq picture lgaticaq  路  3Comments

betweenbrain picture betweenbrain  路  4Comments