-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions in getting started don't seem to work with default geckodriver #155
Comments
I tried to recreate the issue and I couldn't. Do you have Firefox installed? davidburns in ~/development/nightwatch-bugs/doc-155 λ npm init -y
Wrote to /Users/davidburns/development/nightwatch-bugs/doc-155/package.json:
{
"name": "doc-155",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
davidburns in ~/development/nightwatch-bugs/doc-155 λ npm i nightwatch --s
ave-dev
added 164 packages, and audited 165 packages in 12s
30 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
davidburns in ~/development/nightwatch-bugs/doc-155 λ npm i geckodriver ch
romedriver --save-dev
added 81 packages, and audited 246 packages in 7s
43 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
davidburns in ~/development/nightwatch-bugs/doc-155 λ npx nightwatch node_modules/nightwatch/examples/tests/ecosia.js
No config file found in the current working directory, creating nightwatch.conf.js in the current folder...
[Ecosia.org Demo] Test Suite
────────────────────────────────────────────────────────
ℹ Connected to GeckoDriver on port 4444 (4561ms).
Using: firefox (97.0.2) on MAC (21.3.0).
Running Demo test ecosia.org:
───────────────────────────────────────────────────────────────────────────────────────────────────
✔ Element <body> was visible after 31 milliseconds.
✔ Testing if the page title contains 'Ecosia' (6ms)
✔ Testing if element <input[type=search]> is visible (42ms)
✔ Testing if element <button[type=submit]> is visible (17ms)
✔ Testing if element <.mainline-results> contains text 'Nightwatch.js' (312ms)
OK. 5 assertions passed. (2.276s)
davidburns in ~/development/nightwatch-bugs/doc-155 λ |
Firefox was inadvertently wiped off my system from an IT policy so that was it. Thanks. |
I will add a note to make sure that browsers are installed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On MacOS I followed the steps in the getting started quickstart
To execute my first test I use the example on the page that doesn't specify an environment so it uses geckodriver
When I run this I get the following error
The text was updated successfully, but these errors were encountered: