fix comment

This commit is contained in:
martin legrand
2025-05-16 09:24:46 +02:00
parent 384d9a8c0b
commit 45fbf5a88c
+1 -1
View File
@@ -122,7 +122,7 @@ def create_driver(headless=False, stealth_mode=True, crx_path="./crx/nopecha.crx
if headless: if headless:
chrome_options.add_argument("--headless") chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu") chrome_options.add_argument("--disable-gpu")
chrome_options.add_argument("--disable-webgl") # prevent some website from working, commented for now chrome_options.add_argument("--disable-webgl")
user_data_dir = tempfile.mkdtemp() user_data_dir = tempfile.mkdtemp()
user_agent = get_random_user_agent() user_agent = get_random_user_agent()
width, height = (1920, 1080) width, height = (1920, 1080)