MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / grabDisabledElementStatus

Method grabDisabledElementStatus

lib/helper/Playwright.js:1577–1580  ·  view source on GitHub ↗

* Return the disabled status of given element. * * @param {CodeceptJS.LocatorOrString} locator element located by CSS|XPath|strict locator. * @param {object} [options] See https://playwright.dev/docs/api/class-locator#locator-is-disabled * @return {Promise } *

(locator, options = {})

Source from the content-addressed store, hash-verified

1575 */
1576
1577 async grabDisabledElementStatus(locator, options = {}) {
1578 const el = await this._locateElement(locator)
1579 return el.isDisabled(options)
1580 }
1581
1582 /**
1583 *

Callers 1

Playwright_test.jsFile · 0.80

Calls 1

_locateElementMethod · 0.95

Tested by

no test coverage detected