Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 09:02
    codecov[bot] commented #5040
  • 07:55
    17thSep opened #6319
  • 06:49
    codecov[bot] commented #5040
  • 06:47
    megos opened #6318
  • Jan 16 01:37
    apragacz synchronize #6002
  • Jan 15 18:26
    jlipps commented #6317
  • Jan 15 18:21
    christian-bromann opened #6317
  • Jan 15 10:17
    christian-bromann synchronize #6302
  • Jan 15 10:17

    christian-bromann on cb-typing-cleanup

    add long as dep to cucumber fra… (compare)

  • Jan 15 08:47
    christian-bromann commented #6018
  • Jan 15 08:21
    JavierLuna commented #6018
  • Jan 15 03:49
    minhe86 commented #5869
  • Jan 15 03:49
    minhe86 commented #5869
  • Jan 14 18:59
    snixer724 commented #6316
  • Jan 14 18:53
    Maxgit3 synchronize #6162
  • Jan 14 18:27
    christian-bromann commented #6316
  • Jan 14 17:46
    Maxgit3 synchronize #6162
  • Jan 14 17:01
    snixer724 edited #6316
  • Jan 14 17:01
    snixer724 edited #6316
  • Jan 14 17:01
    snixer724 edited #6316
Hi everyone,
is there a way to wait until a page is fully loaded in the before each?

i tried to use this

browser.waitUntil(() => browser.execute('return document.readyState') === 'complete');

but this doesn't really wait , i think the main problem i have is that the page is redirected to another page. and there it doesn't wait for it to fully loaded

Hi, I have multiremote session and after test is completed running it is not ending a session. Any ideas here ?
Michael Kopf
Hi, how can I move a slider with wdio? I can't find an appropriate API for that.
after running multiremote tests on saucelabs even tough whole test is completed and closed the browser why would it still say for 90 seconds you didnt recieve any command ?
Olga Smolyar

