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

[Feature]: record network traffic when codegen #31809

Closed
cheungseol opened this issue Jul 23, 2024 · 2 comments
Closed

[Feature]: record network traffic when codegen #31809

cheungseol opened this issue Jul 23, 2024 · 2 comments

Comments

@cheungseol
Copy link

cheungseol commented Jul 23, 2024

🚀 Feature Request

Is it possible to record all network traffic when using playwright codegen?

Record all network requests and responses on pages during codegen.

and replay the testcase using the recorded network traffic.

Motivation

replay the testcase using the recorded network traffic.

@cheungseol cheungseol changed the title [Feature]: [Feature]: record network traffic when codegen Jul 23, 2024
@pavelfeldman
Copy link
Member

Replaying a site based on the network recording is a non-trivial project that requires substantial investment. It falls outside of scope for Playwright at this point.

@cheungseol
Copy link
Author

cheungseol commented Jul 24, 2024

Replaying a site based on the network recording is a non-trivial project that requires substantial investment. It falls outside of scope for Playwright at this point.

I found the codegen saveHar options and routeFromHAR API , can they be useful in these situations ? @pavelfeldman

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