Working with Playwright

Scrape websites, create screenshots, automate and program it to do stuff. Thought it would be a nice idea to share some of the code I use....

Chris standing up holding his daughter Elva
Space shuttle leaving curved trail in the sky
Space shuttle leaving curved trail in the sky 12
404 and redirects in Playwright
Run a script for multiple urls
Space shuttle leaving curved trail in the sky 12
Cumulative Layout Shift loop through multiple urls, multiple times
Add Core Web Vitals data on your screenschots in Playwright
Lazy images screenshot them with Playwright
Scrape html with Playwright for
Block resource Playwright
use Cookies to set consent in Playwright
Video recording in Playwright
Test your website in different devices with Playwright
Adding a watermark / html element in playwright script
Smooth scrolling to end of page and exit Playwright function
Work faster with Playwright CLI.
Lighthouse in Playwright
Scrape website
Use Playwright to test websites for A11Y issues with Axe Core and the Axe HTML Reporter
Playwright Axe Core Axe HTML Reporter
Work faster with Playwright CLI.
CLI
Chrome Devtools Protocol to scroll a page