I am automating Native iOS application, and when i log an element in java console for elements which has special characters
Details:
Appium version 1.4.8
Java client 2.2.0 ( also tried latest versions as well)
"
WebElement getBtn = driver.findElements(by.xpath("//UIAApplication[1]/UIAWindow[1]/UIAButton[10]"));
String getbtnName = getBtn.getAttribute(“name”);
syso(getbtnName);
If my webElement when inspected shows button name as Share® ,but when printed in console its displaying as Share ?.
Kindly help me to fix this issue.
Thanks,
Sathya