isEditable State
locator.isEditable() returns true if the element is editable (not readonly and not disabled).
On the Text Fields page:
#lastNameWithPlaceholder— editable field#uneditable— readonly field#disabledField— disabled field
Task:
- Navigate to
https://testkru.com/Elements/TextFields - Check if each of the three fields is editable
Expected output:
lastNameWithPlaceholder editable: true uneditable editable: false disabledField editable: false
TestKru