Available on crate features
experimental and HeadlessExperimental and Page and Runtime only.Expand description
This domain provides experimental commands only supported in headless mode.
Structs§
- Begin
Frame Command - Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with –run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background.
- Begin
Frame Command Builder - Begin
Frame Return - Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with –run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background.
- Disable
Command - Disables headless events for the target.
- Disable
Return - Disables headless events for the target.
- Enable
Command - Enables headless events for the target.
- Enable
Return - Enables headless events for the target.
- Needs
Begin Frames Changed Event Deprecated - Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.
- Screenshot
Params - Encoding options for a screenshot.