I dont know if this works, because this is based o...
# help
m
I dont know if this works, because this is based on an older cypress where you could change the browser lang. but in your cypress.config.js you can add the following before browser launch.
Copy code
js
module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      on("before:browser:launch", (browser = {}, launchOptions)=>{
        if (browser.name === 'chrome') {
          launchOptions.args.push('--lang=uk');
          return launchOptions;
        }
      })
    },
  },
})