Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

Setting the compatible version of playwright with cdp patches

Karim shoairc1429074a79e
diff --git a/setup.py b/setup.py
index 13f4a35..98fce34 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ setup(
"orjson>=3",
"tldextract",
'httpx[brotli,zstd]',
- 'playwright',
+ 'playwright==1.48', # Temporary because currently All libraries that provide CDP patches doesn't support playwright 1.49 yet
'rebrowser-playwright',
'camoufox>=0.3.10',
'browserforge',