Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy.berezovskyi committed Oct 7, 2024
1 parent 872188b commit b731cd4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/driver_options.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import platform
from selenium import webdriver
from utils.logger import Logger, LogLevel
Expand All @@ -10,7 +9,7 @@
def _shared_driver_options(options):
options.add_argument("--start-maximized")
options.add_argument("--disable-dev-shm-usage")
options.page_load_strategy = 'none' # disable waiting for fully load page
options.page_load_strategy = 'none' # disable waiting for fully load page
if platform.system() == "Linux":
options.add_argument("--no-sandbox")
log.info(f"Driver options {options.arguments}")
Expand Down

0 comments on commit b731cd4

Please sign in to comment.