Giter Club home page Giter Club logo

Comments (21)

ziolko avatar ziolko commented on June 25, 2024 1

Thanks for raising this. I am working on this right now.

from wdio.

ziolko avatar ziolko commented on June 25, 2024 1

Thank you. I will take a look at this today.

from wdio.

ziolko avatar ziolko commented on June 25, 2024 1

Hi Phil,

I took a second look at this and it seems this is a well known issue with selenium server (check out webdriverio/webdriverio#2262 and webdriverio/webdriverio#2468).

Perhaps implementing webdriverio/webdriverio#2406 would help but until then I can only suggest staying with selenium 3.4 which apparently doesn't have this problem.

Cheers,
Mateusz

from wdio.

ziolko avatar ziolko commented on June 25, 2024 1

Great. I will set version of selenium-standalone to 6.6.0 because it installs selenium 3.4.0 by default: https://github.com/vvo/selenium-standalone/blob/v6.6.0/lib/default-config.js.

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

@christian-bromann @ziolko if I can help with this, lmk

from wdio.

ziolko avatar ziolko commented on June 25, 2024

webdriverio version has been locked in package-lock.json. I've updated both webdriverio and selenium-standalone. This has been released as 2.0.0. Please let me know if it works as expected.

P.S. Sorry for late response. I am in the middle of my parental leave right now :)

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

from wdio.

ziolko avatar ziolko commented on June 25, 2024

Hi Phil,

Feel free to close this issue if you consider it resolved :)

Cheers,
Mateusz

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

Testing now

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024
1) the example appsuite4 should have specific props and state:
Failed: java.net.SocketException: Connection reset by peer (connect failed)
running chrome
error properties: Object({ details: undefined, type: 'RuntimeError', seleniumStack: Object({ type: 'UnknownError', message: 'An unknown server-side error occurred while processing the command.', orgStatusMessage: 'java.net.SocketException: Connection reset by peer (connect failed)' }), shotTaken: true })
Error: An unknown server-side error occurred while processing the command.
    at elementIdText("0.20661828999941245-5") - getText.js:35:50

2) the example appsuite2 should have specific props and state:
Failed: java.io.IOException: Error writing to server
running chrome
error properties: Object({ details: undefined, type: 'RuntimeError', seleniumStack: Object({ type: 'UnknownError', message: 'An unknown server-side error occurred while processing the command.', orgStatusMessage: 'java.io.IOException: Error writing to server' }), shotTaken: true })
Error: An unknown server-side error occurred while processing the command.
    at elementIdText("0.1250129108093032-5") - getText.js:35:50

Having new errors.. investigating

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

Looks like it's related to webdriverio-boneyard/wdio-selenium-standalone-service#39

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

I will follow up when I can this week, or this weekend, thanks

from wdio.

ziolko avatar ziolko commented on June 25, 2024

Could you please put here code to reproduce this bug?

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

It works fine on Windows 10... Seems to be a MacOS issue, before I go ahead and setup a repo to reproduce... are you on Mac or Windows?

from wdio.

ziolko avatar ziolko commented on June 25, 2024

I work both on Mac and Windows. Feel free to share steps to reproduce :)

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

I guess I'll have the time this weekend, I'll update the thread.

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

@ziolko here: https://github.com/phil-lgr/wdio-issue-repro

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

I will try today, thanks!

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

I will test tomorrow I have time and I will close this issue, thanks for looking and finding those comments!

from wdio.

phil-lgr avatar phil-lgr commented on June 25, 2024

I can confirm that version: '3.4.0' is working fine, closing!

from wdio.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.