Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [webdriver.io]

Test automation framework for node.js, using the webdriver protocol. In its most typicaly use case, it is the node.js binding for Selenium.

1
vote
1answer
130 views

webdriverIO typescript execute function doesn't recognise JS execution code

I'm working with webdriverIO on a typescript environment, and I'm trying to use the browser.execute function, but typescript keeps identifying the code that I'm writing within the callback function as ...
0
votes
1answer
189 views

Selenium 2.53.1 now working with latest Firefox versions?

My organization is stuck on Selenium 2.53.1, and we test using compatible Firefox 46.0.1. I recently accidentally ran a test with Windows 10, Selenium 2.53.1 and Firefox 61.0.2, and the test ran fine....
1
vote
1answer
116 views

Webdriverio “And” command is not a function

So I'm using WebdriverIO with cucumber framework but I have encountered myself with the following situation: The feature file comes like this: Scenario Outline: Scenario Given situation A When I ...
1
vote
1answer
66 views

Testing Failure Scenarios with Webdriverio

I may be approaching this the wrong way, but is it possible to mock http call failures (http status of 500) by intercepting a http request for a specific endpoint? I am trying to test a UI flow that ...
0
votes
2answers
2k views

Not able to access iframe with random dynamic ids using Selenium webdriver.io

I am automating the payment page which is having the option to select payment method. On selection of credit card payment option, one iframe is generated from the third party and loaded with dynamic ...