Tag: c

64 votes
0 answers
811 views
ancestors.shift is not a function

I'm trying to get automated tests back up and running and having the following issue when I run a test. T

avatar
Dusty
0 1 0 9
asked 07 September, 2021
63 votes
0 answers
3.1K views
How to set default download directory in selenium Safari Capabilities?

I have being looking around for documentation related to setting Safari capabilities. The browser does not dow

avatar
Corey
0 1 0 9
asked 07 September, 2021
55 votes
2 answers
2.1K views
How to check value of tooltip in nightwatch

I'm writing a test which checks that some text appears when you hover over a link. Currently unable to do

avatar
Virgil
0 1 0 9
asked 07 September, 2021
57 votes
0 answers
2.7K views
How to send a post request using CURL in nightwatch?

I have a use case requirement where i have to send a post request using a curl command before running ANY test

avatar
Denese
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
1.6K views
How to run all testcase of a file from other test file in nightwatch

I am trying to run a testfile which has multiple testcase inside it from another test file. let's say, i

avatar
Keith
0 1 0 9
asked 07 September, 2021
51 votes
1 answers
933 views
How to add nested functions javascript in custom commands for Nightwatch testing- forEach -loop through elements

Hi I am new to javascript and Nightwatch, I am a manual tester who started doing automation about 6 months ago

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
1.9K views
Selecting tabindex in Nightwatch

Im trying to select an specific button in my page, but nightwatch can't seem to find it. If I try to call

avatar
Scot
0 1 0 9
asked 07 September, 2021
61 votes
2 answers
435 views
Click on XPath-selected href link in Nightwatch?

How to click on a href link in Nightwatch? The href text is identical to each other so I can't

avatar
Luis
0 1 0 9
asked 07 September, 2021
62 votes
1 answers
2.7K views
safaridriver: unrecognized option '--w3c'

I'm trying to run a test against safari running on an iPhone in BrowserStack. Using nightwatch test fram

avatar
Royal
0 1 0 9
asked 07 September, 2021
56 votes
1 answers
598 views
Navigate context menu with nightwatch.js?

Im using nightwatchjs and having some difficulties with selecting a text and triggering a right-click and navi

avatar
Jeff
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
2K views
'SyntaxError: Invalid or unexpected token' Appears When Entering 'npm run debug' in Terminal

I am new to Node and am trying to set up Nightwatch so I can run automated tests and practice my testing skill

avatar
Yolando
0 1 0 9
asked 07 September, 2021
56 votes
2 answers
1.2K views
Nightwatch .execute() how to pass parameter to execute function, is it possible?

Please be patient - I am a beginner in programming. Tester for long time but programming is not my domain. My

avatar
Dwain
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
1.9K views
Upgrading the night-watch from 1.3.2 to 1.3.4 breaks the existing test specially in page object

I was using night-watch version 1.3.2. All the tests were working fine till I update the night-watch to its la

avatar
Alba
0 1 0 9
asked 07 September, 2021
60 votes
1 answers
872 views
How to verify the text in a paragraph element in Nightwatch?

I have a text on a page and i have to verify that the text is present. The html for the element is <p class

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
51 votes
0 answers
1.4K views
How can I access the window object in Nightwatch while the test is running?

I am UI testing an application containing OpenLayers. Since OpenLayers is for the most part drawing an SVG, di

avatar
Shantay
0 1 0 9
asked 07 September, 2021
68 votes
7 answers
1.3K views
How to clear field using nightwatch framework?

I'm trying to clear input field using different ways: clearValue() - doesn't work send some combina

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
1.2K views
Running Nightwatch without Selenium Server in a Docker container

I read that: Starting with Nightwatch 1.0, using Selenium Standalone Server is no longer required, no

avatar
Serina
0 1 0 9
asked 07 September, 2021
55 votes
1 answers
794 views
How can I use npm package selenium-standalone with Nightmare.js instead of downloading the selenium jar?

As the title suggests, I want to use Nightmare.js with selenium. However, their documentation only mentions th

avatar
Hilario
0 1 0 9
asked 07 September, 2021
62 votes
3 answers
1.3K views
What is a Selenium wrapper?

Does it wrap around Selenium and provide a simpler or different method of invoking the functionality of Seleni

avatar
Emilia
0 1 0 9
asked 07 September, 2021
56 votes
7 answers
2.9K views
When do we need curly braces around shell variables?

In shell scripts, when do we use {} when expanding variables? For example, I have seen the following: var=10

avatar
Jesenia
0 1 0 9
asked 07 September, 2021