SessionState

Lifecycle states of a page session.

acquire → initialize → navigate → settle → operate → close → release

Entries

Link copied to clipboard

Session object exists but PageSession.initialize has not run yet.

Link copied to clipboard

The underlying WebView has been created and is ready to navigate.

Link copied to clipboard

A navigation is in flight.

Link copied to clipboard

Waiting for the page to become idle after navigation before it can be used.

Link copied to clipboard

A caller-driven operation (script evaluation, interaction, etc.) is running.

Link copied to clipboard

Torn down; any further use throws ErrorCode.DETACHED.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.