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

[Tracker] WebdriverIO v9 Release #10362

Open
9 of 14 tasks
christian-bromann opened this issue May 10, 2023 · 17 comments
Open
9 of 14 tasks

[Tracker] WebdriverIO v9 Release #10362

christian-bromann opened this issue May 10, 2023 · 17 comments
Labels
Milestone

Comments

@christian-bromann
Copy link
Member

christian-bromann commented May 10, 2023

This issue starts document upcoming (possibly breaking changes) in WebdriverIO v9. If you have any concerns about listed changes, please let us know. Also feel free to make suggestions to changes we should make in v9.

Join the 🙏-contribute channel on Discord if you are interested to join us in this effort.

@christian-bromann christian-bromann added this to the v9 milestone May 10, 2023
@nextlevelbeard

This comment was marked as outdated.

@christian-bromann

This comment was marked as outdated.

@gpaciga
Copy link

gpaciga commented Sep 22, 2023

@christian-bromann is there an eta for v9?

@christian-bromann
Copy link
Member Author

no

@ichman
Copy link

ichman commented Oct 5, 2023

Hello, as we're using the Devtools in our tests to monitor performance, will there be a way to still use it ?
Thank you

@christian-bromann
Copy link
Member Author

will there be a way to still use it ?

Yes, you will be able to use getPuppeteer to interact with Chrome DevTools.

@erwinheitzman
Copy link
Member

Vite uses esbuild under the hood, I feel like we can use esbuild instead of Vite to transpile code. What do you think?

@christian-bromann
Copy link
Member Author

What would be the advantage of using esbuild directly over Vite?

@erwinheitzman
Copy link
Member

What would be the advantage of using esbuild directly over Vite?

I don't know what Vite would add that we need and since esbuild would cover our needs I feel like it should be sufficient to use that instead. Perhaps Vite offers features that we need or are very useful for our users but I do not know this so it's not like I think we should definitely do this but I think it's something to consider 👍

@christian-bromann
Copy link
Member Author

My reasoning for choosing Vite over Esbuild were the following:

  • Vite comes with a dev server that currently runs our component tests, esbuild is only a compiler and we would have to write all the logic to resolve files, compile them and cache them ourselves
  • Vite is much easier to configure than esbuild
  • its plugin system is much easier to wrap your head around and there are a lot of Vite plugins that not always work with esbuild only

Do you see Vite adding any cost in maintenance and performance? Overall it enables us to do a lot with almost no code.

@erwinheitzman
Copy link
Member

erwinheitzman commented Oct 15, 2023

Thank you for sharing that Christian! I have no objection or see any cost and have actually just read that Vite is working on replacing esbuild and rollup with rolldown, a Rust replacement that should achieve the same thing with better performance and minimal to no impact during the switch. Sounds like a nice improvement if we will be using this 👍

@Prabhuraja2015
Copy link

Prabhuraja2015 commented Dec 1, 2023

WebdriverIO 9 needs to support network intercepting

@christian-bromann
Copy link
Member Author

WebdriverIO 9 needs to support network intercepting

WebdriverIO already supports this in Chrome, see https://webdriver.io/docs/api/browser/mock. We plan to add cross browser support once required primitives are spec'ed out in WebDriver Bidi and landed in browser. That said, this type of feature can be added anytime independant of the upcoming release.

@goosewobbler
Copy link
Contributor

Looking at picking up another one from this list - regarding the puppeteer task (no ticket), is that just adding it as a peerdep, since getPuppeteer already checks for the presence of puppeteer-core?

@christian-bromann
Copy link
Member Author

@goosewobbler that's awesome!

It seems like I already have done this in 220ad32

Would you be interested getting #12300 over the goal line? This essentially tries to rename the devtools service to google lighthouse service and removes all CDP integrations to only provide the lighthouse integration features. Wdyt?

@goosewobbler
Copy link
Contributor

goosewobbler commented May 14, 2024

Yes, I can take a look at that one, also considered webdriverio/expect-webdriverio#1366, is that about removing the matchers completely or is it already covered by the deprecations?

@christian-bromann
Copy link
Member Author

also considered webdriverio/expect-webdriverio#1366,

Feel free to pick this up as well, the commands are already deprecated and only need to be removed. We may want to create a @next branch or something like that were we can push these changes for the upcoming major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

7 participants