class HeadlessChromeProtocol : ChromeProtocol
(source)
HeadlessChromeProtocol(api: DebuggerProtocol, session: HeadlessSession) |
val session: HeadlessSession |
val Accessibility: AccessibilityDomain
Returns Accessibility domain object. |
|
val Animation: AnimationDomain
Returns Animation domain object. |
|
val ApplicationCache: ApplicationCacheDomain
Returns ApplicationCache domain object. |
|
val Audits: AuditsDomain
Audits domain allows investigation of page violations and possible improvements. |
|
val BackgroundService: BackgroundServiceDomain
Defines events for background web platform features. |
|
val Browser: BrowserDomain
The Browser domain defines methods and events for browser managing. |
|
val CacheStorage: CacheStorageDomain
Returns CacheStorage domain object. |
|
val Cast: CastDomain
A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities. |
|
val Console: ConsoleDomain
This domain is deprecated - use Runtime or Log instead. |
|
val CSS: CSSDomain
This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
have an associated |
|
val Database: DatabaseDomain
Returns Database domain object. |
|
val Debugger: DebuggerDomain
Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc. |
|
val DeviceOrientation: DeviceOrientationDomain
Returns DeviceOrientation domain object. |
|
val DOM: DOMDomain
This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
that has an |
|
val DOMDebugger: DOMDebuggerDomain
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. |
|
val DOMSnapshot: DOMSnapshotDomain
This domain facilitates obtaining document snapshots with DOM, layout, and style information. |
|
val DOMStorage: DOMStorageDomain
Query and modify DOM storage. |
|
val Emulation: EmulationDomain
This domain emulates different environments for the page. |
|
val Fetch: FetchDomain
A domain for letting clients substitute browser's network layer with client code. |
|
val HeadlessExperimental: HeadlessExperimentalDomain
This domain provides experimental commands only supported in headless mode. |
|
val HeapProfiler: HeapProfilerDomain
Returns HeapProfiler domain object. |
|
val IndexedDB: IndexedDBDomain
Returns IndexedDB domain object. |
|
val Input: InputDomain
Returns Input domain object. |
|
val Inspector: InspectorDomain
Returns Inspector domain object. |
|
val IO: IODomain
Input/Output operations for streams produced by DevTools. |
|
val LayerTree: LayerTreeDomain
Returns LayerTree domain object. |
|
val Log: LogDomain
Provides access to log entries. |
|
val Media: MediaDomain
This domain allows detailed inspection of media elements |
|
val Memory: MemoryDomain
Returns Memory domain object. |
|
val Network: NetworkDomain
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. |
|
val Overlay: OverlayDomain
This domain provides various functionality related to drawing atop the inspected page. |
|
val Page: PageDomain
Actions and events related to the inspected page belong to the page domain. |
|
val Performance: PerformanceDomain
Returns Performance domain object. |
|
val Profiler: ProfilerDomain
Returns Profiler domain object. |
|
val Runtime: RuntimeDomain
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. |
|
val Schema: SchemaDomain
Provides information about the protocol schema. |
|
val Security: SecurityDomain
Security |
|
val ServiceWorker: ServiceWorkerDomain
Returns ServiceWorker domain object. |
|
val Storage: StorageDomain
Returns Storage domain object. |
|
val SystemInfo: SystemInfoDomain
The SystemInfo domain defines methods and events for querying low-level system information. |
|
val Target: TargetDomain
Supports additional targets discovery and allows to attach to them. |
|
val Tethering: TetheringDomain
The Tethering domain defines methods and events for browser port binding. |
|
val Tracing: TracingDomain
Returns Tracing domain object. |
|
val WebAudio: WebAudioDomain
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/ |
|
val WebAuthn: WebAuthnDomain
This domain allows configuring virtual authenticators to test the WebAuthn API. |
fun toString(): String |
open fun close(): Unit
Closes debugging session. |
|
fun Events(): Flowable<ProtocolEvent>
Returns flowable capturing all events. |
fun create(api: ChromeProtocol, url: String, width: Int = 1024, height: Int = 768): HeadlessChromeProtocol |