Closed harbourc closed 4 years ago
The issue was solved by adding the following to the nightwatch.json
file:
"desiredCapabilities": {
"browserName": "chrome",
"marionette": true,
"javascriptEnabled": true,
"acceptSslCerts": true,
"chromeOptions": {
"w3c": false
}
}
Describe the bug
I am writing a simple test to open the Google home page, and enter some text in the 'Search' field. My code to navigate to the URL and
waitForElementPresent()
is working, but when I try to runsetValue()
orkeys()
, I am seeing two different error messages, included below.I have tried the following:
Here is my test.js file:
Sample test
Verbose output from setValue() method:
Verbose output from keys() method:
Configuration
Your Environment
nightwatch --version
npm --version
yarn --version
node --version
| OS | Version | | Windows 10 | 1607 |