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

[Docs]: browser.new_context(record_har_path=path) is hard to find in docs #2739

Open
simonw opened this issue Feb 13, 2025 · 1 comment
Open

Comments

@simonw
Copy link

simonw commented Feb 13, 2025

Page(s)

https://playwright.dev/python/docs/next/mock#mocking-with-har-files

Description

The browser.new_context(record_har_path=path) parameter is really useful, but it isn't mentioned on the page about mocking with HAR files, despite a section called Recording a HAR file.

The only mention I could find of that parameter was in the release notes from 1.23: https://playwright.dev/python/docs/next/release-notes#network-replay

@simonw
Copy link
Author

simonw commented Feb 13, 2025

I just found a mention of record_har_path in the browser.new_context() documentation too, not sure how I missed that earlier - maybe because it didn't come up in search? https://playwright.dev/python/docs/next/api/class-browser#browser-new-context-option-record-har-path

@simonw simonw changed the title [Docs]: browser.new_context(record_har_path=path) is not adequately documented [Docs]: browser.new_context(record_har_path=path) is hard to find in docs Feb 13, 2025
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

1 participant