Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webdriverio Dependency to 4.12.0 + selenium-standalone to 6.x.x #10

Closed
phil-lgr opened this issue Mar 27, 2018 · 21 comments
Closed

Comments

@phil-lgr
Copy link

Hey :) thanks for this package, it's super useful!

Somehow the webdriverio is set to "latest" but it doesn't seem to pick up 4.12.0 any idea?

webdriverio/webdriverio@v4.11.0...v4.12.0

Any blockers to upgrade to selenium-standalone 6.13.0 ?

Thanks!

@phil-lgr
Copy link
Author

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

@ziolko
Copy link
Owner

ziolko commented Mar 30, 2018

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

@ziolko
Copy link
Owner

ziolko commented Mar 30, 2018

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 :)

@phil-lgr
Copy link
Author

phil-lgr commented Mar 30, 2018 via email

@ziolko
Copy link
Owner

ziolko commented Mar 31, 2018

Hi Phil,

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

Cheers,
Mateusz

@phil-lgr
Copy link
Author

phil-lgr commented Mar 31, 2018 via email

@phil-lgr
Copy link
Author

phil-lgr commented Apr 3, 2018

Testing now

@phil-lgr
Copy link
Author

phil-lgr commented Apr 3, 2018

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

@phil-lgr
Copy link
Author

phil-lgr commented Apr 3, 2018

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

@phil-lgr
Copy link
Author

phil-lgr commented Apr 3, 2018

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

@ziolko
Copy link
Owner

ziolko commented Apr 3, 2018

Could you please put here code to reproduce this bug?

@phil-lgr
Copy link
Author

phil-lgr commented Apr 4, 2018

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?

@ziolko
Copy link
Owner

ziolko commented Apr 4, 2018

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

@phil-lgr
Copy link
Author

phil-lgr commented Apr 6, 2018

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

@phil-lgr
Copy link
Author

phil-lgr commented Apr 6, 2018

@ziolko
Copy link
Owner

ziolko commented Apr 9, 2018

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

@ziolko
Copy link
Owner

ziolko commented Apr 9, 2018

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

@phil-lgr
Copy link
Author

I will try today, thanks!

@phil-lgr
Copy link
Author

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

@phil-lgr
Copy link
Author

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

@ziolko
Copy link
Owner

ziolko commented Apr 18, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants