Hi, I am new with the Browser library.
My robot opens Chromium browser in french but not the firefox.
I had downloaded my firefox in english at first so I reinstalled it in french but my robot still opens the firefox browser in english.
I tried the following :
New Browser browser=firefox headless=${HEADLESS_MODE} args=[“- -lang=fr-FR”]
but it does not work.
How can I force it to open the firefox browser in french please ?
That just means that the argument will not be recognized as an argument when running firefox. You can find the firefox specific arguments here: Firefox/CommandLineOptions - MozillaWiki
What i understood firefox does not have an argument that has a similar function as --lang. Though my guess is that you can achieve the same thing through firefox profiles. Give that a try!