TABLE OF CONTENTS
What is Playwright?
Playwright is a testing tool for web application, useful also for web scraping, released on 2021.
Our View on Playwright
Usage Rating of Playwright
1. BEST CHOICE: This is among the preferred tools we use
It's the best choice when there's need of a fully rendered browser to scrape a website.
Configuration
The best configuration we've found up to date against antibot systems consists in:
- playwright_stealth module
- a function to randomize mouse movement
- selection of a consistent combination of device to emulate and browser
- slow_mo option to reduce the rendering speed of the browser
- headless mode
For a standard configuration using all these tools, please read this post on our forum.
When to use Playwright
Whenever is needed a fully rendered browser, like for:
Reference and documentation
Official website: https://playwright.dev/
Our tests: How to use Playwright against Cloudflare
Related articles: https://intoli.com/blog/making-chrome-headless-undetectable/