Forum

Forum
Fullpage Snapshot u...
 
Notifications
Clear all

[Closed] Fullpage Snapshot using playwright for Visual Testing

New Member Guest
Joined: 3 years ago
Posts: 1
Topic starter  

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


   
Amrita Kaur
Member Admin
Joined: 4 years ago
Posts: 108
 

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