We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

How to call driver in Javascript Webdriverio Appium test

In the Webdriver.io and Appium docs they mention using the driver object to perform tasks (like launching an app) but I don't know where or how to use this object. I tried writing it in the test (as I ...
-1
votes
1answer
23 views

automated retrieval of account creation email

I'm looking to test an account-creation feature of my product. The back-end of my application (which I do not control, so I can't intercept the sending of the email) sends an email to the address of ...
1
vote
1answer
256 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
262 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
159 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
101 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 ...