Skip to content

Commit

Permalink
Add a delay after dismiss for some animations to
Browse files Browse the repository at this point in the history
finish
  • Loading branch information
James Jacobs committed Dec 15, 2023
1 parent 514cb04 commit 6dbd4bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions API/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ module.exports.screnshotForUrlTab = async function (
try {
await page.focus("body");
await page.keyboard.press('Escape');
await page.waitForNavigation({
timeout: 200,
});
} catch (ex) {}
}

Expand Down

0 comments on commit 6dbd4bd

Please sign in to comment.