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
Tag: webdriver-io
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
How to change selenium-standalone port number via webdriverio wdio file?
I need to change the port number of which selenium standalone server is using by default (4444). Port 4444 is currently in use, is there a way to alter the port number via the wdio file? Currently I’m starting selenium server via the following command: I have also attempting to use the following with no luck: Running the above command
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