From 484a9692cf834d5a73f4a2ae017d0cef5c8d4d56 Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 18 Mar 2023 14:11:51 +0100 Subject: [PATCH] told you --- V5.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/V5.py b/V5.py index c25806d..6d33aec 100755 --- a/V5.py +++ b/V5.py @@ -88,11 +88,12 @@ def firefox_driver(mobile=False, Headless=False): options.add_argument("-headless") if mobile : options.set_preference("general.useragent.override", MOBILE_USER_AGENT) + driver = webdriver.Firefox(options=options) driver.set_window_size(1070 + hash(_mail)%20 , 1900 + hash(_password + "salt")%10) # mobile resolution are crazy high now, right ? else : options.set_preference("general.useragent.override", PC_USER_AGENT) + driver = webdriver.Firefox(options=options) driver.set_window_size(1900 + hash(_mail)%20 , 1070 + hash(_password + "salt")%10) - driver = webdriver.Firefox(options=options) return(driver)