Questions tagged [wdio-v4]

23 questions
0
votes
1 answer

unable to setup debugger

Adding the necessary config in my vscode launch.json file by adding breakpoint to my stepdef and debugging the test throws error and doesn't open up the debugger. my launch.js file looks like this { "version": "0.2.0", "configurations": [ …
0
votes
2 answers

How to addStep in @wdio/allure-reporter with wdio mocha

I am not able to add a new step. I need to add a step in my report for a negative scenario. I had referred the documentation https://www.npmjs.com/package/@wdio/allure-reporter. const { addFeature } =…
Bharath Kumar S
  • 1,410
  • 2
  • 10
  • 29
0
votes
2 answers

How do I set test scenarios to run concurrently in Webdriver.io Test Object?

For Saucelabs and local Appium testing, we can set the maxInstances in Webdriver.io to have our tests run concurrently on multiple devices/instances. This does not work for test runs on Test Object. Does anyone know if Test Object runs can be…
Sani
  • 1,283
  • 11
  • 30
0
votes
1 answer

Network based run is getting directed to Local 127.0.0.1

We're running wdio tests using wdio (both for local run & browserstack based devices) When I run browserstack (server run) I am getting following error: [11:41:04] COMMAND POST "/wd/hub/session" [11:41:04] DATA …
user2451016
  • 1,857
  • 3
  • 20
  • 44
0
votes
1 answer

WebdriverIO automation testing when JavaScript is disabled

Is there a way in WebdriverIO framework to launch the browser with JavaScript disabled? I want to automate a scenario with JavaScript being disabled. But, when I manually disable the JavaScript in Chrome, or Firefox and run the WDIO scripts, the…
0
votes
1 answer

Chrome (58v) webdriverio is not running, firefox is running

I was able to run Firefox and Chrome (automation tests locally), yet it worked some time ago. I am getting some error during trying run them on Chrome. My versions: Windows 10 64 bit Chrome version 58 Node 6.10.3 I am getting the following error…
pav
  • 5
  • 7
-1
votes
1 answer

not able to assert element value webdriverIO

I am trying to assert one element value by using the following code: async user_verify_loan_term() { await chaiExpect(element.getAttribute("value")==="3") } The assertion is not working. The expected value should be 30; but the test passes.…
Devesh Joshi
  • 9
  • 1
  • 5
-1
votes
3 answers

Could not load a driver for automationName 'XCUITest' and platformName 'iOS'. Please verify your Appium installation

I'm using appium command by npm as global and I am working in a wdio project with appium as a depedency. package.json ... "appium": "^1.17.1", "wdio-appium-service": "^0.2.3", "wdio-cucumber-framework": "^0.3.1", "webdriverio":…
1
2