Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Element.Disabled() and Element.MustDisabled() #799

Merged
merged 1 commit into from Feb 6, 2023
Merged

Add Element.Disabled() and Element.MustDisabled() #799

merged 1 commit into from Feb 6, 2023

Commits on Feb 6, 2023

  1. Add Element.Disabled() and Element.MustDisabled()

    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
    Jacobinski committed Feb 6, 2023
    Copy the full SHA
    6e00d2d View commit details
    Browse the repository at this point in the history