Increased zoom and unchanged scroll delay

This commit is contained in:
ReptilianPride
2025-03-01 17:39:04 +00:00
parent de0ef57663
commit e989d9e8a7
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
import time
import random
class Scroller:
def __init__(self, driver) -> None:
self.driver = driver

View File

@@ -199,6 +199,7 @@ class Twitter_Scraper:
try:
self.driver.maximize_window()
self.driver.execute_script("document.body.style.zoom='150%'") #set zoom to 150%
self.driver.get(TWITTER_LOGIN_URL)
sleep(3)