Skip to content

Conversation

@nedtwigg
Copy link
Member

@nedtwigg nedtwigg commented Sep 17, 2025

Our HAR snapshots work excellent for testing things about an initial pageload. But sometimes we need to test against things that only happen dynamically in javascript after the page has loaded, or after the user has made some clicks. We can create these snapshots by exporting a giant HTML blob using SingleFile. They don't work quite as well as a HAR snapshot (interactivity is usually broken), but they work for testing.

In this PR, we refactor from "har" to "corpus", where each entry of the "corpus" is either a HAR or an HTML export.

@nedtwigg nedtwigg marked this pull request as ready for review September 18, 2025 03:51
@nedtwigg nedtwigg merged commit e26be70 into main Sep 18, 2025
1 check passed
@nedtwigg nedtwigg deleted the feat/corpus branch September 18, 2025 03:52
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.

2 participants