Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 30 23:48
    ablok commented #5842
  • Sep 30 23:46
    ablok opened #5909
  • Sep 30 23:00
    IevgenRagulin commented #5409
  • Sep 30 22:58
    IevgenRagulin opened #5908
  • Sep 30 22:47
    IevgenRagulin commented #5409
  • Sep 30 22:13

    christian-bromann on cb-repl-for-web

    (compare)

  • Sep 30 22:13
    christian-bromann closed #5140
  • Sep 30 22:13
    christian-bromann commented #5140
  • Sep 30 22:11
    christian-bromann commented #5763
  • Sep 30 22:10
    christian-bromann closed #5807
  • Sep 30 22:10
    christian-bromann commented #5807
  • Sep 30 22:09
    christian-bromann closed #5907
  • Sep 30 22:09
    christian-bromann commented #5907
  • Sep 30 22:08
    christian-bromann commented #5842
  • Sep 30 22:07
    FelixZilber commented #5907
  • Sep 30 22:04
    christian-bromann labeled #5853
  • Sep 30 22:04
    christian-bromann unlabeled #5853
  • Sep 30 22:03
    christian-bromann commented #5853
  • Sep 30 22:01
    christian-bromann labeled #5840
  • Sep 30 22:01
    christian-bromann review_requested #5840
Jayshreekant Shreevastava
@jayshreekant
@christian-bromann how to scroll vertically in appium for ios and android.
GYANENDRA PANDEY
@gyanendrapmca

setValue | keys command?

It's not working, due to keyboard enabled here- i faced same issue in appium/java also and resolve using this- driver.getKeyboard().sendKeys("jschwartz"); But, i didn't found anything here, how to handle this thing.

??

Daljit Singh
@daljit08_gitlab
@jayshreekant There is nothing above that line. what configuration error it was showing in appium 1.15.1 but with 1.17.1 its showing common error for all the error whether configuration or connection problem or missing .apk file etc.
GYANENDRA PANDEY
@gyanendrapmca
browser.keys - throwing error - URL '/session/379ca633-968e-45b5-bdfc-758233a09117/actions' did not map to a valid resource and close the application, someone please help regarding this, how to resolve this one?
Olga
@osmolyar
@Verdier , do you have a browser.reload() in any hooks?
@arkhangelsk , given the error with /executeHooksWithArgs, do you have any hooks being called with arguments?
Olga
@osmolyar
@YmerejRedienhcs I would suggest putting the screenshot logic in an afterStep hook, not afterTest, since by the time afterTest runs some other things may have happened (e.g., a reload)
@HardKode are you using a different loglevel setting between the two variations?
GYANENDRA PANDEY
@gyanendrapmca

browser.keys - throwing error - URL '/session/379ca633-968e-45b5-bdfc-758233a09117/actions' did not map to a valid resource and close the application, someone please help regarding this, how to resolve this one?

??

chirag-farfetch
@chirag-farfetch
Hello, does anyone know how can i use this locator? do i need to put any question around /n?
'~Environment\ntest'
Daljit Singh
@daljit08_gitlab

Hello, does anyone know how can i use this locator? do i need to put any question around /n?

if you are using Accessibility id, then i think its not required. if its "Environment test"

