Skip to content

Commit

Permalink
Merge d68b78d into 28c02ea
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Nov 7, 2019
2 parents 28c02ea + d68b78d commit 97a2300
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/screenshot/src/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ module.exports = ({ goto, ...gotoOpts } = {}) => {
...args
} = opts

page.on('dialog', async dialog => {
await dialog.dismiss()
})

await goto(page, { url, device, ...args })

if (disableAnimations) {
Expand Down

0 comments on commit 97a2300

Please sign in to comment.