0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/website/versioned_docs/version-10.1.0/puppeteer.elementhandle.hover.md
2021-08-10 11:09:48 +01:00

577 B

Home > puppeteer > ElementHandle > hover

ElementHandle.hover() method

This method scrolls element into view if needed, and then uses Page.mouse to hover over the center of the element. If the element is detached from DOM, the method throws an error.

Signature:

hover(): Promise<void>;

Returns:

Promise<void>