Skip to main content

ElementHandle.focus() method

Calls focus on the element.

Signature:
focus(): Promise<void>;
Returns:

Promise<void>