hyTags
HomeHome DocumentationDocumentation

selection-is-disabled

Checks if the selected input element is disabled.
Parameter
Type
Description
return
bool
True if disabled, false otherwise
Test Case:Check if input is disabled
    <input type="text" disabled>
    
    <selection-is-disabled>
    <assert-true>
    
    👆 Try to change something!
  • Test Case:Check if input is not disabled
      <input type="text">
      
      <selection-is-disabled>
      <assert-false>
      
      👆 Try to change something!
    • Test succeeded Test failed