Change browser page delay

This commit is contained in:
martin legrand 2025-03-18 18:13:34 +01:00
parent bdbb590dc4
commit c813b5a3c0

View File

@ -74,7 +74,7 @@ class Browser:
"""Navigate to a specified URL.""" """Navigate to a specified URL."""
try: try:
self.driver.get(url) self.driver.get(url)
time.sleep(2) # Wait for page to load time.sleep(1) # Wait for page to load
self.logger.info(f"Navigated to: {url}") self.logger.info(f"Navigated to: {url}")
return True return True
except WebDriverException as e: except WebDriverException as e: