showing results for - "puppeteer evaluate pass variable"
Abigail
03 Jan 2017
1const links = await page.evaluate((evalVar) => {
2
3  console.log(evalVar); // 2. should be defined now
45
6}, evalVar); // 1. pass variable as an argument
7