Skip to content

Commit 69a7c28

Browse files
author
George Griffiths
committed
update example
1 parent 92b07bb commit 69a7c28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/playwright/custom-engine.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ const main = async () => {
1010
const page = await context.newPage()
1111

1212
await page.goto('chrome://downloads')
13-
// this line works
14-
await page.dblclick('shadow=#no-downloads span')
13+
1514
await page.waitForSelector('shadow=#no-downloads span', {timeout: 3000})
1615
await new Promise(resolve => setTimeout(resolve, 3000))
1716

0 commit comments

Comments
 (0)