How to get a list of disabled elements on a page using Cypress?
Thanks in advance.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this communityA disabled html element has disabled
attribute, e.g.:
<input type="text" id="name" name="name" disabled>
to find such elements in Cypress could be achieved with .get()
command:
cy
.get('[disabled]')