webdriverio/webdriverio
Vedi su GitHub[💡 Feature]: Inject WebdriverIO primitives into e2e scenario
Open
#9885 aperta il 4 mar 2023
Idea 💡help wanted
Metriche repository
- Star
- (6029 star)
- Metriche merge PR
- (Merge medio 15g 15h) (48 PR mergiate in 30 g)
Descrizione
Is your feature request related to a problem?
Debugging e2e tests is hard. WebdriverIO currently provides a debug command to allow run commands in the terminal. The component testing feature has shown how much nicer it is to do this right in the DevTools.
Describe the solution you'd like.
Implement the same debugging capability for running commands in DevTools as we have for component testing atm. This work requires to:
- bundle WebdriverIO related packages via Vite and ship them within the NPM package
- build a prescript that connects with a web socket server in Node.js land in order to transfer commands and responses between both worlds
- use WebDriver Bidis new script capabilities to inject that script before the page loads
Describe alternatives you've considered.
n/a
Additional context
n/a
Code of Conduct
- I agree to follow this project's Code of Conduct