Capabilities

What a device can actually do.

Every field is the result of a probe, never an inference from a version number: availability is a property of the WebView build on the device, and that updates independently of the operating system. A capability reported here as present never raises ErrorCode.UNSUPPORTED in use; one reported absent raises it immediately rather than timing out.

Properties

Link copied to clipboard

Scripts can be installed before any page script runs.

Link copied to clipboard

The protocol backend connected. False means the platform backend serves everything.

Link copied to clipboard

The renderer reports responsiveness, so a hung page is detectable before it crashes.

Link copied to clipboard

This session can produce a screenshot. Requires a viewport-sized session.

Link copied to clipboard

Requests issued by a service worker can be intercepted.

Link copied to clipboard

The typed, origin-scoped channel from page context to native code is available.

Functions

Link copied to clipboard
open override fun toString(): String

A readable summary of every probed flag, for logs.