I am working in with Selenium 3.14 in java to do UI testing on a login page. My code is trying to send values to an input element named password. Which is the field to input a password. Passing in "1111" will output a five digit string into the input field. It was working fine before but now it won't work at all.
value="1111" browser.findElement(passwordElement).sendKeys(value);
My output is some 5 character string. But the length should be 4
element.clear()
之前
element.sendKeys()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.