Hovers over the located element.
class Locator {
hover<ElementType extends Element>(
this: Locator<ElementType>,
options?: Readonly<ActionOptions>,
): Promise<void>;
}
Parameter | Type | Description |
---|---|---|
this | [Locator](./puppeteer.locator.md)<ElementType> | |
options | Readonly<[ActionOptions](./puppeteer.actionoptions.md)> | _(Optional)_ |
Returns:
Promise<void>