webdriver-io Questions

5

Failed downloading chromedriver v121.0.6167.184: Download failed: server returned code 404. URL: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/121.0.6167.184/win64/chromedriver-win64....

2

Solved

I am using webdriverIO v7 (latest stable version) and cucumber. I get that error: Error: The "from" argument must be of type string. Received undefined This is the stack trace: 2021-04-08...
Palmation asked 8/4, 2021 at 19:12

5

I'm using Webdriver.io to run tests on a large number of pages. Because all the specs for the pages are in a JSON file, I have a special class that sets up the test. It looks like this: module.expo...
Razid asked 26/8, 2020 at 1:6

1

I am helping out on a testing project using WebdriverIO. We are having immense difficulty with TS serrtings, as the TS transpiler seems to correctly resolve TS modules, but the resolution fails dur...
Barbaraanne asked 18/4, 2023 at 9:30

6

Solved

I am using WebdriverIO for test automation. In wdio.conf.js file I have configured the 'baseUrl' property. I want to read the 'baseUrl' property value inside my test .js file. How can I do this? ...
Shakta asked 15/6, 2017 at 15:23

3

Solved

No matter what I try, I am unable to get my React Native (Android) app to scroll down using Appium. I am using UiAutomator2 and WebdriverIO. My code looks like this: scrollUntilDisplayed(element: W...

6

I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/directory/selenium-server-standal...
Alpers asked 16/2, 2018 at 21:15

1

I need to launch a particular .js file for execution, in this way: npx app.js launch.conf.js //for execution of scripts npx app.js debug.conf.js //for debugging the scripts In my debug.conf.js ...
Papa asked 12/6, 2018 at 16:50

4

I want to set up the process of automated testing of mobile applications for Android and iOS platforms (React Native) . For this I use Appium and WebdriverIO. As an example, I am using existing app...

1

Thanks in advance for the help. This question appears to have been asked and answered elsewhere, but I believe I've tried all those solutions and have failed to make real progress. I am trying to c...
Cicely asked 16/6, 2021 at 14:57

1

Before you point it out, yes, I know this seems like a likely duplicate of multiple questions like; JEST: Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout Got...
Aureole asked 26/6, 2018 at 17:1

1

Solved

I'm a new in Appium, I want to create a test to my Android app, Using the inspector in Device Monitor, I found my element resource-id: com.appPackage:id/categoryIconImageView. and I used it like b...
Transducer asked 7/8, 2018 at 19:7

1

I am trying to figure out how to make webdriver.io wait until all ajax requests have finished after clicking a button. Unfortunately the document.readyState is always = 'complete' , and there is n...
Stephaniestephannie asked 29/12, 2017 at 4:40

2

I'm doing this in my page object: try{ I.selectOption(this.SELECT, this.OPTION); } catch(error){ I.say('Option missing, but thats sometimes expected ' + error); } But it still fails the test w...
Derrik asked 3/8, 2017 at 18:56

1

Solved

I am trying to check a SubString exists in an array. In the Test i am asserting using: expect(classList).toContain('Rail__focused') I am getting the following error: Error: expect(received).toCont...
Ludie asked 20/12, 2020 at 13:43

5

Solved

I've just upgraded to the latest version of Chrome 87. My Webdriver.io/Selenium tests used to run fine regardless of if the Chrome window was in the foreground or the background. Now, after upgradi...
Remuneration asked 19/11, 2020 at 18:23

1

I have a number of tests in an E2E suite where a video element is fullscreened and the fullscreen status is verified. However, when running the suite headlessly, these tests fail. Screenshots...

1

Looks like wdio has fibers as a dependency, which uses node-gyp, which apparently won't run on Windows without Python 2.7. Now that I have that installed, I don't get the "missing PYTHON" error, ...
Picked asked 17/3, 2017 at 16:14

6

Solved

I am trying to run webdriverio test from jenkins and following this . I installed nodeJS plugin for jenkins and under global tool config, for NodeJS , added a name and installation directory as /us...
Tonettetoney asked 8/11, 2016 at 20:21

2

In visual studio cod, How to navigate from feature to step definition. Do we need any additional plugins or any configuration needs to be added. I have downloaded the Cucumber (Gherkin) Full Suppor...
Scholarship asked 26/3, 2019 at 18:26

2

I'm trying to set up a basic automated test in the browser against a react app, using webdriver and Jasmine. I'm using page object models to describe my app under test, like so: Example page objec...

2

I looking for a way to inherit from WebElement object that webdriverio returns, without monkey-patching and with TS types support (autocompletion is a must). Is there a way to do something like thi...

1

I have the following structure: project |- types |- global.d.ts |- string.d.ts |- wdio.d.ts |- src |- Models |- Resources |- Components |- Extensions |- string.ts |- ... |- tsconfig.js...
Implacable asked 7/10, 2019 at 8:33

4

Solved

I need chrome to run with disable-web-security flag for my UI tests. How can I inject any commands using wdio.config file (http://webdriver.io/). capabilities: [{ browserName: 'chrome' }]

2

Solved

I'm currently trying to use Browsermob with WebdriverIO and I found this code on another answer, but when I run it, the firefox browser comes up and I see activity in the console windows I have sel...
Mahogany asked 3/5, 2016 at 17:0

© 2022 - 2024 — McMap. All rights reserved.