Expand description
Typed Chrome DevTools Protocol helpers for Playhard.
This crate intentionally owns the protocol shape and typed command surface,
while leaving the actual transport boundary abstract. A future
playhard-transport crate can implement the transport trait without
changing the public CDP API.
Structs§
- Browser
GetVersion Params - Typed params for
Browser.getVersion. - Browser
GetVersion Result - Typed result for
Browser.getVersion. - Browser
Version - Browser version payload.
- CdpClient
- Async typed CDP client.
- CdpRequest
- CDP request envelope.
- CdpResponse
- CDP response envelope.
- CdpResponse
Error - CDP response error payload.
- Fetch
Continue Request Params - Typed params for
Fetch.continueRequest. - Fetch
Enable Params - Typed params for
Fetch.enable. - Fetch
Fail Request Params - Typed params for
Fetch.failRequest. - Fetch
Fulfill Request Params - Typed params for
Fetch.fulfillRequest. - Fetch
GetResponse Body Params - Typed params for
Fetch.getResponseBody. - Fetch
GetResponse Body Result - Typed result for
Fetch.getResponseBody. - Fetch
Header Entry - Typed fetch response header entry.
- Fetch
Pattern - Typed fetch request pattern.
- Input
Dispatch KeyEvent Params - Typed params for
Input.dispatchKeyEvent. - Input
Insert Text Params - Typed params for
Input.insertText. - Network
Enable Params - Typed params for
Network.enable. - Page
Capture Screenshot Params - Typed params for
Page.captureScreenshot. - Page
Capture Screenshot Result - Typed result for
Page.captureScreenshot. - Page
Create Isolated World Params - Typed params for
Page.createIsolatedWorld. - Page
Create Isolated World Result - Typed result for
Page.createIsolatedWorld. - Page
Enable Params - Typed params for
Page.enable. - Page
Frame - Page frame metadata.
- Page
Frame Tree - Recursive frame tree payload.
- Page
GetFrame Tree Params - Typed params for
Page.getFrameTree. - Page
GetFrame Tree Result - Typed result for
Page.getFrameTree. - Page
Navigate Params - Typed params for
Page.navigate. - Page
Navigate Result - Typed result for
Page.navigate. - Page
SetLifecycle Events Enabled Params - Typed params for
Page.setLifecycleEventsEnabled. - Remote
Object - Remote object returned by
Runtime.evaluate. - Runtime
Call Argument - Call argument for
Runtime.callFunctionOn. - Runtime
Call Function OnParams - Typed params for
Runtime.callFunctionOn. - Runtime
Call Function OnResult - Typed result for
Runtime.callFunctionOn. - Runtime
Enable Params - Typed params for
Runtime.enable. - Runtime
Evaluate Params - Typed params for
Runtime.evaluate. - Runtime
Evaluate Result - Typed result for
Runtime.evaluate. - Runtime
Release Object Params - Typed params for
Runtime.releaseObject. - Target
Attach ToTarget Params - Typed params for
Target.attachToTarget. - Target
Attach ToTarget Result - Typed result for
Target.attachToTarget. - Target
Create Target Params - Typed params for
Target.createTarget. - Target
Create Target Result - Typed result for
Target.createTarget. - Target
SetAuto Attach Params - Typed params for
Target.setAutoAttach. - Target
SetDiscover Targets Params - Typed params for
Target.setDiscoverTargets.
Enums§
- CdpError
- Errors produced by the typed CDP layer.
Traits§
- CdpTransport
- Abstract transport boundary for the typed CDP client.
- Command
- Typed command interface.
Functions§
- protocol_
spec - Returns the embedded upstream protocol specification bundled with Playhard.
Type Aliases§
- CdpValue
- Generic CDP JSON value.
- Response
Body - Raw response body returned by screenshot and similar APIs.
- Result
- Result alias for this crate.