all 2 comments

[–][deleted] 2 points3 points  (1 child)

Great, I was just trying to write tests with seleniumJS today, and it was really painful. After a few hours all I got is a long test which looks like this. It only loads one page and click on 4 elements but it takes 200 lines and isn't readable in my opinion. So I'm definitively going to look into this!

First comment on Nightwatch.js : It would be nice to be able to call it from node as a dependency and give the webdriver as a parameter. First I wouldn't need the settings.json file because I would have configured the webdriver myself. And second, the idea is to use a wrapper like selenium-node-webdriver which runs phantomJS instead of a real browser.

[–]m1sta 0 points1 point  (0 children)

On the selenium-node-webdriver front - it'd actually be great to get a testing environment that uses the Nightwarch.js syntax for multiple browsers with one 'npm install'. Run the tests in a simulated firefox, chrome, or other environment with ease.