Skip to content

Instantly share code, notes, and snippets.

@fzn0x
Created April 15, 2022 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fzn0x/7e5341cf86d9ff87c95849ae9af7bc28 to your computer and use it in GitHub Desktop.
Save fzn0x/7e5341cf86d9ff87c95849ae9af7bc28 to your computer and use it in GitHub Desktop.
Scrape using puppeteer through iframe
const frame = await page.waitForSelector("iframe");
const framePage = await frame.contentFrame();
const framePageData = await framePage.$$eval(".table tbody tr", (columns) => {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment