Set browser language to Polish in tests

Added "--lang=pl" argument to ChromeOptions for setting the browser language to Polish. This ensures consistency for tests requiring localization in Polish.
This commit is contained in:
Factor committed 2025-03-20 19:42:20 +01:00
1 parent 68a368ca2d
commit 9959fd42b8
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ public class Hooks {
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");
options.addArguments("--lang=pl");
Configuration.browserCapabilities = options;
Configuration.browser = "chrome";