-
I am currently testing the whole authentication logic in my project with nightwatch. The last missing piece that I was not able to do so far was the "remember me" functionality. I was looking for some…
-
This line:
client.expect.element('.Class_Name').value.to.contain('Text');
Throws the exception below if the value (in this case an input field) doesn't contain "Text". It works right if the text is…
-
Tried to "extend nightwatch" via these instructions (http://nightwatchjs.org/guide#extending) but cannot. Every time I call my custom command on the browser/client object it throws an error:
`Error wh…
-
Consider the following code:
``` javascript
client.isVisible('.my-class', result => {
if (result.value === true) {/*do something*/}
else {/*do something else*/}
}
```
If the element is visible e…
-
Hi, I have a test that clicks on an element, sends keys (lets say they're 'Hello World') to that element and then moves on. The problem is that many times the test will only submit some of the keys, …
-
I'm evaluating nightwatch, and I found that the setcookie might fail due to some reason. Here's my code:
``` javascript
module.exports = {
'test 1': function(browser) {
browser.url('http:…
Alsan updated
8 years ago
-
I'd like to use Google Chrome with my Selenium tests. I used code from [#285](https://github.com/Shippable/support/issues/285):
```
before_install:
- "curl -o /tmp/chromedriver.zip -L http://chrome…
-
Addition of the `after` method to my assertions causes an error to be thrown.
Code:
``` javascript
var homepage = browser.page.homepage();
var navigation = homepage.section.navigation;
/* *** snip …
-
I seem to be getting an issue while trying to run Nightwatchjs with IE. I am running the basic test found on the nightwatch frontpage (The google one).
The console only gives me the standard:
```
St…
-
You closed my last issue https://github.com/nightwatchjs/nightwatch/issues/913, but i have the same problem with yours recommendation for json file.
> You should set "start_process" to false if you a…