Functions
toBeDisabled
- toBeDisabled(element: UIElement, expectedState: boolean, options??: Options): Promise<SyncExpectationResult>
-
Parameters
-
element: UIElement
-
expectedState: boolean
-
Optional options: Options = true
Returns Promise<SyncExpectationResult>
Use
toBeDisabled
function when you want to check that an element is disabled