Category "webdriver-io"

How to auto update chromedriver in webdriverIO

I have an automation framework developed using webdriverIO. The issue is all test cases start failing whenever chrome updated as chromedriver didn't update auto

How to click on the reCAPTCHA using webdriverio

Hi everyone can you help me with that problem? I'm trying to enter inside the iframe of google reCAPTCHA. Tried several ways to click but didn't work with the i

wdio-video-reporter - ERROR @wdio/runner: Error: Some reporters are still unsynced: Video

I added const video = require('wdio-video-reporter'); to wdio.conf.js I added to wdio.conf.js capabilities: [ { ... "appium:deviceType": "phone"

Calculate DPs using density and screenSize of iOS devices

Problem: Iam trying to calculate DP using the following formula. dp = (width * 160) / density; Iam using this formula since i don't know how can i have the DP

Randomising env for tests in Lambdatest

I'm wondering how can I set up my LambdaTest config so it runs each scenario in a different env. At the moment my setup is Windows - Chrome v88.0 and the config

webdriverio wait for page to load

Is there a way to make webdriverio wait for a page to load? I saw that in java I can have something like: executeScript("return document.readyState").equals("co

How to handle recapcha on webdriverio?

I am having an issue when running multiple tests one after another in webdriverio. When I am running multiple tests (for example a describe that contains multip

Does chai assertion library return true/false on passed/failed step?

I am using webdriverio with chai assertion library for UItesting, while asserting a string i was wondering if I can make chai to return true/false when the asse

Getting Saucelab error "There is no device that matches your criteria."

I am trying to run an Appium test in saucelab real devices. But that is throwing error "There is no device that matches your criteria." All config files with co

How to integrate screenshots in allure report with webdriverIO

I'm trying to generate screenshots in my allure reports after each step in my test or just a single screenshot at the end of the test. I have referred to the we

Using explicit wait with Async mode in WebDriverIO

If I am using the async mode in WebDriver IO, Given the following test case: search the user name input and fill it with the user name 1 it("Explicit Wait Exa

WebdriverIO doesn't spawn a browser in CircleCI job

I am trying to run my E2E tests in CircleCi. Tests work locally. On CircleCi tests are stuck after wdio's call: [0-0] 2021-08-20T11:01:17.873Z INFO webdrive

setValue is not a function webdriver io 7

i'm trying to use the function of webdriver io 7 setValue() but I always received the same result. I post my code. This is the page object Home import Page from

How to config multiple env files to run for multiple user roles in WebDriver IO?

I am using Webdriver IO Framework with Cucumber and Page Object Model. I am able to setup multiple env files and run tests again each environment and it works.

Installing WebDriverIO with Typescrit and Cucumber gives me an error

When I finish configuring the project, the wdio.conf.ts and tsconfig.json files are saved in a folder called tests and the wdio.conf.ts file gives me the follow

Is there a straight forward way to install and configure WebdriverIO with Internet Explorer 11 and Egde support

I went through all the docs and posts about Webdriver IO that I could find and I couldn't find a straight forward way to install and configure WebdriverIO with