Skip to content

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

Class: Element<Root> ​

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

A DOM element with native Playwright interactions.

Remarks ​

Changed in @pomeranian/lib-essential@Unreleased: control-specific actions moved to reusable capabilities and foundational controls; Element retains general actions.

Since ​

Available since @pomeranian/lib-essential@Unreleased

Extends ​

  • DomPageObject<Root>

Type Parameters ​

Root ​

Root extends UnboundRoot = UnboundRoot

Constructors ​

Properties ​

Accessors ​

Methods ​

constructor ​

constructor

[defaultInstanceType] ​

[defaultInstanceType]

defaultTarget ​

defaultTarget

locator ​

locator

page ​

page

root ​

root

blur ​

blur

click ​

click

dblclick ​

dblclick

focus ​

focus

hover ​

hover

press ​

press

pressSequentially ​

pressSequentially

selectText ​

selectText

type ​

type

create ​

create

with ​

with

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.