Bản chất của vấn đề này là do Chrome nó tự động nhận ra đây là Việt Nam nên nó load content Tiếng Việt mặc định. để có thể load tiếng anh bạn có thể sử dụng đoạn code dưới đây lúc khởi tạo ChromDriver:
Code: Select all
HashMap<String, Object> chromePrefs = new HashMap<String, Object>();
chromePrefs.put("intl.accept_languages", "en");
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("prefs", chromePrefs);
driver = new ChromeDriver(options);