Created
November 11, 2013 18:05
-
-
Save omaciel/7417508 to your computer and use it in GitHub Desktop.
Starts up Google Chrome using a language locale.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
capabilities = webdriver.chrome.options.DesiredCapabilities.CHROME | |
capabilities["intl.accept_languages"] = "fr" | |
options = webdriver.chrome.options.Options() | |
options.add_experimental_option("intl.accept_languages", "fr") | |
driver = webdriver.Chrome(desired_capabilities=capabilities) | |
driver = webdriver.Chrome(chrome_options=options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment