Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 294 Bytes

screenshots.md

File metadata and controls

9 lines (6 loc) · 294 Bytes

Screenshots

You can easily take a screenshot and save it using the following command.

await page.screenshot({ path: 'screenshot.png' });

For more complex screenshot operations check out the Playwright Screenshots documentation.