Forum

Forum
Fullpage Snapshot u...
 
Notifications
Clear all

[Closed] Fullpage Snapshot using playwright for Visual Testing

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

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


   
Amrita Kaur
Member Admin
Joined: 3 years ago
Posts: 107
 

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