Skip to main content
Version: 21.11.0

Locator.hover() method

Signature:

class Locator {
hover<ElementType extends Element>(
this: Locator<ElementType>,
options?: Readonly<ActionOptions>
): Promise<void>;
}

Parameters

ParameterTypeDescription
thisLocator<ElementType>
optionsReadonly<ActionOptions>(Optional)

Returns:

Promise<void>