Full Page Screenshot
page.screenshot({ path, fullPage }) takes a screenshot. Use fullPage: true to capture the entire scrollable page.
Task:
- Navigate to
https://testkru.com/Elements/Buttons - Take a full page screenshot saved to
/workspace/screenshot.png - Verify the screenshot file was created
Expected output:
Screenshot taken: true File has content: true
TestKru