Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Update main.py: lobatim:patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedrn committed Jan 23, 2022
1 parent 04c3efa commit 25a880f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def webdriver(self):
"""Start webdriver and return state of it."""
options = webdriver.ChromeOptions() # Configure options for Chrome.
options.add_extension(self.extension_path) # Add extension.
options.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_US'}) # Set webdriver language to English.
options.add_experimental_option( # Set webdriver language to English.
'prefs', {'intl.accept_languages': 'en,en_US'})
# options.add_argument("headless") # Headless ChromeDriver.
options.add_argument('log-level=3') # No logs is printed.
options.add_argument('--mute-audio') # Audio is muted.
Expand Down

0 comments on commit 25a880f

Please sign in to comment.