Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nightwatchjs]

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites.

1
vote
0answers
23 views

Is there an argument for chromedriver to accept notifications?

I am using Nightwatch to run my chromedriver, and I need to accept notifications through the browser. I have found this list of chromedriver arguments, but I haven't been able to find any that ...
0
votes
0answers
20 views

Nightwatch: Timed out while waiting for element to be present. - expected “found” but got “not found”

Using Nighwatch's POM below is a page function to click a button, page needs to be refreshed and validate if element present. using this.api.refresh() to refresh the page. But waitForElementPresent ...
2
votes
0answers
791 views

Selenium running Firefox instead of IE or Edge

I am trying to get Nightwatchjs tests running with Chrome, Firefox, IE, Edge, and mobile web browsers (iOS, Android, etc). I'm having difficulty getting Selenium to open up a non-Firefox browser. ...
0
votes
1answer
226 views

Element not visible on IE 11with nightwatch

We are using Nightwatch and working with Page objects. The tests are running without any issue on Chrome but element cannot be found on IE 11. We use css selector and custom tags (named data-testid) ...
2
votes
1answer
306 views

Why the Webdriver command window.maximize() doesn't put the window in fullscreen?

I was wondering if anyone know why the WebDriver command: .windowMaximize() doesn't put the window of the browser (Chrome on MAC in my case) in fullscreen? The window is re-sized to fit in only half ...
1
vote
1answer
311 views

Is it possible to run several sessions on Nightwatch for a single test

I'm using the Nigthwatch framework and I was wondering if it's possible to launch several sessions in a single script. So for example, in the same test, it launches two instances of Chromedriver and ...
3
votes
1answer
162 views

Framework for Automation tests

I want to improve the quality process of the application I'm working on as a QA junior, I'm the only one in the team on this position and so I don't have a huge knowledge in terms of automation tests, ...
5
votes
1answer
572 views

Is it possible to match a url with xpath in a nightwatch assertion?

In the nightwatch documentation I can see that there are both the urlContains and urlEquals assertions that can be specified in a nightwatch.js but these do not allow xpath selectors. I have applied ...
5
votes
1answer
2k views

Do I need to run selenium server when using chromedriver?

I'm new to Selenium and Nightwatch and installed selenium-webdriver first, then chromedriver and finally I installed Nightwatch (because the syntax looks nice to me). Now when I want to run a single ...
3
votes
2answers
1k views

Error trying to add chrome extension in nightwatchjs

I am trying to add an extension to my chromedriver for use in my test. According to the nightwatchjs website here, extensions | array of strings | A list of Chrome extensions to install on ...