page.evaluate(pageFunction, ...args)
await page.evaluate((a) => {}, a);
await page.evaluate((a, b) => {}, a, b);
evaluate の引数に関数は渡せないみたい
Evaluation failed: TypeError: XXXX is not a function
Go to list of users who liked
More than 5 years have passed since last update.
page.evaluate(pageFunction, ...args)
await page.evaluate((a) => {}, a);
await page.evaluate((a, b) => {}, a, b);
evaluate の引数に関数は渡せないみたい
Evaluation failed: TypeError: XXXX is not a function
Register as a new user and use Qiita more conveniently
Go to list of users who liked