Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 295 Bytes

puppeteer.elementhandle.focus.md

File metadata and controls

19 lines (13 loc) · 295 Bytes
sidebar_label
ElementHandle.focus

ElementHandle.focus() method

Calls focus on the element.

Signature:

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

Returns:

Promise<void>