func (p BeginFrameParams) WithScreenshot(screenshot *ScreenshotParams) *BeginFrameParams {
	p.Screenshot = screenshot
	return &p
}
func (p BeginFrameParams) WithScreenshot(screenshot *ScreenshotParams) *BeginFrameParams {
	p.Screenshot = screenshot
	return &p
}
func ( p BeginFrameParams ) WithScreenshot ( screenshot * ScreenshotParams ) * BeginFrameParams { p . Screenshot = screenshot return & p }
// WithScreenshot if set, a screenshot of the frame will be captured and
// returned in the response. Otherwise, no screenshot will be captured. Note
// that capturing a screenshot can fail, for example, during renderer
// initialization. In such a case, no screenshot data will be returned.
WithScreenshot if set a screenshot of the frame will be captured and returned in the response . Otherwise no screenshot will be captured . Note that capturing a screenshot can fail for example during renderer initialization . In such a case no screenshot data will be returned .