Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:26
    praveendvd commented #8352
  • 17:26
    praveendvd commented #8352
  • 17:14
    praveendvd commented #8156
  • 17:13
    praveendvd commented #8156
  • 17:13
    praveendvd synchronize #8156
  • 17:12
    praveendvd commented #8356
  • May 20 18:31
    artsenius commented #6812
  • May 20 16:22
    grant-mccarriagher opened #8358
  • May 20 16:22
    grant-mccarriagher labeled #8358
  • May 20 16:22
    grant-mccarriagher labeled #8358
  • May 20 14:13
    hammzj commented #8348
  • May 20 11:05

    christian-bromann on v8

    fix eslint issues (compare)

  • May 20 10:12

    christian-bromann on v8

    fix outstanding typing issues (compare)

  • May 20 10:03

    christian-bromann on v8

    fix outstanding typing issues (compare)

  • May 20 09:41

    christian-bromann on v8

    rewrite @wdio/webdriver-mock-se… (compare)

  • May 20 09:38

    christian-bromann on v8

    rewrite @wdiotestingbot-service… (compare)

  • May 20 09:26

    christian-bromann on v8

    good by fibers and @wdio/sync 👋 (compare)

  • May 20 09:11

    christian-bromann on v8

    Rewrite @wdio/sumologic-reporte… (compare)

  • May 20 09:04

    christian-bromann on v8

    rewrite @wdio/spec-reporter to … Rewrite @wdio/static-server to … (compare)

  • May 20 08:42

    christian-bromann on v8

    rewrite smoke reporter and serv… (compare)

jhalt9
@jhalt9:matrix.org
[m]
I've had this question for a few months, but haven't had much luck getting an answer. Is it possible to run headless tests in dark mode? Headless appears to be ignoring the dark mode flag.
++
Christian Bromann
@christian-bromann
I don’t think many people know an answer to this, maybe folks working on Chrome
jhalt9
@jhalt9:matrix.org
[m]
No problem. I'll try to contact Chrome. Thank you for the prompt response.
rameshkumarj
@rameshkumarj
Hi .. please let me know if it is possible to compare a failed test screenshot with a set of images .. I am trying to identify false failures and rerun those alone
robomanus
@robomanus

Hi all, was searching through the history, and no answer.
Could someone please tell me how correctly to addCommands in TS? I have added them via 'before' hook, but the compiler is warning always with 'Property 'otherFunction' does not exist on type 'Browser'.'

Thanks

