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