Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

In part of my Nightwatch.js command script (getImageDetails.js) I have the following code: exports.command = async function() { const specsAltText = await this.element('.specs-search-results__head-...
Darren Harley's user avatar
0 votes
0 answers
11 views

Aim Using nightwatchjs version 3.4.1 Find the href of a number of elements with the same div Get a css property of these elements If the href from step 1 contains a # then the css property will a one ...
Darren Harley's user avatar
0 votes
0 answers
134 views

I'm running some Nightwatch tests, on a headless browser, running in Docker, on Bitbucket, using the latest Chrome and Chromedriver (v138). "devDependencies": { "@percy/cli&...
Neil's user avatar
  • 12.1k
3 votes
1 answer
106k views

Nightwatch with Cucumber. I want to check if the elements listed in an Excel sheet are present on the webpage. To do this, a sequential promise(using reduce) is written to ensure that the page loads ...
Y5288's user avatar
  • 313
0 votes
1 answer
87 views

I'm using NightWatch.js to build e2e tests. One of my tests requires to grant the Chrome browser's microphone permission. When I run this test, I get a permission notification from the Chrome browser ...
Temunel's user avatar
  • 834
1 vote
0 answers
84 views

I'm trying to test a site on https://localhost with a self-signed certificate. I keep getting the "Your connection is not private" with the Advanced and Back to safety buttons followed by ...
CJe's user avatar
  • 1,992
0 votes
1 answer
70 views

This is the last I've tried, but the problem is that once the popup is on the screen, I can't use the Console to get any of the selectors, I only see the html and body tags. PLEASE HELP! module....
Automaxion's user avatar
0 votes
0 answers
29 views

I have a project web.testing.dependent, which refers to the page object models from web.testing.referenced project. web.testing.referenced project has been packaged and published to the local registry ...
jrao's user avatar
  • 47
0 votes
0 answers
16 views

I've installed Angular with ng new with all defaults, and then used ng e2e to scaffold NightwatchJS with all defaults. The tests run just fine now, but the output is unreadable on my Windows shells ...
Jeroen's user avatar
  • 64.4k
0 votes
0 answers
69 views

whenever I enter more than >140 it is text getting red color. I want to verify text color getting is red or not. My HTML element like this <input placeholder="Systolic" type="...
dev's user avatar
  • 1
0 votes
0 answers
16 views

I'm using nightwatchjs (version 1.7x) to run my tests. One of my tests is to test that an attribute contains one of a possible 2 values. In the html below; <iframe id="google_ads_iframe_/...
Darren Harley's user avatar
0 votes
1 answer
71 views

I'm testing a website with Nightwatch and trying to get a collection of elements using the .elements() method. I have the following code: client.elements('css selector', 'p[class="f5 color-fg-...
Ilya's user avatar
  • 5
1 vote
0 answers
486 views

hi try to launch my test with webdriver.io and interceptor service, this is my package.json package.json "name": "my-new-project", "type": "module", "...
Luca Bottoni's user avatar
1 vote
0 answers
363 views

I am trying to run Nightwatch.js tests via Jenkins and I am getting this specific error: Error: spawn chromedriver_win32/chromedriver.exe EACCES This is my current Nightwatch.conf.js configuration: ...
King Reinhardt IV's user avatar
0 votes
1 answer
153 views

When run the this code got below error- Invalid testing path
Ashutosh Shukla's user avatar
0 votes
1 answer
339 views

Under the nightwatch.conf.js I have. "screenshots": { "enabled": true, 'on_failure': true, 'on_errors': true, 'path': 'tests_output/...
Dhruv Bhatnagar's user avatar
1 vote
0 answers
36 views

My team is planning to migrate all the nightwatch.js code to webdriver.io. Can someone please help me with the process.
Sumit Srivastava's user avatar
0 votes
1 answer
72 views

I'm currently using nightwatchjs to create my test scripts and have hit a stumbling block. What I need to do it 'extract' a certain part of an element attribute, in order to use this value later on in ...
Darren Harley's user avatar
0 votes
0 answers
90 views

I have a wait command via API with opened browser and browser closed before condition is set true. How to increase timeout If no new command reaches and what is it name it? e.g. before(){ loginPage....
Victoria Nesteruk's user avatar
-3 votes
1 answer
168 views

I'm using nightwatch.js to test website, When running the google.js test which comes with Nightwatch I get the error back "Connection Refused is Selenium Server started?" and, well, it is. I ...
Watson Liou's user avatar
1 vote
1 answer
277 views

I am running my whole system using docker-compose and I am trying to execute my end-to-end tests (written with Nightwatch) using a selenium/chrome service that is in the same network. My frontend is ...
Alex Popov's user avatar
0 votes
1 answer
350 views

I'm working with a team that has a project in Nightwatch.js. They are defining commands for almost everything: Datetime functions as commands (return current day, array of days in a period, etc.) SQL ...
Juan Araya's user avatar
0 votes
1 answer
143 views

I need to gather an array of checkbox ids that sit inside an OL and then use that array of ids later to choose one at random, the problem i have is that because everything runs in the callbacks ...
noname's user avatar
  • 175
1 vote
0 answers
107 views

I am attempting to write a function that can acquire the text value of a nextSibling node underneath a label bracket. I need to be able to put that text into a global variable that I can reference ...
QDaemon's user avatar
  • 23
1 vote
1 answer
725 views

I am having an issue running nightwatch on a docker container using chrome, nightwatch seems to be completely ignoring the fact that i have told it to use --no-sandbox and --headless My config for ...
noname's user avatar
  • 175

1
2 3 4 5
30