Module browser_protocol

Source

Modules§

accessibility
animation
audits
Audits domain allows investigation of page violations and possible improvements.
autofill
Defines commands and events for Autofill.
background_service
Defines events for background web platform features.
bluetooth_emulation
This domain allows configuring virtual Bluetooth devices to test the web-bluetooth API.
browser
The Browser domain defines methods and events for browser managing.
cache_storage
cast
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
css
This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated id used in subsequent operations on the related object. Each object type has a specific id structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the get*ForNode() calls (which accept a DOM node id). A client can also keep track of stylesheets via the styleSheetAdded/styleSheetRemoved events and subsequently load the required stylesheet contents using the getStyleSheet[Text]() methods.
database
device_access
device_orientation
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.
dom_debugger
DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.
dom_snapshot
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
dom_storage
Query and modify DOM storage.
emulation
This domain emulates different environments for the page.
event_breakpoints
EventBreakpoints permits setting JavaScript breakpoints on operations and events occurring in native code invoked from JavaScript. Once breakpoint is hit, it is reported through Debugger domain, similarly to regular breakpoints being hit.
extensions
Defines commands and events for browser extensions.
fed_cm
This domain allows interacting with the FedCM dialog.
fetch
A domain for letting clients substitute browser’s network layer with client code.
file_system
headless_experimental
This domain provides experimental commands only supported in headless mode.
indexed_db
input
inspector
io
Input/Output operations for streams produced by DevTools.
layer_tree
log
Provides access to log entries.
media
This domain allows detailed inspection of media elements
memory
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.
overlay
This domain provides various functionality related to drawing atop the inspected page.
page
Actions and events related to the inspected page belong to the page domain.
performance
performance_timeline
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
preload
pwa
This domain allows interacting with the browser to control PWAs.
security
Security
service_worker
storage
system_info
The SystemInfo domain defines methods and events for querying low-level system information.
target
Supports additional targets discovery and allows to attach to them.
tethering
The Tethering domain defines methods and events for browser port binding.
tracing
web_audio
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/
web_authn
This domain allows configuring virtual authenticators to test the WebAuthn API.

Constants§

VERSION
The version of this protocol definition