9 replies
rameshkumarj
@rameshkumarj
Hi .. any suggestions on how we can access the values that are passed via CLI .. I am passing the suites value via CLI and would like to split the feature only for that suite
3 replies
shoaibAutomationEngineer
@shoaibAutomationEngineer
Hi Team, does anyone have an idea how to implement shake gesture in android real device using webdriverio ?
OwenStafford
@OwenStafford
Hello
im here to ask question
and hopefully someone is online lol
image.png
Running a simple react webdriver program to log me into Instagram... code is as followed (very simplified because nothing was working)
4C9Bm.png
if anyone has suggestions on how to understand the fundamentals a bit more (since that's obviously an issue) please do share :)
Christian Bromann
@christian-bromann
don’t chain react$ seems to be not working
OwenStafford
@OwenStafford
when i post it to a variable and .react$ that it gets similar/same results
Christian Bromann
@christian-bromann
have you debugged that variable?
shoaibAutomationEngineer
@shoaibAutomationEngineer
Hi Team, does anyone have an idea how to implement shake gesture in android real device using webdriverio ?
Currently the shake method is only available for IOS in webdriverio
rameshkumarj
@rameshkumarj
Hi .. I am using wdio-cucumber-parallel-execution to split my feature file in runtime.. and the split features are passed using config.specs in the onPrepare().. all works fine .. except the number of worker are displayed as 0 ..
2 replies

Execution of 0 workers started at 2022-05-19T08:29:25.970Z

[0-1] RUNNING in chrome - C:\Users*\Documents\ukbd-ui-test-contract-account-wdio\Features\CAIndividual\tmp\Account_02.feature
[0-0] RUNNING in chrome - C:\Users*
\Documents\ukbd-ui-test-contract-account-wdio\Features\CAIndividual\tmp\Account_01.feature
[0-0] PASSED in chrome - C:\Users*\Documents\ukbd-ui-test-contract-account-wdio\Features\CAIndividual\tmp\Account_01.feature
[0-1] PASSED in chrome - C:\Users*
\Documents\ukbd-ui-test-contract-account-wdio\Features\CAIndividual\tmp\Account_02.feature

Lay Mui
@LayMui
in wdio.conf.ts, this step to attach screenshot to cucumber report didn't work
5 replies
shoaibAutomationEngineer
@shoaibAutomationEngineer
Hi Team, does anyone have an idea how to implement shake gesture in android real device using webdriverio ?
Currently the shake method is only available for IOS in webdriverio
Christian Bromann
@christian-bromann
@shoaibAutomationEngineer might be a good idea to ask the Appium team ;-)
1 reply
vdrulerz
@vdrulerz
Anyone using WebdriverIO to automate openfin (https://www.openfin.co/) applications ?? ....if you are then please revert to me...I am facing some challenges in the launching part
Christian Bromann
@christian-bromann
vdrulerz
@vdrulerz
Tried that but its not creating the session ever since it was updated with 100 chromedriver version, also raised issue with this service that move it to webriverio-community
Jorge Luis Galarraga
@jorgeluisgalarraga_gitlab
Hello @christian-bromann I haven't managed to have addCommand() working. I add it on in the before: function() but when I try to call the custom method on my specs is not working
3 replies
Thiago Morais
@Thi_ms_twitter
image.png
Hello,
how to validate the message "Please fill out this field" of the required fields?
I thought in use the getProperty to get the validationMessage property that has this message, but same if don't click on the submit button the test will pass because the property is always there, so Does someone know to validate if this message is displayed?
6 replies
jhalt9
@jhalt9:matrix.org
[m]
Is there a way to test screen sharing or video sharing on wdio? I was able to test file transfer by just downloading the file and reading the contents with my script. If there's a concrete way or npm package that does video and screen sharing in a similar way, that would be great!
jhalt9
@jhalt9:matrix.org
[m]

:point_up: Edit: Is there a way to test screen sharing or video sharing on wdio? I was able to test file transfer by just downloading the file and reading the contents with my script. If there's a concrete way or npm package that does video and screen sharing in a similar way, that would be great!

IE: (Fake media package for screen, video, voice, etc.)

1 reply
Grant McCarriagher
@grant-mccarriagher
so i'm doing a simple POC for wdio + chrome via devtools, and i'm noticing that doing a browser.saveScreenshot() seems to affect the browser's rendering of elements. like stuff bounces around, and some weirdness happens with some elements that rely on hovers for animations to appear, etc. it's actually breaking the tests for me, anybody else experience this?
3 replies
Lay Mui
@LayMui
has anyone use wdio-cucumberjs-json-reporter to capture screenshot in the report? how should I configure it?
rameshkumarj
@rameshkumarj
Hi .. I am getting this weird error .. .Conflicting version of Stack chain found .. node_modules/cucumber/node_modules/stack-chain/index.js:10:11 .. any suggestions on how to resolve this ?
2 replies
Jungwoo Suh
@jusuh
does anyone know what adjustments to devtools config i need to do so that it works with selenium grid 4? I saw this webdriverio/webdriverio#6508 and they discuss that se:option cdp will now return the hub's ip address in the cdp url, but I'm still not sure what else needs to be done for this to work. I also saw some thread about NODE_EXTRA_CA_CERTS but I'm not sure if that is needed.
Evan Giordanella
@ergbouncex
Hey, does anyone have an example of parameterized tests with mocha and webdriverio now that sync is deprecated?
Bruno Alassia
@vrunoa
I noticed webdriverio when trying to set focus send an extra command to interact with the element by setting a text value to “”. Can I understand a bit more of context on the reason behind it?
i.e. some element that we try to set focus show element not interactable cause they arent inputs
showing error in commands
trying to understand a bit more about focus interaction in webdriverio, as other bindings like python I dont think they take this approach
Manish Patel
@manishqa007
image.png
Can someone help me how to accept the above alert
Manish Patel
@manishqa007
'goog:chromeOptions': {
args: [
'disable-infobars',
'disable-popup-blocking',
'disable-notifications'
],
prefs: {
'profile.default_content_settings.popups' : 2,
'profile.default_content_settings.notifications' : 2,
}
// args: ['--disable-notifications'],
},
I tried this but its not working for me
Grant McCarriagher
@grant-mccarriagher
anybody ever run into issues with moveTo() in docker specifically? element gets hovered fine locally, but doesn't (seem to) in docker. same versions of node, chrome, chromedriver. same options (resolution, headless, etc). only difference is docker (and OS. the container is debian, local is macOS). info level logs look the same around the moveTo() command...but the button that's supposed to appear on hover just doesn't appear. i'm somewhat at a loss.
the_pigeon_is_eating
@the_pigeon_is_eating:bedefaced.space
[m]
Hi everyone! I have an issue. I don't understand why but when my Expect doesn't match with an actual result it's awaiting for an element instead of to throw an error. But when I get a correct object it shows that everything is fine. I don't understand why
describe('Autorization in admin panel', () => {
    beforeEach(async () => {
        await adminLogin.load();
    });

    it.only('should not let you in admin panel without email and password', async () => {

        await adminLogin.login(email= "", password = "");
        await expect(adminLogin.$errorMessage).toHaveText('Wrong password or login')
    });
1 reply
Pavan Shirg
@pavanshirguppi
hi everyone. Why can't webdriverio locate just a few elements down in the viewport? I have reloaded each test case (describe-it test case) to discover the initial elements. scrollIntoView doesn't seem to work either because when it can't find the element, it can't scroll to the element.
image.png