I use Selenium + Idea + Maven. as a command mvn clean test to display the Russian text, which is contained in
driver.getTitle() Try adding to pom.xml:
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> Well, in general, look towards the utf-8 encoding. Also check in the settings of the idea File> settings> Editor> File encodings, see what encoding in the run-console.
Source: https://ru.stackoverflow.com/questions/574834/
All Articles