puppeteer/website/versioned_docs/version-9.1.1/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>