Reputation: 663
Nightwatch hangs when trying to start the selenium server.
Windows 8.1 / [email protected]
Attached are the images (clockwise) of
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
Upvotes: 0
Views: 958
Reputation: 663
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
Upvotes: 1