Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ajaykarthikr/77923b8aac4810bbaa0e29655dc818f7 to your computer and use it in GitHub Desktop.
Save ajaykarthikr/77923b8aac4810bbaa0e29655dc818f7 to your computer and use it in GitHub Desktop.
if(!req.query?.url)
throw Error("Url not present in query")
await page.goto(req.query.url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment