Nightwatch hangs when trying to start the selenium server.
Windows 8.1 / [email protected]
Attached are the images (clockwise) of
- Nightwatch.json file
- Terminal window showing the folders and java paths
- Starting the selenium server manually (no issues)
- Nightwatch starting selenium server... (hangs)
Any ideas on how to make nightwatch start selenium server successfully?
Thanks.
Update: Upgraded nightwatch to 0.7.1 Updated nightwatch.json selenium/cli_args contains "-Dwebdriver.chrome.driver" : "C:/tools/chromedriver_win32/chromedriver.exe" "-Dwebdriver.firefox.bin=" : "c:/code/nightwatch/Firefox/firefox.exe"
p.s. Copied Mozilla Firefox folder into nightwatch folder
Results: Nightwatch running chrome works Nightwatch running firefox throws
Upgraded nightwatch to 0.7.1
Firefox is installed at C:\Users\{userName}\AppData\Local\Mozilla Firefox on my machine.
In nightwatch.json, added the following setting to selenium / cli_args
"-Dwebdriver.firefox.bin" : "C:/Users/{userName}/AppData/Local/Mozilla Firefox/firefox.exe"
Nightwatch starts selenium server, firefox and runs tests successfully.
For reference: Cannot find firefox binary