HtmlPage page = goToChangePreferredLocalePage(wc);
HtmlForm form = page.getHtmlElementById("changePreferredLocaleForm");
assertEquals("None (automatic detection)", form.getSelectByName("locale").asText());
form.getSelectByName("locale").setSelectedAttribute("fr", true);
page = form.getInputByValue("Choose").click();
wc.waitForBackgroundJavaScript(10000L);
testTitle(page, "Pr\u00e9f\u00e9rences");
testMessageExists(page, "La langue pr\u00e9f\u00e9r\u00e9e a \u00e9t\u00e9 modifi\u00e9e.");
WebAssert.assertElementNotPresent(page, "changePreferredLocaleForm");
page = page.getAnchorByText("Choisir votre langue pr\u00e9f\u00e9r\u00e9e").click();