@Nav-2d I don't think these would work the same way

 $(#elementX #elementY).waitUntilDisplayed()

in the first case, if elementX() is not resolved then I think it will error out saying elementY () is not a function.

@testingqa207_twitter if you are using wdio v6, the signature for beforeScenario has changed as follows; also you will find the feature name in feature.document.feature.name:

beforeScenario: function (uri, feature, scenario, sourceLocation, context) {
        console.log(`   ---------------------------------------------------------------------
          \x1B[1;31mFeature: ${feature.document.feature.name}\x1B[0m
          \x1B[1;35mStart scenario: \x1b[0;33m${scenario.name}\x1B[0m

scenario.name should also work but you can console.log(JSON.stringify(scenario)) to see its structure.

Eric Lee
Hi, I am unable to scroll vertically in landscape mode on Amazon Fire tablet. I see no error messages. Does someone know how to address this issue? More detail can be found here: https://stackoverflow.com/questions/65672661/unable-to-scroll-with-webdriverio-on-amazon-fire-tablet
Hey all, when running wdio with docker selenium I continuously am seeing webdriver: Request timed out! Consider increasing the "connectionRetryTimeout" option.Any thoughts?
Christian Bromann
@snixer724 the WebDriver command doesn’t receive any response and eventually times out
something is up with the the connection between WebdriverIO and your grid
@christian-bromann right. Is there any specific instruction for setting up grid? I have selenium standalone setup at port 4444. The selenium hub docker file should be taking over over port 4444 so that selenium standalone runs on docker instead
and inside the docker file I have a node-chrome of 87 setup

Hi @christian-bromann , I'm still very new to webdriverIO too, I'm not quite sure am I following the steps right accordingly to https://webdriver.io/docs/docs/wdio-intercept-service.html.

Any idea why when I call out request.method , it output as undefined instead of GET?

Welcome any other feedback from the rest of you too, thank you for your time ahead :)

Screenshot 2021-01-14 at 10.17.50 AM.png
Screenshot 2021-01-14 at 10.20.25 AM.png
Screenshot 2021-01-14 at 10.20.33 AM.png
Would this also affect if my webdriverIO version is currently at V6? @christian-bromann (as I noticed on the site it stated that Prerequisites - webdriver.io v5.x.)
Anyone used WinAppDriver with Webdriverio? I understand from the documentation it is supported, any experiences shared will be appreciated.
Hi everone, i tried to use https://github.com/wswebcreation/wdio-native-app-compare, the images are compared and the diff file is generated, but i am not getting the response back. Can some one help me?
The codes below the function call for compare screen are not executed
Is there any specific versions needed for this service to work?
Do we have any example projects having this service integrated?i couldnt find any
Hi! I have a question regarding this change: webdriverio/webdriverio#6275. Does it mean we no longer need to include require('ts-node').register({ files: true }) in the wdio config? And the second question is (it's not quite a WDIO question but I would like to here from WDIO users): what is the difference between require('ts-node').register(), require('ts-node').register({ files: true }) and require('ts-node').register({ transpileOnly: true }) ? I can hardly understand these options from the docs, so I would love to know what configuration is more suitable for WDIO
Thomas Carlsson
Can someone direct me to a real world example of how to perform a very basic test using @axe-core/webdriverio ? I have been unable to find any applicable documentation for this.
3 replies
Himanshu Jain
Hello - I have a question - AfterTest hook give test.passed as undefined when test is passed :/ instead of true - I'm using Mocha.. Any help is appreciated!
7 replies
hi. I've stuck at "npx wdio config -y" running on Mac
Error: something went wrong during setup: null
at runConfig (~path~/node_modules/@wdio/cli/build/commands/config.js:65:15)
at async Object.handler (~path~/node_modules/@wdio/cli/build/commands/config.js:114:9)
at Object.handler (~path~/node_modules/@wdio/cli/build/commands/config.js:117:15)
can i have some advice?
Thomas Chaplin
I'd like to reach out to anyone that has experience with automated E2E tests using feature flags/toggles in a CI/CD pipeline. Looking to discuss this topic at an enterprise level. Please leave a message in this thread if you can help out - much appreciated!
1 reply
Thomas Chaplin
:point_up: using WebdriverIO of course!
what is the underlyying library that enables browser.mock () to work in webdriverio. Is that puppeteer?

what is the underlyying library that enables browser.mock () to work in webdriverio. Is that puppeteer?

I am talking in the context of network logs

Thomas Carlsson
Can the wdio devtools-service still not be used with a selenium grid? Running tests locally on chromedriver works fine - same test returns "browser.cdp is not a function" when the selenium grid is targeted.
Brian Savignano
What is the proper string for the types array in tsconfig for the @wdio/shared-store-service?
Christian Bromann
@th0car with Selenium4 grid coming out it will be possible there too
@17thSep1_twitter yes it is Puppeteer
Orozbek Askarov
Hi everyone, does anybody know how to open allure-report in specific address? or how to get address:[availablePort] of allure-report when you run "allure open" command?
Nemanja Jeremic

I am using SauceLabs and cucumber. Each of my features have one scenario and I want each of my jobs/tests (on SauceLabs) to have the name of a scenario I’m running. What’s the best way to do this?
I tried setting browser.capabilities.name in beforeFeature() but it doesn’t have impact, its value is changed but on SauceLabs, it still displays feature name as job name (which is default).

Can I do it in some before hooks or should I use after hooks to communicate with SauceLabs API in order to set it?

Im new to webdriver and not very experienced with javascript. Can someone help me understand the syntax of the examples ih the api docs? For example:
it('can handle commands synchronously', () => { let value = $('#input').getValue() console.log(value) // outputs: some value })
In this code I don't understand what 'it' is, I've never seen this syntax before.
@funkenpedro 'it' is a test that is a member of a test suite. Is the example using Mocha? If so I'd suggest reading through the Mocha https://mochajs.org/ docs. They're not all that long and helpful.
Screen Shot 2021-01-15 at 5.53.25 PM.png
Screen Shot 2021-01-15 at 5.54.04 PM.png
I've got what I believe to be a pretty basic question that I have been frustratingly hung up on. Right now I am trying to set up an end-to-end testing environment with Appium, WebdriverIO, and Mocha. I have been able to successfully install the app under test and launch a build on a physical device. The issue right now is that I have been unable to locate an element on the screen to click the button.
I'd appreciate some tips, in the android app. The button I am attempting to locate does have android:contentDescription="RUN TEST"
So I do know that I am using the correct accessibility ID
error: 'no such element',
message: 'An element could not be located on the page using the given search parameters.',
stacktrace: 'NoSuchElementError: An element could not be located on the page using the given search parameters.\n' +
' at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11)\n' +
' at runMicrotasks (<anonymous>)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:93:5)\n' +
' at AndroidUiautomator2Driver.findElOrElsWithProcessing (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:33:12)\n' +
' at AndroidUiautomator2Driver.findElement (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:53:10)'
Hi all, i have an issue with jasmine fit and fdescribe, they are not working properly, have 2 spec file in regression and smoke folder any ideas why its happening?
WebdriverIO supports AXE-core Accessibility Testing ?
If so can any one send me link for sample code ?
Hi, I am using webdriverIO and SauceLabs integration: My issue is that the name of the root "describe" is reported to sauce labs and not the names of the "it"s and when the "describe" is fully executed , I get only one link to SauceLabs job. SauceLab team say that this is WDIO integration implementation and suggested that I will write my reporter using the hooks. ("Ouch...."). Is all information I need available via hooks ? Did someone implemented such reporter ?