Skip to content

Pomeranian development reference / lib-essential/src/element / Element / type

Method: type() ​

type(...args): Promise<void>

Defined in: packages/lib-essential/src/element.ts:61

Perform native type, retaining Playwright waiting, options and errors.

Parameters ​

args ​

...[text: string, options?: object]

Returns ​

Promise<void>

Deprecated ​

Use fill for replacement or pressSequentially for keyboard input.

Since ​

Available since @pomeranian/lib-essential@Unreleased

Context ​

Owner: Element.

Owner type parameters ​

Root ​

Root extends UnboundRoot = UnboundRoot

Unreleased @pomeranian/lib-essential API: @pomeranian/lib-essential implementation from main; no npm release is implied.

Unreleased development documentation from main. APIs and prototypes are labelled separately.