Skip to content

feat: add har replay support#2188

Merged
mxschmitt merged 3 commits into
microsoft:mainfrom
mxschmitt:1.23/har
Jun 28, 2022
Merged

feat: add har replay support#2188
mxschmitt merged 3 commits into
microsoft:mainfrom
mxschmitt:1.23/har

Conversation

@mxschmitt
Copy link
Copy Markdown
Contributor

@mxschmitt mxschmitt commented Jun 28, 2022

Fixes #2146

@mxschmitt mxschmitt marked this pull request as ready for review June 28, 2022 20:59
Copy link
Copy Markdown
Member

@rwoll rwoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but make sure you are setting the default for notFound properly in the two callsites where we create a HarRouter:

Here's one (and the other is in page): https://github.com/microsoft/playwright/blob/ae6f48c4b8bb55db693dfdfd27592d9206e0d46d/packages/playwright-core/src/client/browserContext.ts#L274

Comment thread src/Playwright/Core/BrowserContext.cs Outdated
Comment thread src/Playwright/Core/Page.cs Outdated
Comment thread src/Playwright/Core/HarRouter.cs
@mxschmitt mxschmitt merged commit b70ce4b into microsoft:main Jun 28, 2022
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

Successfully merging this pull request may close these issues.

[Ports]: Backport client side changes

3 participants