chrome-devtools-kotlin / org.hildan.chrome.devtools.targets / RenderFrameTarget

RenderFrameTarget

interface RenderFrameTarget

Represents the available domain APIs in RenderFrame targets

Properties

audits

Audits domain allows investigation of page violations and possible improvements.

abstract val audits: AuditsDomain

backgroundService

Defines events for background web platform features.

abstract val backgroundService: BackgroundServiceDomain

browser

The Browser domain defines methods and events for browser managing.

abstract val browser: BrowserDomain

dom

This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an id. This id can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client.Note that iframe owner elements will return corresponding document elements as their child nodes.

abstract val dom: DOMDomain

emulation

This domain emulates different environments for the page.

abstract val emulation: EmulationDomain

fetch

A domain for letting clients substitute browser's network layer with client code.

abstract val fetch: FetchDomain

input

abstract val input: InputDomain

inspector

abstract val inspector: InspectorDomain

io

Input/Output operations for streams produced by DevTools.

abstract val io: IODomain

log

Provides access to log entries.

abstract val log: LogDomain

memory

abstract val memory: MemoryDomain

network

Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.

abstract val network: NetworkDomain

overlay

This domain provides various functionality related to drawing atop the inspected page.

abstract val overlay: OverlayDomain

page

Actions and events related to the inspected page belong to the page domain.

abstract val page: PageDomain

runtime

Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.

abstract val runtime: RuntimeDomain

schema

This domain is deprecated.

abstract val schema: SchemaDomain

security

Security

abstract val security: SecurityDomain

serviceWorker

abstract val serviceWorker: ServiceWorkerDomain

storage

abstract val storage: StorageDomain

target

Supports additional targets discovery and allows to attach to them.

abstract val target: TargetDomain

tracing

abstract val tracing: TracingDomain

webAuthn

This domain allows configuring virtual authenticators to test the WebAuthn API.

abstract val webAuthn: WebAuthnDomain

Inheritors

ChromePageSession

A page session, usually created when attaching to a page from the root browser session.

class ChromePageSession : AbstractTargetSession, RenderFrameTarget