v1.1.0
This release will hopefully fix an issue where happoTakeDOMSnapshot
is missing. We've seen these errors:
TypeError: window.happoTakeDOMSnapshot is not a function
If you want to make use of the fix, you have to update your happoPlaywright.init
calls. Instead of passing a page
, pass a context
:
test.beforeEach(async ({ context }) => {
await happoPlaywright.init(context);
});
This version is backwards-compatible with the old way of initializing the lib: happoPlaywright.init(page)
. The recommended way is to use context
however.