Headless Experimental Domain
This domain provides experimental commands only supported in headless mode.
Functions
Link copied to clipboard
inline suspend fun beginFrame(optionalArgs: BeginFrameRequest.Builder.() -> Unit = {}): BeginFrameResponse
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.gle/chrome-headless-rendering for more background.
Link copied to clipboard
Disables headless events for the target.
Link copied to clipboard
Enables headless events for the target.