Tag: r

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
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
56 votes
12 answers
848 views
How to &apos;grep&apos; a continuous stream?

Is that possible to use grep on a continuous stream? What I mean is sort of a tail -f <file> command, b

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
54 votes
22 answers
3K views
Extract substring in Bash

Given a filename in the form someletters_12345_moreleters.ext, I want to extract the 5 digits and put them int

avatar
Wilber
0 1 0 9
asked 07 September, 2021
62 votes
22 answers
748 views
Use grep --exclude/--include syntax to not grep through certain files

I'm looking for the string foo= in text files in a directory tree. It's on a common Linux machine, I

avatar
Venice
0 1 0 9
asked 07 September, 2021
56 votes
10 answers
2.9K views
How do I pause my shell script for a second before continuing?

I have only found how to wait for user input. However, I only want to pause so that my while true doesn't

avatar
Benton
0 1 0 9
asked 07 September, 2021
54 votes
28 answers
1.7K views
Shell command to tar directory excluding certain files/folders

Is there a simple shell command/script that supports excluding certain files/folders from being archived? I h

avatar
Hilario
0 1 0 9
asked 07 September, 2021
61 votes
14 answers
307 views
How to echo shell commands as they are executed

In a shell script, how do I echo all shell commands called and expand any variable names? For example, given

avatar
Kisha
0 1 0 9
asked 07 September, 2021
64 votes
20 answers
2.6K views
Running shell command and capturing the output

I want to write a function that will execute a shell command and return its output as a string, no matter, is

avatar
Rufus
0 1 0 9
asked 07 September, 2021
63 votes
20 answers
1.5K views
How to call shell commands from Ruby

How do I call shell commands from inside of a Ruby program? How do I then get output from these commands back

avatar
Benton
0 1 0 9
asked 07 September, 2021