I need my webdriver tests use a specified chromedriver in a directory. The problem is that when I run the tests it always uses a different chromedriver exe that was set as a default. Command: "...
Hi _ if anyone can help here- I am trying to run a specific scenario by using Cucumber tags- this is the expression i am using to run the tests built with Webdriver- Cucumber framework- npx wdio ru...
install the @wdio/appium-service package, and appium should run automatically or start the appium server yourself, either from the terminal with appium -a 127.0.0.1 -p 4723 or launch the appium desktop app
I am using WebdriverIO. I start my tests from the command line using 'npm test', which triggers the command: wdio wdio.conf.js as specified in my package.json here: "scripts": { "
i am a new learner, tried the Webdriverio tutorial from youtube, but it's not working the issue with configuration or setup, not able to understand, Wrote a Simple program of launching a browser Tr...
npx wdio run wdio.conf.js --cucumberOpts.tagExpression='@sanity and @stage' When I use the above, nothing happens - i have defined the tag - '@Tag' at the feature level- so am expecting that all the scenarios within the feature file will get executed, however when i run the above command- nothing happens. Can someone please help?
I am running my initial project setup for Webdriver.io, I was able to run tests earlier but now getting errors which are related to geckodrivers or capabilities I am not understanding. I have tried
1 I have a WDIO project that has many tests. Some tests need to be run consecutively while other tests can run in parallel. I cannot run all tests in parallel because the tests that need to be run consecutively will fail, and I cannot run all tests consecutively because it would take far too long for the execution to finish.
Remove the @wdio/selenium-standalone-service dependency from package.json and selenium-standalone service in wdio.conf With WebdriverIO v8.14 and above there is no need to manually download and setup any browser drivers anymore as this is handled by WebdriverIO.
1 I want to interact with localStorage in browsers (Edge, Chrome) when testing by WDIO. For example, if I setItem into localStorage: In CYPRESS: window.localStorage.setItem(key, value) In WDIO: browser.setLocalStorage(key, value) However, when I read document of WDIO, the command is deprecated and WDIO suggests using execute command instead.