Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:01
    yogeshgadge commented #8352
  • May 21 17:26
    praveendvd commented #8352
  • May 21 17:26
    praveendvd commented #8352
  • May 21 17:14
    praveendvd commented #8156
  • May 21 17:13
    praveendvd commented #8156
  • May 21 17:13
    praveendvd synchronize #8156
  • May 21 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)

Christian Bromann
@christian-bromann
so it is a matter of minutes
release it out actually
Federico Francia
@federicoitaly:matrix.org
[m]
notarget No matching version found for webdriverio@7.5.1.
Erwin Heitzman
@erwinheitzman
@federicoitaly:matrix.org it's the wdio-cucumber-framework package that was updated
@wdio/cucumber-framework is the actual package name
Federico Francia
@federicoitaly:matrix.org
[m]
@er
@erwinheitzman: thanks, now I have these: "@babel/cli": "^7.12.8",
"@babel/preset-env": "^7.13.15",
"@cucumber/cucumber": "^7.1.0",
"@slack/web-api": "^6.1.0",
"@wdio/appium-service": "^7.3.1",
"@wdio/browserstack-service": "^7.3.1",
"@wdio/cli": "^7.3.1",
"@wdio/config": "^7.3.1",
"@wdio/cucumber-framework": "^7.3.1",
"@wdio/local-runner": "^7.3.1",
"@wdio/sauce-service": "^7.3.1",
"@wdio/spec-reporter": "^7.3.1",
"@wdio/sync": "^7.3.1",
Erwin Heitzman
@erwinheitzman
@federicoitaly:matrix.org @wdio/cucumber-framework was updated to v7.5.1
Federico Francia
@federicoitaly:matrix.org
[m]
ok
i get two warnings: npm i --legacy-peer-deps
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
Federico Francia
@federicoitaly:matrix.org
[m]
locally it works, from Jenkins I get: + npm i --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for webdriverio@7.5.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Erwin Heitzman
@erwinheitzman
No matching version found for webdriverio@7.5.1. I refer to my previous answer
Federico Francia
@federicoitaly:matrix.org
[m]
yes, locally it works, from jenkins it fails
"dependencies": {
"@babel/cli": "^7.12.8",
"@babel/preset-env": "^7.13.15",
"@cucumber/cucumber": "^7.1.0",
"@slack/web-api": "^6.1.0",
"@wdio/appium-service": "^7.3.1",
"@wdio/browserstack-service": "^7.3.1",
"@wdio/cli": "^7.3.1",
"@wdio/config": "^7.3.1",
"@wdio/cucumber-framework": "^7.5.1",
"@wdio/local-runner": "^7.3.1",
"@wdio/sauce-service": "^7.3.1",
"@wdio/spec-reporter": "^7.3.1",
"@wdio/sync": "^7.3.1",
"colornames": "^1.1.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-wdio": "^7.0.0",
"express": "^4.17.1",
"fs-extra": "^9.1.0",
"gherkin": "^5.1.0",
"jsonwebtoken": "^8.5.1",
"multiple-cucumber-html-reporter": "^1.18.0",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4",
"sync-fetch": "^0.3.0",
"wdio-cucumberjs-json-reporter": "^2.0.2",
"webdriverio": "^7.3.1",
"yargs": "^16.1.1"
},
Christian Bromann
@christian-bromann
@federicoitaly:matrix.org you might want to clean up your package-lock.json
Federico Francia
@federicoitaly:matrix.org
[m]
yes I did it locally, and it works
from jenkins i get the error, strange
Christian Bromann
@christian-bromann
you need to check in your updated package-lock
your jenkins probably still pulls the old version
Federico Francia
@federicoitaly:matrix.org
[m]
it is in gitignore
Christian Bromann
@christian-bromann
maybe you can find in the logs which version is downloaded
Erwin Heitzman
@erwinheitzman
you shouldn't ignore your package-lock.json
it should be committed
Federico Francia
@federicoitaly:matrix.org
[m]
@erwinheitzman: ok, thanks
is it a new best practice from npm v7?
Daniel Klotz
@d-klotz

Hi Guys,

I'm trying to use spectrum (uses webdriver.io) and I'm not being able to click on a checkbox
I'm doing:

const checkbox = await app.client.findElement('css selector', '.checkbox');
app.client.elementClick(checkbox);

But someone this findElement returns a json like {
'element-6066-11e4-a52e-4f735466cecf': 'd9ee3334-ef66-4ae7-a308-d249b1a95f24'
}
Which is not accepted by the click method, do you know why?

Erwin Heitzman
@erwinheitzman
it's the whole idea behind the package-lock.json file, ever since it got introduced years ago @federicoitaly:matrix.org
@d-klotz you might have to click the label that is assigned to the checkbox as it depends on what element is listening for the click event
4 replies
not sure about the return value
Federico Francia
@federicoitaly:matrix.org
[m]
@erwinheitzman: I thought package-lock.json has to be gitignored since it will be created by npm install, I mean from Jenkins CI/CD
Erwin Heitzman
@erwinheitzman
nope
read the documentation I shared @federicoitaly:matrix.org
Daniël Verburgh
@danielkroon
Hi all! Can anyone tell me how the https://webdriver.io/docs/api/browser/throttle/ works? When I add the command in my it block. It looks like it only slows down the speed for the command below the browser.throttle command, but not for the rest of the commands in that same it block. I expect to slow the whole it block down. Not just 1 single line.
Christian Bromann
@christian-bromann
throttle slows down browser requests not your webdriver ones
Daniël Verburgh
@danielkroon
okay but every command is a requests right?
Christian Bromann
@christian-bromann
yes a webdriver request
Daniël Verburgh
@danielkroon
ahh I see
Christian Bromann
@christian-bromann
with throttle you change the network capabilities of the browser
Daniël Verburgh
@danielkroon
Then I misunderstood the command. Sorry, my bad. Any alternative? Expect adding pause between every line.
Christian Bromann
@christian-bromann
or use the afterCommand hook to call the pause command
Daniël Verburgh
@danielkroon
fair enough, I will do that then. Thank you :)
Federico Francia
@federicoitaly:matrix.org
[m]
Hi, ERROR webdriver: Request failed with status 200 due to Error: Too many capabilities added in the test. For successful execution, please remove the capabilities which are not required/necessary.
can you please let me know what is the max number of capabilities?
Christian Bromann
@christian-bromann
@federicoitaly:matrix.org that depends on your selenium grid or wherever you run your remote browser
Federico Francia
@federicoitaly:matrix.org
[m]
ok thanks @christian-bromann
WARN webdriver: Request encountered a stale element - terminating request
ale element reference: The previously found element "Application '.....'" is not present in the current view anymore. Make sure the application UI has the expected state. Original error: Error kAXErrorIllegalArgument getting snapshot for element <AXUIElementRef 0x101e67890> {pid=966} {uid=[ID:1 hash:0x0]}
is there a way to avoid this ^ ?
HaPe63
@HaPe63
Hi all, I try in my test to download pdf without prompt. thats my firefox capabilities: