Open asg017 opened 4 months ago
Playwright has support for HAR files, which saves all network requests during a session to a custom file format.
The API is awkward but we can use route_from_har. We'll need to add update=True to save requests to the file, instead of "serveing" them.
route_from_har
update=True
There's a few more options to:
update_content
"embed"|"attach"
--har-content=embed
update_mode
"full"|"minimal"
--har-mode=full
Playwright has support for HAR files, which saves all network requests during a session to a custom file format.
The API is awkward but we can use
route_from_har
. We'll need to addupdate=True
to save requests to the file, instead of "serveing" them.There's a few more options to:
update_content
:"embed"|"attach"
. Maybe--har-content=embed
?update_mode
:"full"|"minimal"
. Maybe--har-mode=full
?