Below is the xml code for login screen.
can someone find element without using value for password field
UIASecureTextField name="" label="" value=“Password” dom="" enabled=“true” valid=“true” visible=“true” hint="" path="/0/0/17" x=“204” y=“353” width=“370” height=“36”>
Complete xml code
<?xml version="1.0" encoding="UTF-8"?>
Degard
2
Try use: driver.findElement(By.className("UIASecureTextField"));
Hi Degard, i have little doubt if xml code will have 2 classname with similar name…
do we have other option? will find by value using xpath will be good for future?
Below is the complete xml code
<?xml version="1.0" encoding="UTF-8"?>