DevTools class

Constructors

DevTools(Client client)

Properties

accessibility AccessibilityApi
no setter
animation AnimationApi
no setter
audits AuditsApi
Audits domain allows investigation of page violations and possible improvements.
no setter
autofill AutofillApi
Defines commands and events for Autofill.
no setter
backgroundService BackgroundServiceApi
Defines events for background web platform features.
no setter
bluetoothEmulation BluetoothEmulationApi
This domain allows configuring virtual Bluetooth devices to test the web-bluetooth API.
no setter
browser BrowserApi
The Browser domain defines methods and events for browser managing.
no setter
cacheStorage CacheStorageApi
no setter
cast CastApi
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
no setter
client → Client
final
css CSSApi
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.
no setter
database DatabaseApi
no setter
debugger DebuggerApi
Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.
no setter
deviceAccess DeviceAccessApi
no setter
deviceOrientation DeviceOrientationApi
no setter
dom DOMApi
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.
no setter
domDebugger DOMDebuggerApi
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.
no setter
domSnapshot DOMSnapshotApi
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
no setter
domStorage DOMStorageApi
Query and modify DOM storage.
no setter
emulation EmulationApi
This domain emulates different environments for the page.
no setter
eventBreakpoints EventBreakpointsApi
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.
no setter
extensions ExtensionsApi
Defines commands and events for browser extensions.
no setter
fedCm FedCmApi
This domain allows interacting with the FedCM dialog.
no setter
fetch FetchApi
A domain for letting clients substitute browser's network layer with client code.
no setter
fileSystem FileSystemApi
no setter
hashCode int
The hash code for this object.
no setterinherited
headlessExperimental HeadlessExperimentalApi
This domain provides experimental commands only supported in headless mode.
no setter
heapProfiler HeapProfilerApi
no setter
indexedDb IndexedDBApi
no setter
input InputApi
no setter
inspector InspectorApi
no setter
io IOApi
Input/Output operations for streams produced by DevTools.
no setter
layerTree LayerTreeApi
no setter
log LogApi
Provides access to log entries.
no setter
media MediaApi
This domain allows detailed inspection of media elements
no setter
memory MemoryApi
no setter
network NetworkApi
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.
no setter
overlay OverlayApi
This domain provides various functionality related to drawing atop the inspected page.
no setter
page PageApi
Actions and events related to the inspected page belong to the page domain.
no setter
performance PerformanceApi
no setter
performanceTimeline PerformanceTimelineApi
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
no setter
preload PreloadApi
no setter
profiler ProfilerApi
no setter
pwa PWAApi
This domain allows interacting with the browser to control PWAs.
no setter
runtime RuntimeApi
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.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security SecurityApi
Security
no setter
serviceWorker ServiceWorkerApi
no setter
storage StorageApi
no setter
systemInfo SystemInfoApi
The SystemInfo domain defines methods and events for querying low-level system information.
no setter
target TargetApi
Supports additional targets discovery and allows to attach to them.
no setter
tethering TetheringApi
The Tethering domain defines methods and events for browser port binding.
no setter
tracing TracingApi
no setter
webAudio WebAudioApi
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/
no setter
webAuthn WebAuthnApi
This domain allows configuring virtual authenticators to test the WebAuthn API.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited