Skip to content

Commit

Permalink
Merge pull request #5 from lobatim/patch-1
Browse files Browse the repository at this point in the history
Update main.py
  • Loading branch information
maximedrn authored Jan 23, 2022
2 parents 93d93ff + 5cff42d commit 04c3efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ 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_argument('--lang=en') # Set webdriver language to English.
options.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_US'}) # Set webdriver language to English.
# 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 04c3efa

Please sign in to comment.