Tag: selenium

52 votes
1 answers
928 views
How do I prevent errors when clicking an element on the page but element is not clickable?

I am writing a test for an element on the page, but when I use pageObject.click("@MyElement) on the element, s

avatar
Emilia
0 1 0 9
asked 07 September, 2021
61 votes
0 answers
1.3K views
NIghtwatch Upgrade Error from 1.6.4 to 1.7

Issue: I am getting "unable to create session error" after upgrading Nightwatch from 1.6.4 to 1.7. Findings: T

avatar
Percy
0 1 0 9
asked 07 September, 2021
58 votes
1 answers
1.9K views
Nightwatch.js - How to do assertion on new browser tab

I have to test one scenario. User types desired URL to text which is linked with button. When user clicks this

avatar
Clarice
0 1 0 9
asked 07 September, 2021
65 votes
1 answers
1.6K views
Nightwatcher selenium. How to press: CTRL + SHIFT + j

I have tried every combination I came up with with no success. browser.keys( [ browser.Keys.CONTROL, browser.K

avatar
Keith
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
2.4K views
Issue setting up Nightwatch

I have a Django project I am attempting to get nightwatch JS setup on, but I can't seem to get around iss

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
2.7K views
Element not interactible and not visible although it is visible on the website in Nightwatch

I am trying to automate a Login to a website that I use frequently. I know thats not really the purpose of Nig

avatar
Scot
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
2.5K views
How to press CTRL+J (and CTRL+W) keys with Nightwatch.JS

I need to close Chrome download bar with Nightwatch.JS. In order to do so I want to press CONTROL+J and then C

avatar
Wei
0 1 0 9
asked 07 September, 2021
54 votes
0 answers
1.1K views
An error occurred while running .click() command on <input[type="submit"]>: from target frame detached in NightwatchJS

I'm getting this error in Nightwatch when trying to click submit in an iframe this is my code: .perform

avatar
Benton
0 1 0 9
asked 07 September, 2021
58 votes
1 answers
2.1K views
Nightwatch using chromedriver version 83 returns `undefined` global values on script

Hi to all and this is the first time I'm posting at StackOverflow. My nightwatch script with a chromedriv

avatar
Rudolf
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
62 votes
1 answers
2.7K views
safaridriver: unrecognized option &apos;--w3c&apos;

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
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
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
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