'How to get text of an element containing rupee symbol in Selenium Web Driver
Html element<div id="id">₹120</div>
driver.findElement(By.id("id")).getText(); returns ? 120
I am trying to get this element text in string, but it returns ? instead of ₹
Solution 1:[1]
If you are using eclipse please do this: Go to Run Configurations and make sure console-encoding is UTF-8
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | shyam yadav |

