-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
V2 - Error TypeError: Cannot read property 'toLowerCase' of undefined at new Promise (<anonymous>)
when running tests with AWS device farm settings
#2955
Comments
Thanks for reporting the issue, can you please share the verbose log with us, it will help us a lot to understand the problem. |
I've found the problem it's the |
Nightwatch uses Line 432 in 1277601
Using default browser(firefox) in case no browserName is found in capabilities will resolve this issue. |
Some of the details of what capabilities we need to be aware of can be found in the webdriver spec |
Describe the bug
I'm trying to run tests on AWS device farm after upgrading to Nightwatch v2 but getting this error
TypeError: Cannot read property 'toLowerCase' of undefined at new Promise (<anonymous>)
The test is running when adding other configuration (BrowserStack & local chrome webdriver)
Sample test
sampleTest.js
Run with command
Verbose output
debug.log
Configuration
nightwatch.json
Your Environment
nightwatch --version
npm --version
node --version
The text was updated successfully, but these errors were encountered: