Category "webdriver-io"

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