Open aupadhyay-coursera opened 4 weeks ago
@aupadhyay-coursera thanks for opening an issue for these three feature requests that you've mentioned. They all have good use cases and ones which we would like to work on. We can't say when we will get to them but we will keep this issue open until we have a better idea of what the next steps are for this. I am working with the team to get a better answer.
Feature Description
Feature Request: Add Support for
page.on('request')
,page.route()
, and CDP Access in k6 Browser ModuleDescription: There is a need for enhanced functionality in the k6 browser module. Specifically, methods like
page.on('request')
andpage.route()
used in Playwright/Puppeteer are not available. Additionally, the k6 browser module doesn’t expose Chrome DevTools Protocol (CDP) sessions, limiting our ability to intercept network traffic.Proposed Features:
Add Support for
page.on('request')
:Add Support for
page.route()
:Expose CDP Sessions:
Use Cases:
Adding these features would align k6's capabilities more closely with existing browser automation tools like Playwright and Puppeteer, providing more comprehensive testing abilities.
Thank you for considering this request.
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
No response