ページ全てのスクリーンショットを取得する
await page.screenshot({ path: '/tmp/foo.jpg', fullPage: true });
ページのロードを待つ時間を指定する
timeoutで指定できます。
await page.goto('url'+tableCell04Val, {waitUntil: 'load', timeout: 0});
await page.screenshot({ path: '/tmp/foo.jpg', fullPage: true });
timeoutで指定できます。
await page.goto('url'+tableCell04Val, {waitUntil: 'load', timeout: 0});