warningUse locator-based locator.isDisabled([options]) instead.
Checks if the element is disabled.
Parameter | Type | Default | Description |
---|---|---|---|
selector | string | '' | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
options | object | null |
Returns
Type | Description |
---|---|
bool | true if the element is disabled, else false. |