chirag-farfetch
@chirag-farfetch
@daljit08_gitlab no it cannot find still
Daljit Singh
@daljit08_gitlab
//UIAButton[@contains(@name, 'Environment test')]
@chirag-farfetch
Valter
@valterex
hey everyone, i'm running node v13.1.0 and getting a tedious error after running npx wdio config -y, looks like fibers is an issue but i have no clue whats up
chirag-farfetch
@chirag-farfetch
@daljit08_gitlab no not valid
Olga
@osmolyar
@valterex not sure but maybe node v13 is not actually supported, (even though it says 'v12.16.1 or higher). Actually looking back @savkaoleg reported the same errir with node 13.1.0. npx wdio config -y does work with node 12.9.0
Baha
@hijazi
I've been trying so hard to simulate a swipe on a slide page but I couldn't on the pwa I'm working on
Olga
@osmolyar
@savkaoleg ,it looks like the above issue mentioned by @valterex is another instance of v13.1.0 resulting in the issue with _FIBERS
Baha
@hijazi
the following code works on another project inside a browser.execute:
document.querySelector('html').scroll(0,1000);
but it's not working on the current project. please help
in v4 there seems to have been a browser.swipe but it's not available anymore and the gesture actions are only available for Appium but I'm testing on laptop chrome
Dmytro Basiuk
@dmytro.basiuk_gitlab
does someone know, can we check somehow during the test running, whether chrome is in headless mode or not? I want to execute some code block if running in headless, and execute another block - if not headless
Scott Mac Donald
@Corinos
Hey folks. When it comes to using selectors in my WDIO tests, I've been testing them in the console of my browser first to see if they work (firefox). Is that a valid way of confirming you have the right selector? Are there scenarios where something might work in the browser but not in the test?
Ben Siggery
@siggerzz
Is it possible to get ES6 import syntax working in wdio.conf.js?
Christian Bromann
@christian-bromann
@dmytro.basiuk_gitlab you can check by looking into the capabilities
Dmytro Basiuk
@dmytro.basiuk_gitlab

@dmytro.basiuk_gitlab you can check by looking into the capabilities

I need autocheck by test during its running

Ben Siggery
@siggerzz
@Corinos I've always taken the approach of doing Ctrl + F in the devtools inspect tab and doing a search for the selector. Never failed me :)
Christian Bromann
@christian-bromann
@dmytro.basiuk_gitlab you can access the capabilities during the test: https://webdriver.io/docs/browserobject.html
Dmytro Basiuk
@dmytro.basiuk_gitlab
like, for example node.js, can check current os while test is running

@dmytro.basiuk_gitlab you can access the capabilities during the test: https://webdriver.io/docs/browserobject.html

ha, in this way: console.log(browser.config.fakeUser) ? nice. so, it will be something like console.log(browser.config.capabilities.goog:chromeOptions.args) ?

Scott Mac Donald
@Corinos
@siggerzz What I mean is, I'll throw the exact selector I want to use in my test directly in the console, like $$('[multiClass = "ABunchOfThingsUseThisClass"]')[2] It seems to work fine in the console, but I'm getting intermittent success with it in the test.
Ben Siggery
@siggerzz
ooooo interesting
What's returned if you just do FindElements in the test
just create a var and see what collection is returned
is the count what you expect?
Scott Mac Donald
@Corinos
I'm expecting to get the object back so I can click on it. I've been trying a bunch of different ways of doing it. The latest is trying to switch from a css selector to an xpath, but that's been a complete failure, heh. I can't seem to get the syntax right for that kind of element that exists multiple times on the page.
Ben Siggery
@siggerzz
How're you finding it atm? Class name / custom attribute?
example above would suggest custom attribute
Scott Mac Donald
@Corinos
Custom attribute I guess. We have 'data-companyName-id' that are supposed to be unique for our elements, but in this case we're using someone else's component, so I'm getting duplicates.
Ben Siggery
@siggerzz
Yeah, in that case, you're example above would work: $$('[data-companyName-id="foo"]')[2] :(
Okay, another question, is this selector present on page load?
Scott Mac Donald
@Corinos
I think that question is at the root of it.
It seems like it could be a timing issue.
When I use either waitForExists or waitForDisplayed again I get some successes and some failures.
Ben Siggery
@siggerzz
I'd do a quick test with var foo = $$('[data-companyName-id="foo"]')
Scott Mac Donald
@Corinos
Do I have any other option than a browser.pause to wait for page load?
Ben Siggery
@siggerzz
and console log the count
Scott Mac Donald
@Corinos
^^^ I'll give it a try now.
Ben Siggery
@siggerzz

How're you defining the var for that selector?

If it's like so, you'll have problems const foo = $('.mySelector');