puppeteer/docs/api/puppeteer.elementhandle.focus.md
2022-07-05 15:41:43 +02:00

294 B

sidebar_label
ElementHandle.focus

ElementHandle.focus() method

Calls focus on the element.

Signature:

class ElementHandle {
  focus(): Promise<void>;
}

Returns:

Promise<void>