You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
I'm unable to pass Chrome Locale via Desired Capabilities nor Browser Options.
I noticed in the code that Desired capabilities for Chrome are not affected by parameters sent in Open Browser keyword call - not implemented.
I made it work by small code change (shown below) in createDesiredCapabilities method.
ChromeOptions options = new ChromeOptions(); Map<String, Object> prefs = new HashMap<String, Object>(); prefs.put("intl.accept_languages", "de-AT"); options.setExperimentalOption("prefs", prefs); desiredCapabilities.setCapability(ChromeOptions.CAPABILITY, options);
Is there any workaround or plan for change?
The text was updated successfully, but these errors were encountered:
I think that I need to refactor that part a bit in general, as browser is only getting desired capabilities (or Options in Selenium 3). So no browser specific things, just common parsing functions.
I'm unable to pass Chrome Locale via Desired Capabilities nor Browser Options.
I noticed in the code that Desired capabilities for Chrome are not affected by parameters sent in Open Browser keyword call - not implemented.
I made it work by small code change (shown below) in createDesiredCapabilities method.
ChromeOptions options = new ChromeOptions();
Map<String, Object> prefs = new HashMap<String, Object>();
prefs.put("intl.accept_languages", "de-AT");
options.setExperimentalOption("prefs", prefs);
desiredCapabilities.setCapability(ChromeOptions.CAPABILITY, options);
Is there any workaround or plan for change?
The text was updated successfully, but these errors were encountered: