Click or drag to resize

DevToolsClient Class

Version 99.2.120
DevTool Client
Generated DevToolsClient methods
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsClient

Namespace:  CefSharp.DevTools
Assembly:  CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.0)
Syntax
public class DevToolsClient : IDevToolsMessageObserver, 
	IDisposable, IDevToolsClient

The DevToolsClient type exposes the following members.

Constructors
  NameDescription
Public methodDevToolsClient
DevToolsClient
Top
Properties
  NameDescription
Public propertyAccessibility
Accessibility
Public propertyAnimation
Animation
Public propertyAudits
Audits domain allows investigation of page violations and possible improvements.
Public propertyBackgroundService
Defines events for background web platform features.
Public propertyBrowser
The Browser domain defines methods and events for browser managing.
Public propertyCacheStorage
CacheStorage
Public propertyCaptureSyncContext
Capture the current SynchronizationContext so continuation executes on the original calling thread. If Current is null for ExecuteDevToolsMethodAsync(String, IDictionaryString, Object) then the continuation will be run on the CEF UI Thread (by default this is not the same as the WPF/WinForms UI Thread).
Public propertyCast
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.
Public propertyCSS
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.
Public propertyDatabase
Database
Public propertyDebugger
Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.
Public propertyDeviceOrientation
DeviceOrientation
Public propertyDOM
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.<p>Note that `iframe` owner elements will return corresponding document elements as their child nodes.</p>
Public propertyDOMDebugger
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.
Public propertyDOMSnapshot
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
Public propertyDOMStorage
Query and modify DOM storage.
Public propertyEmulation
This domain emulates different environments for the page.
Public propertyEventBreakpoints
EventBreakpoints permits setting breakpoints on particular operations and events in targets that run JavaScript but do not have a DOM. JavaScript execution will stop on these operations as if there was a regular breakpoint set.
Public propertyFetch
A domain for letting clients substitute browser's network layer with client code.
Public propertyHeadlessExperimental
This domain provides experimental commands only supported in headless mode.
Public propertyHeapProfiler
HeapProfiler
Public propertyIndexedDB
IndexedDB
Public propertyInput
Input
Public propertyInspector
Inspector
Public propertyIO
Input/Output operations for streams produced by DevTools.
Public propertyLayerTree
LayerTree
Public propertyLog
Provides access to log entries.
Public propertyMedia
This domain allows detailed inspection of media elements
Public propertyMemory
Memory
Public propertyNetwork
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.
Public propertyOverlay
This domain provides various functionality related to drawing atop the inspected page.
Public propertyPage
Actions and events related to the inspected page belong to the page domain.
Public propertyPerformance
Performance
Public propertyPerformanceTimeline
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
Public propertyProfiler
Profiler
Public propertyRuntime
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.
Public propertySecurity
Security
Public propertyServiceWorker
ServiceWorker
Public propertyStorage
Storage
Public propertySyncContext
When not null provided SynchronizationContext will be used to run the contination. Defaults to null Setting this property will change CaptureSyncContext to false.
Public propertySystemInfo
The SystemInfo domain defines methods and events for querying low-level system information.
Public propertyTarget
Supports additional targets discovery and allows to attach to them.
Public propertyTethering
The Tethering domain defines methods and events for browser port binding.
Public propertyTracing
Tracing
Public propertyWebAudio
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/
Public propertyWebAuthn
This domain allows configuring virtual authenticators to test the WebAuthn API.
Top
Methods
  NameDescription
Public methodAddEventHandlerT
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteDevToolsMethodAsync(String, IDictionaryString, Object)
Execute a method call over the DevTools protocol. This method can be called on any thread. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters dictionary contents.
Public methodExecuteDevToolsMethodAsyncT(String, IDictionaryString, Object)
Execute a method call over the DevTools protocol. This method can be called on any thread. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters dictionary contents.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveEventHandlerT
Remove event handler for a DevTools protocol event.
Public methodSetDevToolsObserverRegistration
Store a reference to the IRegistration that's returned when you register an observer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
See Also