Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Element.Disabled() and Element.MustDisabled() (#799)
This change allows users to check if an element is disabled. More information about the disabled attribute can be found at: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled Similar methods already exist in other browser automation frameworks. For example, Playwright has `elementHandle.isDisabled()`: https://playwright.dev/docs/api/class-elementhandle#element-handle-is-disabled This commit is based on discussions in #798
- Loading branch information
1 parent
70a7a73
commit 0d0e59e
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters