Skip to content
Advertisement

Tag: webdriver-io

How to use ID or resource ID contains locator for Android in WebdriverIO

I have a Android Native UI where I have: Find By: id, Selector: 76ggg-unique-ID-o9o Attribute – class: android.view.ViewGroup resource-id: 76ggg-unique-ID-o9o Now I want to create a selector for this element in WebdriverIO where I can use contains unique-ID. I tried following but nothing worked. Any suggestion is appreciated. Answer After doing some debugging I came to know it was taking

Failed launching test session: Error: Couldn’t initialise “@wdio/cucumber-framework”

I am setting up the wdio using command “npm init wdio” and try to run the test files. it is giving below error Failed launching test session: Error: Couldn’t initialise “@wdio/cucumber-framework”. [0-0] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath ‘./lib/formatter/helpers/event_data_collector’ is not defined by Below is my package.json file } Answer I managed to fix this issue by reinstalling node and checking the

Webdriverio using async/await – What is recommended? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago. Improve this question I am running my functional tests using WebdriverIO. I can get the WebdriverIO tests to pass even without async/await. But I

Advertisement