Skip to main content
Version: Next

Locator.setEnsureElementIsInTheViewport() method

Signature:

class Locator {
setEnsureElementIsInTheViewport<ElementType extends Element>(
this: Locator<ElementType>,
value: boolean
): Locator<ElementType>;
}

Parameters

Parameter

Type

Description

this

Locator<ElementType>

value

boolean

Returns:

Locator<ElementType>