mercredi 20 mai 2020

TestCafe headless localization parameters

I am writing a fixture, and multiple tests assert the page's title to be some value. However, I did not account for the fact that the website is localized. My normal browser settings are English, but when I run the testcafe chrome:headless myTests.js my tests fails because the Localization changes, perhaps due to my PC's language?

I have tried running my local chrome installation and adding :userProfile, but without luck sadly.

The only other information I can find regarding this issue is, but I can't make it work:

Aucun commentaire:

Enregistrer un commentaire