puppeteer/website/versioned_docs/version-10.1.0/puppeteer.elementhandle.focus.md
2021-08-10 11:09:48 +01:00

466 B

Home > puppeteer > ElementHandle > focus

ElementHandle.focus() method

Calls focus on the element.

Signature:

focus(): Promise<void>;

Returns:

Promise<void>