-
public interface AllDomainsTargetRepresents the available domain APIs in AllDomains targets
-
-
Method Summary
Modifier and Type Method Description abstract AccessibilityDomaingetAccessibility()abstract AnimationDomaingetAnimation()abstract ApplicationCacheDomaingetApplicationCache()abstract AuditsDomaingetAudits()Audits domain allows investigation of page violations and possible improvements. abstract BackgroundServiceDomaingetBackgroundService()Defines events for background web platform features. abstract BrowserDomaingetBrowser()The Browser domain defines methods and events for browser managing. abstract CSSDomaingetCss()This domain exposes CSS read/write operations. abstract CacheStorageDomaingetCacheStorage()abstract CastDomaingetCast()A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities. abstract DOMDomaingetDom()This domain exposes DOM read/write operations. abstract DOMDebuggerDomaingetDomDebugger()DOM debugging allows setting breakpoints on particular DOM operations and events. abstract DOMSnapshotDomaingetDomSnapshot()This domain facilitates obtaining document snapshots with DOM, layout, and style information. abstract DOMStorageDomaingetDomStorage()Query and modify DOM storage. abstract DatabaseDomaingetDatabase()abstract DeviceOrientationDomaingetDeviceOrientation()abstract EmulationDomaingetEmulation()This domain emulates different environments for the page. abstract HeadlessExperimentalDomaingetHeadlessExperimental()This domain provides experimental commands only supported in headless mode. abstract IODomaingetIo()Input/Output operations for streams produced by DevTools. abstract IndexedDBDomaingetIndexedDB()abstract InputDomaingetInput()abstract InspectorDomaingetInspector()abstract LayerTreeDomaingetLayerTree()abstract LogDomaingetLog()Provides access to log entries. abstract MemoryDomaingetMemory()abstract NetworkDomaingetNetwork()Network domain allows tracking network activities of the page. abstract OverlayDomaingetOverlay()This domain provides various functionality related to drawing atop the inspected page. abstract PageDomaingetPage()Actions and events related to the inspected page belong to the page domain. abstract PerformanceDomaingetPerformance()abstract PerformanceTimelineDomaingetPerformanceTimeline()Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver. abstract SecurityDomaingetSecurity()Security abstract ServiceWorkerDomaingetServiceWorker()abstract StorageDomaingetStorage()abstract SystemInfoDomaingetSystemInfo()The SystemInfo domain defines methods and events for querying low-level system information. abstract TargetDomaingetTarget()Supports additional targets discovery and allows to attach to them. abstract TetheringDomaingetTethering()The Tethering domain defines methods and events for browser port binding. abstract TracingDomaingetTracing()abstract FetchDomaingetFetch()A domain for letting clients substitute browser's network layer with client code. abstract WebAudioDomaingetWebAudio()This domain allows inspection of Web Audio API. abstract WebAuthnDomaingetWebAuthn()This domain allows configuring virtual authenticators to test the WebAuthn API. abstract MediaDomaingetMedia()This domain allows detailed inspection of media elements abstract ConsoleDomaingetConsole()This domain is deprecated - use Runtime or Log instead. abstract DebuggerDomaingetDebugger()Debugger domain exposes JavaScript debugging capabilities. abstract HeapProfilerDomaingetHeapProfiler()abstract ProfilerDomaingetProfiler()abstract RuntimeDomaingetRuntime()Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. abstract SchemaDomaingetSchema()This domain is deprecated. -
-
Method Detail
-
getAccessibility
abstract AccessibilityDomain getAccessibility()
-
getAnimation
abstract AnimationDomain getAnimation()
-
getApplicationCache
abstract ApplicationCacheDomain getApplicationCache()
-
getAudits
abstract AuditsDomain getAudits()
Audits domain allows investigation of page violations and possible improvements.
-
getBackgroundService
abstract BackgroundServiceDomain getBackgroundService()
Defines events for background web platform features.
-
getBrowser
abstract BrowserDomain getBrowser()
The Browser domain defines methods and events for browser managing.
-
getCss
abstract CSSDomain getCss()
This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated
idused in subsequent operations on the related object. Each object type has a specificidstructure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using theget*ForNode()calls (which accept a DOM node id). A client can also keep track of stylesheets via thestyleSheetAdded/styleSheetRemovedevents and subsequently load the required stylesheet contents using thegetStyleSheet[Text]()methods.
-
getCacheStorage
abstract CacheStorageDomain getCacheStorage()
-
getCast
abstract CastDomain getCast()
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
-
getDom
abstract DOMDomain getDom()
This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an
id. Thisidcan 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.<p>Note thatiframeowner elements will return corresponding document elements as their child nodes.</p>
-
getDomDebugger
abstract DOMDebuggerDomain getDomDebugger()
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.
-
getDomSnapshot
abstract DOMSnapshotDomain getDomSnapshot()
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
-
getDomStorage
abstract DOMStorageDomain getDomStorage()
Query and modify DOM storage.
-
getDatabase
abstract DatabaseDomain getDatabase()
-
getDeviceOrientation
abstract DeviceOrientationDomain getDeviceOrientation()
-
getEmulation
abstract EmulationDomain getEmulation()
This domain emulates different environments for the page.
-
getHeadlessExperimental
abstract HeadlessExperimentalDomain getHeadlessExperimental()
This domain provides experimental commands only supported in headless mode.
-
getIndexedDB
abstract IndexedDBDomain getIndexedDB()
-
getInput
abstract InputDomain getInput()
-
getInspector
abstract InspectorDomain getInspector()
-
getLayerTree
abstract LayerTreeDomain getLayerTree()
-
getMemory
abstract MemoryDomain getMemory()
-
getNetwork
abstract NetworkDomain getNetwork()
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.
-
getOverlay
abstract OverlayDomain getOverlay()
This domain provides various functionality related to drawing atop the inspected page.
-
getPage
abstract PageDomain getPage()
Actions and events related to the inspected page belong to the page domain.
-
getPerformance
abstract PerformanceDomain getPerformance()
-
getPerformanceTimeline
abstract PerformanceTimelineDomain getPerformanceTimeline()
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
-
getSecurity
abstract SecurityDomain getSecurity()
Security
-
getServiceWorker
abstract ServiceWorkerDomain getServiceWorker()
-
getStorage
abstract StorageDomain getStorage()
-
getSystemInfo
abstract SystemInfoDomain getSystemInfo()
The SystemInfo domain defines methods and events for querying low-level system information.
-
getTarget
abstract TargetDomain getTarget()
Supports additional targets discovery and allows to attach to them.
-
getTethering
abstract TetheringDomain getTethering()
The Tethering domain defines methods and events for browser port binding.
-
getTracing
abstract TracingDomain getTracing()
-
getFetch
abstract FetchDomain getFetch()
A domain for letting clients substitute browser's network layer with client code.
-
getWebAudio
abstract WebAudioDomain getWebAudio()
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/
-
getWebAuthn
abstract WebAuthnDomain getWebAuthn()
This domain allows configuring virtual authenticators to test the WebAuthn API.
-
getMedia
abstract MediaDomain getMedia()
This domain allows detailed inspection of media elements
-
getConsole
abstract ConsoleDomain getConsole()
This domain is deprecated - use Runtime or Log instead.
-
getDebugger
abstract DebuggerDomain getDebugger()
Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.
-
getHeapProfiler
abstract HeapProfilerDomain getHeapProfiler()
-
getProfiler
abstract ProfilerDomain getProfiler()
-
getRuntime
abstract RuntimeDomain getRuntime()
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.
-
getSchema
abstract SchemaDomain getSchema()
This domain is deprecated.
-
-
-
-