Skip to main content

Set Default Browser Language

The default language used within the Browser Studio sessions can be adjusted. To set the default language:

  1. Log in to the Selenium Agent machine(s) as the root user

  2. Open a command line with administrator permissions

  3. Within the Command Prompt, navigate to <selenium-installation-folder>/bin

  4. Run: setPreferredLanguage.bat <ISO_639-1_language_code>. . To see list of language codes,see List of ISO 639 language codes.

For example, to set the default language to French, run: setPreferredLanguage.bat fr

After making the changes, restart the Selenium Agent component.

The language is now changed. If you need to return the original language, run the following line:

removePreferredLanguage.bat

info

Only available for Windows based Selenium Agents. Firefox is not supported.