Og Maciel
Og Maciel
This _should_ work for all browsers but I cannot get it to work: ``` python from selenium import webdriver capabilities = webdriver.chrome.options.DesiredCapabilities.CHROME capabilities["intl.accept_languages"] = "fr" driver = webdriver.Chrome(desired_capabilities=capabilities) driver.get("http://google.com") ```
This also does not seem to change the locale: ``` python from selenium import webdriver options = webdriver.chrome.options.Options() options.add_argument('--lang=fr') driver = webdriver.Chrome(chrome_options=options) driver.get("http://google.com") ```
So perhaps we could create a temporary directory (mktemp I believe) to hold these profiles dynamically :)
Interestingly enough this fixed my issue: https://github.com/omaciel/Pymacs/commit/d710524c182f003e5db19e0bad26d1a906c18fc1
I agree with @rplevka that we shouldn't be too quick to make changes here. While I understand that we're moving (or have already done so) to Zelenium, I don't think...
I am a fan of how `pulp_smash` handles configuration... maybe we could look into it? Also, I believe that @rochacbruno has a project that does this well :)
Got any suggestions on how to decide what to hide and what to display. This may now be irrelevant as we're grouping results and searching by exact matches.
@rplevka are you suggesting that we remove the conditional statements and code that don't apply to the version of Satellite being tested?
Sweet! I will try to get this baked in as soon as I can (unless you beat me to it) :)
Maybe using `requests-HTML` module? ```python >>> from requests_html import HTMLSession >>> session = HTMLSession() >>> r = session.get('/FOO') >>> assert len(r.html.find('#about', first=True)) == 0 ``` Where `#about` would be perhaps...