Skip to content

Commit

Permalink
Update loxs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HexShad0w authored Oct 22, 2024
1 parent 2dfc526 commit 99006e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,10 +1171,10 @@ def get_chrome_driver():
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--disable-extensions")
options.add_argument("--window-size=1920,1080")
options.add_argument('--no-sandbox')
from selenium.webdriver.chrome.service import Service

service = Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=service, options=options)
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
driver.set_page_load_timeout(10)
return driver

Expand Down

0 comments on commit 99006e7

Please sign in to comment.