Skip to content
CodeKruPro

Full Page Screenshot

62/70

Full Page Screenshot

page.screenshot({ path, fullPage }) takes a screenshot. Use fullPage: true to capture the entire scrollable page.

Task:

  1. Navigate to https://testkru.com/Elements/Buttons
  2. Take a full page screenshot saved to /workspace/screenshot.png
  3. Verify the screenshot file was created

Expected output:

Screenshot taken: true
File has content: true