Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebDriverException Element must be user-editable in order to clear it

I am trying to run test cases to perform reset password and I am facing this issue.

WebDriverException Element must be user-editable in order to clear it.

Basically i am accessing the page for entering the new password and doing this:

browser.$("#newPassword").text("password");

where execution of the above line throws the error.

like image 292
Immanuel Fredrick Avatar asked Feb 25 '15 05:02

Immanuel Fredrick


1 Answers

I had the same problem and it was because there was another element with the same id which was not an input field so it could not be cleared.

like image 147
mosaad Avatar answered Oct 05 '22 00:10

mosaad