Forum

Forum
Fullpage Snapshot u...
 
Notifications
Clear all

Fullpage Snapshot using playwright for Visual Testing


Anonymous
 Anonymous
Guest
Joined: 3 weeks ago
Posts: 1
Topic starter  

How can we take full page scrolling screenshot using Playwright and Imagium?


Quote
admin
Member Admin
Joined: 1 year ago
Posts: 55
 

Playwright full page screenshot can be taken using following code:

const buffer = await page.screenshot({ path: 'screenshot.png', fullPage: true });

 

For complete code check here

 


ReplyQuote

Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: