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

fix(browsers): disable autoplay for all browsers

Karim shoair0c3d359b46e5
diff --git a/scrapling/engines/constants.py b/scrapling/engines/constants.py
index 39e3907..231e0c0 100644
--- a/scrapling/engines/constants.py
+++ b/scrapling/engines/constants.py
@@ -90,7 +90,7 @@ DEFAULT_STEALTH_FLAGS = (
"--disable-client-side-phishing-detection",
"--disable-backgrounding-occluded-windows",
"--disable-layer-tree-host-memory-pressure",
- "--autoplay-policy=no-user-gesture-required",
+ "--autoplay-policy=user-gesture-required",
"--disable-offer-store-unmasked-wallet-cards",
"--disable-blink-features=AutomationControlled",
"--disable-component-extensions-with-background-pages",