Tag: c

64 votes
0 answers
1.8K views
nightwatchjs saveScreenshot giving TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView

I am working on an automation prototype using Nightwatch js and when I am trying to save screenshot, it is giv

avatar
Winford
0 1 0 9
asked 07 September, 2021
56 votes
0 answers
660 views
.keys() is misbehaving (i.e. not working) in nightwatch

So currently I have a test that logs into gmail (terrible idea but required) and searches the gmail inbox for

avatar
Sydney
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
67 votes
1 answers
1.8K views
Is there a way to check for ellipsis on text using nightwatch?

Is there a way to check for ellipsis on text or text that has been truncated using nightwatch. I tried to use

avatar
Hallie
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
51 votes
1 answers
3.1K views
Nightwatch.js how to ignore main page? Or how to use window.location.host?

I'm a big noob in nightwatch.js but i have to decide this task. Please help me... I have a simple autotes

avatar
Cortez
0 1 0 9
asked 07 September, 2021
57 votes
2 answers
2.3K views
How .elements() works in nightwatch?

Considering I have multiple trs I want to pick one and edit value in it by clicking edit button bounded to it.

avatar
Trudy
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
56 votes
0 answers
2.4K views
Nightwatch FireFox60 and geckodriver MoveTo fails with unknown command

I am a new user to Nightwatch and am trying to convert a large number of tests to use the latest version of Ni

avatar
Emilia
0 1 0 9
asked 07 September, 2021
61 votes
0 answers
1.1K views
Nightwatch: wait for new email from gmail

I am needing to use Nightwatch to wait until a new email is received from Gmail containing a temporary passwor

avatar
Benton
0 1 0 9
asked 07 September, 2021
55 votes
0 answers
2.5K views
Cannot Run Nightwatch Tests in Safari

I have followed all instructions in the Nightwatch docs and followed many issues in github. I believe I have t

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
2.2K views
Making a custom group of defined chaining methods in js

The question is related to general js programming, but I'll use nightwatch.js as an example to elaborate

avatar
Robt
0 1 0 9
asked 07 September, 2021
60 votes
0 answers
1.4K views
getting Cannot find module 'nightwatch/lib/runner/run'

nightwatch.conf.js require('nightwatch-cucumber')({ cucumberArgs: ['--require', 'ste

avatar
Margo
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
64 votes
1 answers
1.6K views
Nightwatch - Cannot click on elements in Safari (Catalina)

Nightwatch: 1.3.4 Safari: 13.0 OS X: 10.15.3 I'm trying to set up my tests for Safari using Nightwatch.js

avatar
Solomon
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
53 votes
1 answers
2.7K views
nightwatch :session not created: This version of ChromeDriver only supports Chrome version 81

Anyone know how to fix this error on the terminal when you run a test in nightwatch. My Chrome version is the

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