Skip to content

Instantly share code, notes, and snippets.

@tristansokol
Created August 21, 2018 16:36
Show Gist options
  • Save tristansokol/b05d2c1ad23315c42d01aba80ccfdc0a to your computer and use it in GitHub Desktop.
Save tristansokol/b05d2c1ad23315c42d01aba80ccfdc0a to your computer and use it in GitHub Desktop.
await Promise.all([
page.waitForNavigation({}),
page.click('#tickets > div.container > div > div > div > h2:nth-child(5) > button > i', {
button: 'left',
delay: 200
})
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment