Skip to content

Commit

Permalink
Remove call to takeDOMSnapshot.init
Browse files Browse the repository at this point in the history
This function is deprecated and unused. We can delete the code here to
reduce complexity.
  • Loading branch information
trotzig committed Dec 18, 2024
1 parent 699650b commit c8deaa9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ const controller = new Controller();
module.exports = {
async init(contextOrPage) {
await contextOrPage.addInitScript({ path: pathToBrowserBuild });
await contextOrPage.addInitScript(`
window.addEventListener('load', () => {
window.happoTakeDOMSnapshot.init(window);
});
`);
await controller.init();
},

Expand Down

0 comments on commit c8deaa9

Please sign in to comment.