Localization testing / browser settings

How can I set the browser location to another country or language?

Currently we use https://wonderproxy.com for testing localized content and would like to see if TestProject is an adequate replacement.

Hi @christy.laguardia ,

To set the browser to another language, please follow these steps:

  1. Create a job, if you are new to the platform you can follow this documentation:
  1. Add your desired test that you want to change the browser language to the job that you have created, you can just drag and drop the test there:
    chrome_hvnSSt7sQ4

  2. Set driver desired capabilities:
    chrome_dHAkNuG22h

  3. Add these capabilities to your job:

{

"browserName": "chrome",

"version": 90,

"goog:chromeOptions": {

"args": [

"--lang=en"

]

}

}

Of course, in your specific test add the language that you desire.
Let me know if you have managed, and if you have any further questions, please let me know :slight_smile:

Just tried with chrome 103.0.5060.3 on macOS Monterey 12.4 and it doesn’t seem to be working.

{
  "browserName": "chrome",
  "goog:chromeOptions": {
    "args": [
      "incognito",
      "lang=es"
    ]
  }
}

Incognito is taken no problem, but not the language.
Tried with the “–” and without, but nothing changed.

This topic was automatically closed after 180 days. New replies are no longer allowed.