Skip to content
CodeKruPro

isEditable State

32/70

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:

  1. Navigate to https://testkru.com/Elements/TextFields
  2. Check if each of the three fields is editable

Expected output:

lastNameWithPlaceholder editable: true
uneditable editable: false
disabledField editable: false