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

Downgrade webdriverio v9 to v8 #817

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

moiikana
Copy link
Contributor

@moiikana moiikana commented Jan 6, 2025

We upgraded webdriverio from v8 to v9 here: #806

  • this has lead to dependency clashes (dependencies not resolvable during npm install)

Copy link
Member

@gbirke gbirke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have us fix the packages to keep the new major version, because the root cause of the incompatibility is an improvement in version 8.5 how webdriverio downloads browsers, see https://webdriver.io/blog/2023/07/31/driver-management/
Version 9 removes the dependency on the services, see https://webdriver.io/blog/2024/08/15/webdriverio-v9-release#removal-of-devtools-and-wdiodevtools-service-packages

I'm not sure what steps need to be done, I just had a glance at the docs after some googling and watching half of https://www.youtube.com/watch?v=3jMX4NYPPVk

removing the wdio-chromedriver-service made npm update/npm install work again, but I haven't tested if the screenshotting still works

@moiikana moiikana force-pushed the downgrade-webdriverio branch from d651f2d to 1ed513f Compare January 9, 2025 17:22
We upgraded webdriverio from v8 to v9 here: #806

- this has lead to dependency clashes (dependencies not resolvable during `npm install`)

- taking screenshots stopped working after version >8.41
@moiikana moiikana force-pushed the downgrade-webdriverio branch from 1ed513f to bdea4d9 Compare January 9, 2025 17:23
@moiikana
Copy link
Contributor Author

same timeout failure when trying to do screenshots with the most recent patch "webdriverio": "^9.5.3".

For now it seems reasonable to stay on v8.41.

@moiikana moiikana requested a review from gbirke January 10, 2025 13:27
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

Successfully merging this pull request may close these issues.

2 participants