Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jest check if button is disabled

const buttonState = document.getElementById("btn").disabled

// true means it is disabled
 
PREVIOUS NEXT
Tagged: #jest #check #button #disabled
ADD COMMENT
Topic
Name
1+5 =