oapi

package
v0.0.0-...-4fa3274 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package oapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewBatchComputerActionRequest

func NewBatchComputerActionRequest(server string, body BatchComputerActionJSONRequestBody) (*http.Request, error)

NewBatchComputerActionRequest calls the generic BatchComputerAction builder with application/json body

func NewBatchComputerActionRequestWithBody

func NewBatchComputerActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBatchComputerActionRequestWithBody generates requests for BatchComputerAction with any type of body

func NewChromiumConfigureRequestWithBody

func NewChromiumConfigureRequestWithBody(server string, params *ChromiumConfigureParams, contentType string, body io.Reader) (*http.Request, error)

NewChromiumConfigureRequestWithBody generates requests for ChromiumConfigure with any type of body

func NewClickMouseRequest

func NewClickMouseRequest(server string, body ClickMouseJSONRequestBody) (*http.Request, error)

NewClickMouseRequest calls the generic ClickMouse builder with application/json body

func NewClickMouseRequestWithBody

func NewClickMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewClickMouseRequestWithBody generates requests for ClickMouse with any type of body

func NewCreateDirectoryRequest

func NewCreateDirectoryRequest(server string, body CreateDirectoryJSONRequestBody) (*http.Request, error)

NewCreateDirectoryRequest calls the generic CreateDirectory builder with application/json body

func NewCreateDirectoryRequestWithBody

func NewCreateDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDirectoryRequestWithBody generates requests for CreateDirectory with any type of body

func NewDeleteDirectoryRequest

func NewDeleteDirectoryRequest(server string, body DeleteDirectoryJSONRequestBody) (*http.Request, error)

NewDeleteDirectoryRequest calls the generic DeleteDirectory builder with application/json body

func NewDeleteDirectoryRequestWithBody

func NewDeleteDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteDirectoryRequestWithBody generates requests for DeleteDirectory with any type of body

func NewDeleteFileRequest

func NewDeleteFileRequest(server string, body DeleteFileJSONRequestBody) (*http.Request, error)

NewDeleteFileRequest calls the generic DeleteFile builder with application/json body

func NewDeleteFileRequestWithBody

func NewDeleteFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteFileRequestWithBody generates requests for DeleteFile with any type of body

func NewDeleteRecordingRequest

func NewDeleteRecordingRequest(server string, body DeleteRecordingJSONRequestBody) (*http.Request, error)

NewDeleteRecordingRequest calls the generic DeleteRecording builder with application/json body

func NewDeleteRecordingRequestWithBody

func NewDeleteRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteRecordingRequestWithBody generates requests for DeleteRecording with any type of body

func NewDisableScaleToZeroRequest

func NewDisableScaleToZeroRequest(server string) (*http.Request, error)

NewDisableScaleToZeroRequest generates requests for DisableScaleToZero

func NewDownloadDirZipRequest

func NewDownloadDirZipRequest(server string, params *DownloadDirZipParams) (*http.Request, error)

NewDownloadDirZipRequest generates requests for DownloadDirZip

func NewDownloadDirZstdRequest

func NewDownloadDirZstdRequest(server string, params *DownloadDirZstdParams) (*http.Request, error)

NewDownloadDirZstdRequest generates requests for DownloadDirZstd

func NewDownloadRecordingRequest

func NewDownloadRecordingRequest(server string, params *DownloadRecordingParams) (*http.Request, error)

NewDownloadRecordingRequest generates requests for DownloadRecording

func NewDragMouseRequest

func NewDragMouseRequest(server string, body DragMouseJSONRequestBody) (*http.Request, error)

NewDragMouseRequest calls the generic DragMouse builder with application/json body

func NewDragMouseRequestWithBody

func NewDragMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDragMouseRequestWithBody generates requests for DragMouse with any type of body

func NewEnableScaleToZeroRequest

func NewEnableScaleToZeroRequest(server string) (*http.Request, error)

NewEnableScaleToZeroRequest generates requests for EnableScaleToZero

func NewExecutePlaywrightCodeRequest

func NewExecutePlaywrightCodeRequest(server string, body ExecutePlaywrightCodeJSONRequestBody) (*http.Request, error)

NewExecutePlaywrightCodeRequest calls the generic ExecutePlaywrightCode builder with application/json body

func NewExecutePlaywrightCodeRequestWithBody

func NewExecutePlaywrightCodeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewExecutePlaywrightCodeRequestWithBody generates requests for ExecutePlaywrightCode with any type of body

func NewFileInfoRequest

func NewFileInfoRequest(server string, params *FileInfoParams) (*http.Request, error)

NewFileInfoRequest generates requests for FileInfo

func NewGetMousePositionRequest

func NewGetMousePositionRequest(server string) (*http.Request, error)

NewGetMousePositionRequest generates requests for GetMousePosition

func NewGetTelemetryRequest

func NewGetTelemetryRequest(server string) (*http.Request, error)

NewGetTelemetryRequest generates requests for GetTelemetry

func NewGetWebMCPToolsRequest

func NewGetWebMCPToolsRequest(server string) (*http.Request, error)

NewGetWebMCPToolsRequest generates requests for GetWebMCPTools

func NewInvokeWebMCPToolRequest

func NewInvokeWebMCPToolRequest(server string, body InvokeWebMCPToolJSONRequestBody) (*http.Request, error)

NewInvokeWebMCPToolRequest calls the generic InvokeWebMCPTool builder with application/json body

func NewInvokeWebMCPToolRequestWithBody

func NewInvokeWebMCPToolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewInvokeWebMCPToolRequestWithBody generates requests for InvokeWebMCPTool with any type of body

func NewListFilesRequest

func NewListFilesRequest(server string, params *ListFilesParams) (*http.Request, error)

NewListFilesRequest generates requests for ListFiles

func NewListRecordersRequest

func NewListRecordersRequest(server string) (*http.Request, error)

NewListRecordersRequest generates requests for ListRecorders

func NewLogsStreamRequest

func NewLogsStreamRequest(server string, params *LogsStreamParams) (*http.Request, error)

NewLogsStreamRequest generates requests for LogsStream

func NewMarkRecordingRequest

func NewMarkRecordingRequest(server string, body MarkRecordingJSONRequestBody) (*http.Request, error)

NewMarkRecordingRequest calls the generic MarkRecording builder with application/json body

func NewMarkRecordingRequestWithBody

func NewMarkRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewMarkRecordingRequestWithBody generates requests for MarkRecording with any type of body

func NewMoveMouseRequest

func NewMoveMouseRequest(server string, body MoveMouseJSONRequestBody) (*http.Request, error)

NewMoveMouseRequest calls the generic MoveMouse builder with application/json body

func NewMoveMouseRequestWithBody

func NewMoveMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewMoveMouseRequestWithBody generates requests for MoveMouse with any type of body

func NewMovePathRequest

func NewMovePathRequest(server string, body MovePathJSONRequestBody) (*http.Request, error)

NewMovePathRequest calls the generic MovePath builder with application/json body

func NewMovePathRequestWithBody

func NewMovePathRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewMovePathRequestWithBody generates requests for MovePath with any type of body

func NewPatchChromiumFlagsRequest

func NewPatchChromiumFlagsRequest(server string, body PatchChromiumFlagsJSONRequestBody) (*http.Request, error)

NewPatchChromiumFlagsRequest calls the generic PatchChromiumFlags builder with application/json body

func NewPatchChromiumFlagsRequestWithBody

func NewPatchChromiumFlagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchChromiumFlagsRequestWithBody generates requests for PatchChromiumFlags with any type of body

func NewPatchChromiumPoliciesRequest

func NewPatchChromiumPoliciesRequest(server string, body PatchChromiumPoliciesJSONRequestBody) (*http.Request, error)

NewPatchChromiumPoliciesRequest calls the generic PatchChromiumPolicies builder with application/json body

func NewPatchChromiumPoliciesRequestWithBody

func NewPatchChromiumPoliciesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchChromiumPoliciesRequestWithBody generates requests for PatchChromiumPolicies with any type of body

func NewPatchDisplayRequest

func NewPatchDisplayRequest(server string, body PatchDisplayJSONRequestBody) (*http.Request, error)

NewPatchDisplayRequest calls the generic PatchDisplay builder with application/json body

func NewPatchDisplayRequestWithBody

func NewPatchDisplayRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchDisplayRequestWithBody generates requests for PatchDisplay with any type of body

func NewPatchTelemetryRequest

func NewPatchTelemetryRequest(server string, body PatchTelemetryJSONRequestBody) (*http.Request, error)

NewPatchTelemetryRequest calls the generic PatchTelemetry builder with application/json body

func NewPatchTelemetryRequestWithBody

func NewPatchTelemetryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchTelemetryRequestWithBody generates requests for PatchTelemetry with any type of body

func NewPressKeyRequest

func NewPressKeyRequest(server string, body PressKeyJSONRequestBody) (*http.Request, error)

NewPressKeyRequest calls the generic PressKey builder with application/json body

func NewPressKeyRequestWithBody

func NewPressKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPressKeyRequestWithBody generates requests for PressKey with any type of body

func NewProcessExecRequest

func NewProcessExecRequest(server string, body ProcessExecJSONRequestBody) (*http.Request, error)

NewProcessExecRequest calls the generic ProcessExec builder with application/json body

func NewProcessExecRequestWithBody

func NewProcessExecRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewProcessExecRequestWithBody generates requests for ProcessExec with any type of body

func NewProcessKillRequest

func NewProcessKillRequest(server string, processId openapi_types.UUID, body ProcessKillJSONRequestBody) (*http.Request, error)

NewProcessKillRequest calls the generic ProcessKill builder with application/json body

func NewProcessKillRequestWithBody

func NewProcessKillRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewProcessKillRequestWithBody generates requests for ProcessKill with any type of body

func NewProcessResizeRequest

func NewProcessResizeRequest(server string, processId openapi_types.UUID, body ProcessResizeJSONRequestBody) (*http.Request, error)

NewProcessResizeRequest calls the generic ProcessResize builder with application/json body

func NewProcessResizeRequestWithBody

func NewProcessResizeRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewProcessResizeRequestWithBody generates requests for ProcessResize with any type of body

func NewProcessSpawnRequest

func NewProcessSpawnRequest(server string, body ProcessSpawnJSONRequestBody) (*http.Request, error)

NewProcessSpawnRequest calls the generic ProcessSpawn builder with application/json body

func NewProcessSpawnRequestWithBody

func NewProcessSpawnRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewProcessSpawnRequestWithBody generates requests for ProcessSpawn with any type of body

func NewProcessStatusRequest

func NewProcessStatusRequest(server string, processId openapi_types.UUID) (*http.Request, error)

NewProcessStatusRequest generates requests for ProcessStatus

func NewProcessStdinRequest

func NewProcessStdinRequest(server string, processId openapi_types.UUID, body ProcessStdinJSONRequestBody) (*http.Request, error)

NewProcessStdinRequest calls the generic ProcessStdin builder with application/json body

func NewProcessStdinRequestWithBody

func NewProcessStdinRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewProcessStdinRequestWithBody generates requests for ProcessStdin with any type of body

func NewProcessStdoutStreamRequest

func NewProcessStdoutStreamRequest(server string, processId openapi_types.UUID) (*http.Request, error)

NewProcessStdoutStreamRequest generates requests for ProcessStdoutStream

func NewPublishTelemetryEventRequest

func NewPublishTelemetryEventRequest(server string, body PublishTelemetryEventJSONRequestBody) (*http.Request, error)

NewPublishTelemetryEventRequest calls the generic PublishTelemetryEvent builder with application/json body

func NewPublishTelemetryEventRequestWithBody

func NewPublishTelemetryEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPublishTelemetryEventRequestWithBody generates requests for PublishTelemetryEvent with any type of body

func NewPutTelemetryRequest

func NewPutTelemetryRequest(server string, body PutTelemetryJSONRequestBody) (*http.Request, error)

NewPutTelemetryRequest calls the generic PutTelemetry builder with application/json body

func NewPutTelemetryRequestWithBody

func NewPutTelemetryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutTelemetryRequestWithBody generates requests for PutTelemetry with any type of body

func NewReadClipboardRequest

func NewReadClipboardRequest(server string) (*http.Request, error)

NewReadClipboardRequest generates requests for ReadClipboard

func NewReadFileRequest

func NewReadFileRequest(server string, params *ReadFileParams) (*http.Request, error)

NewReadFileRequest generates requests for ReadFile

func NewScrollRequest

func NewScrollRequest(server string, body ScrollJSONRequestBody) (*http.Request, error)

NewScrollRequest calls the generic Scroll builder with application/json body

func NewScrollRequestWithBody

func NewScrollRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewScrollRequestWithBody generates requests for Scroll with any type of body

func NewSetCursorRequest

func NewSetCursorRequest(server string, body SetCursorJSONRequestBody) (*http.Request, error)

NewSetCursorRequest calls the generic SetCursor builder with application/json body

func NewSetCursorRequestWithBody

func NewSetCursorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetCursorRequestWithBody generates requests for SetCursor with any type of body

func NewSetFilePermissionsRequest

func NewSetFilePermissionsRequest(server string, body SetFilePermissionsJSONRequestBody) (*http.Request, error)

NewSetFilePermissionsRequest calls the generic SetFilePermissions builder with application/json body

func NewSetFilePermissionsRequestWithBody

func NewSetFilePermissionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetFilePermissionsRequestWithBody generates requests for SetFilePermissions with any type of body

func NewStartFsWatchRequest

func NewStartFsWatchRequest(server string, body StartFsWatchJSONRequestBody) (*http.Request, error)

NewStartFsWatchRequest calls the generic StartFsWatch builder with application/json body

func NewStartFsWatchRequestWithBody

func NewStartFsWatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewStartFsWatchRequestWithBody generates requests for StartFsWatch with any type of body

func NewStartRecordingRequest

func NewStartRecordingRequest(server string, body StartRecordingJSONRequestBody) (*http.Request, error)

NewStartRecordingRequest calls the generic StartRecording builder with application/json body

func NewStartRecordingRequestWithBody

func NewStartRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewStartRecordingRequestWithBody generates requests for StartRecording with any type of body

func NewStopFsWatchRequest

func NewStopFsWatchRequest(server string, watchId string) (*http.Request, error)

NewStopFsWatchRequest generates requests for StopFsWatch

func NewStopRecordingRequest

func NewStopRecordingRequest(server string, body StopRecordingJSONRequestBody) (*http.Request, error)

NewStopRecordingRequest calls the generic StopRecording builder with application/json body

func NewStopRecordingRequestWithBody

func NewStopRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewStopRecordingRequestWithBody generates requests for StopRecording with any type of body

func NewStreamFsEventsRequest

func NewStreamFsEventsRequest(server string, watchId string) (*http.Request, error)

NewStreamFsEventsRequest generates requests for StreamFsEvents

func NewStreamTelemetryEventsRequest

func NewStreamTelemetryEventsRequest(server string, params *StreamTelemetryEventsParams) (*http.Request, error)

NewStreamTelemetryEventsRequest generates requests for StreamTelemetryEvents

func NewTakeScreenshotRequest

func NewTakeScreenshotRequest(server string, body TakeScreenshotJSONRequestBody) (*http.Request, error)

NewTakeScreenshotRequest calls the generic TakeScreenshot builder with application/json body

func NewTakeScreenshotRequestWithBody

func NewTakeScreenshotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTakeScreenshotRequestWithBody generates requests for TakeScreenshot with any type of body

func NewTypeTextRequest

func NewTypeTextRequest(server string, body TypeTextJSONRequestBody) (*http.Request, error)

NewTypeTextRequest calls the generic TypeText builder with application/json body

func NewTypeTextRequestWithBody

func NewTypeTextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTypeTextRequestWithBody generates requests for TypeText with any type of body

func NewUploadExtensionsAndRestartRequestWithBody

func NewUploadExtensionsAndRestartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadExtensionsAndRestartRequestWithBody generates requests for UploadExtensionsAndRestart with any type of body

func NewUploadExtensionsRequestWithBody

func NewUploadExtensionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadExtensionsRequestWithBody generates requests for UploadExtensions with any type of body

func NewUploadFilesRequestWithBody

func NewUploadFilesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadFilesRequestWithBody generates requests for UploadFiles with any type of body

func NewUploadZipRequestWithBody

func NewUploadZipRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadZipRequestWithBody generates requests for UploadZip with any type of body

func NewUploadZstdRequestWithBody

func NewUploadZstdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadZstdRequestWithBody generates requests for UploadZstd with any type of body

func NewWriteClipboardRequest

func NewWriteClipboardRequest(server string, body WriteClipboardJSONRequestBody) (*http.Request, error)

NewWriteClipboardRequest calls the generic WriteClipboard builder with application/json body

func NewWriteClipboardRequestWithBody

func NewWriteClipboardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewWriteClipboardRequestWithBody generates requests for WriteClipboard with any type of body

func NewWriteFileRequestWithBody

func NewWriteFileRequestWithBody(server string, params *WriteFileParams, contentType string, body io.Reader) (*http.Request, error)

NewWriteFileRequestWithBody generates requests for WriteFile with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type BadRequestError

type BadRequestError = Error

BadRequestError defines model for BadRequestError.

type BadRequestErrorJSONResponse

type BadRequestErrorJSONResponse Error

type BatchComputerAction200Response

type BatchComputerAction200Response struct {
}

func (BatchComputerAction200Response) VisitBatchComputerActionResponse

func (response BatchComputerAction200Response) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerAction400JSONResponse

type BatchComputerAction400JSONResponse struct{ BadRequestErrorJSONResponse }

func (BatchComputerAction400JSONResponse) VisitBatchComputerActionResponse

func (response BatchComputerAction400JSONResponse) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerAction500JSONResponse

type BatchComputerAction500JSONResponse struct{ InternalErrorJSONResponse }

func (BatchComputerAction500JSONResponse) VisitBatchComputerActionResponse

func (response BatchComputerAction500JSONResponse) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerActionJSONRequestBody

type BatchComputerActionJSONRequestBody = BatchComputerActionRequest

BatchComputerActionJSONRequestBody defines body for BatchComputerAction for application/json ContentType.

type BatchComputerActionRequest

type BatchComputerActionRequest struct {
	// Actions Ordered list of actions to execute. Execution stops on the first error.
	Actions []ComputerAction `json:"actions"`
}

BatchComputerActionRequest A batch of computer actions to execute sequentially.

type BatchComputerActionRequestObject

type BatchComputerActionRequestObject struct {
	Body *BatchComputerActionJSONRequestBody
}

type BatchComputerActionResponse

type BatchComputerActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseBatchComputerActionResponse

func ParseBatchComputerActionResponse(rsp *http.Response) (*BatchComputerActionResponse, error)

ParseBatchComputerActionResponse parses an HTTP response from a BatchComputerActionWithResponse call

func (BatchComputerActionResponse) Status

Status returns HTTPResponse.Status

func (BatchComputerActionResponse) StatusCode

func (r BatchComputerActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BatchComputerActionResponseObject

type BatchComputerActionResponseObject interface {
	VisitBatchComputerActionResponse(w http.ResponseWriter) error
}

type BrowserApiCallEvent

type BrowserApiCallEvent struct {
	Category BrowserApiCallEventCategory `json:"category"`

	// Data Per-call payload for `api_call` events.
	Data *BrowserApiCallEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                   `json:"ts"`
	Type BrowserApiCallEventType `json:"type"`
}

BrowserApiCallEvent A call that drives the browser, handled by the kernel-images-api server: computer-control actions, Playwright code execution, screenshots and clipboard access. Calls that manage the VM instead emit `platform_api_call`.

type BrowserApiCallEventCategory

type BrowserApiCallEventCategory string

BrowserApiCallEventCategory defines model for BrowserApiCallEvent.Category.

const (
	BrowserApiCallEventCategoryControl BrowserApiCallEventCategory = "control"
)

Defines values for BrowserApiCallEventCategory.

func (BrowserApiCallEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserApiCallEventCategory enum.

type BrowserApiCallEventData

type BrowserApiCallEventData struct {
	// Code Source submitted to `executePlaywrightCode`, capped at 8192 bytes like every other captured string. A capped value is cut on a character boundary and ends in `...[truncated]`. Absent for every other operation.
	Code *string `json:"code,omitempty"`

	// DurationMs Wall-clock duration of the handler in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// OperationId Matched route's operation, named as the server names its handler (e.g. `TakeScreenshot`, `ExecutePlaywrightCode`).
	OperationId string `json:"operation_id"`

	// RequestId Per-request identifier from the kernel-images-api request middleware.
	RequestId string `json:"request_id"`

	// Status HTTP response status code.
	Status int `json:"status"`
}

BrowserApiCallEventData Per-call payload for `api_call` events.

type BrowserApiCallEventType

type BrowserApiCallEventType string

BrowserApiCallEventType defines model for BrowserApiCallEvent.Type.

const (
	ApiCall BrowserApiCallEventType = "api_call"
)

Defines values for BrowserApiCallEventType.

func (BrowserApiCallEventType) Valid

func (e BrowserApiCallEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserApiCallEventType enum.

type BrowserCallStack

type BrowserCallStack struct {
	// CallFrames Ordered list of call frames, outermost first.
	CallFrames []struct {
		// ColumnNumber Zero-based column number within the line.
		ColumnNumber int `json:"columnNumber"`

		// FunctionName JavaScript function name, or empty string for anonymous functions.
		FunctionName string `json:"functionName"`

		// LineNumber Zero-based line number within the script.
		LineNumber int `json:"lineNumber"`

		// ScriptId CDP script identifier.
		ScriptId string `json:"scriptId"`

		// Url URL or name of the script file.
		Url string `json:"url"`
	} `json:"callFrames"`

	// Description Optional label for the stack trace (e.g. async cause).
	Description *string `json:"description,omitempty"`

	// Parent Parent stack trace for async stacks.
	Parent *BrowserCallStack `json:"parent,omitempty"`
}

BrowserCallStack CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.

type BrowserCaptchaChallengeID

type BrowserCaptchaChallengeID = string

BrowserCaptchaChallengeID Opaque identifier shared by events from one visible challenge. An image-grid captcha can retry with a fresh task per attempt, so one `challenge_id` may be associated with multiple `task_id` values. A producer may preserve it across a page reload when that reload is part of the same challenge episode. It does not indicate task ordering or challenge completion.

type BrowserCaptchaChallengeResultEvent

type BrowserCaptchaChallengeResultEvent struct {
	Category BrowserCaptchaChallengeResultEventCategory `json:"category"`

	// Data Per-challenge payload for `captcha_challenge_result` events.
	Data BrowserCaptchaChallengeResultEventData `json:"data"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                  `json:"ts"`
	Type BrowserCaptchaChallengeResultEventType `json:"type"`
}

BrowserCaptchaChallengeResultEvent A visible captcha challenge reached a terminal outcome. Emitted once per challenge. Wait for this event, rather than a task result, to determine the overall challenge outcome. `captcha_solve_started` and `captcha_solve_result` describe individual solver tasks and may occur multiple times within one challenge.

type BrowserCaptchaChallengeResultEventCategory

type BrowserCaptchaChallengeResultEventCategory string

BrowserCaptchaChallengeResultEventCategory defines model for BrowserCaptchaChallengeResultEvent.Category.

const (
	BrowserCaptchaChallengeResultEventCategoryCaptcha BrowserCaptchaChallengeResultEventCategory = "captcha"
)

Defines values for BrowserCaptchaChallengeResultEventCategory.

func (BrowserCaptchaChallengeResultEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaChallengeResultEventCategory enum.

type BrowserCaptchaChallengeResultEventData

type BrowserCaptchaChallengeResultEventData struct {
	// CaptchaType Captcha kind reported by the solver. Provider-specific task names are normalized into this set: enterprise variants of reCAPTCHA collapse into their version bucket (v2 / v3), `press_and_hold` covers press-and-hold challenges, and unlisted kinds are reported as `other`.
	CaptchaType BrowserCaptchaType `json:"captcha_type"`

	// ChallengeId Opaque identifier shared by events from one visible challenge. An image-grid captcha can retry with a fresh task per attempt, so one `challenge_id` may be associated with multiple `task_id` values. A producer may preserve it across a page reload when that reload is part of the same challenge episode. It does not indicate task ordering or challenge completion.
	ChallengeId BrowserCaptchaChallengeID `json:"challenge_id"`

	// DurationMs Wall-clock duration from the challenge appearing to its terminal outcome, covering every solver attempt in between.
	DurationMs float32 `json:"duration_ms"`

	// Status Terminal outcome of the visible challenge. `solved`: the page observed the challenge clear after a solver attempt. For token captchas this means a response token was present; for press-and-hold it means the challenge page navigated away. `failure`: the producer stopped after an explicit terminal solver failure or exhausted its attempts while the challenge remained. `timeout`: the producer's challenge-level wait budget expired while the challenge remained. `abandoned`: observation ended without a solved signal or an explicit terminal solver outcome, for example because the widget was dismissed or the page unloaded.
	// `solved` describes the challenge, not the flow around it. A site can still reject a valid token, and tokens expire, so this is not proof that whatever the challenge was guarding succeeded.
	Status BrowserCaptchaChallengeResultEventDataStatus `json:"status"`

	// WebsiteHost Host of the page the challenge appeared on.
	WebsiteHost *string `json:"website_host,omitempty"`

	// WebsitePath Path of the page the challenge appeared on. Query string excluded.
	WebsitePath *string `json:"website_path,omitempty"`
}

BrowserCaptchaChallengeResultEventData Per-challenge payload for `captcha_challenge_result` events.

type BrowserCaptchaChallengeResultEventDataStatus

type BrowserCaptchaChallengeResultEventDataStatus string

BrowserCaptchaChallengeResultEventDataStatus Terminal outcome of the visible challenge. `solved`: the page observed the challenge clear after a solver attempt. For token captchas this means a response token was present; for press-and-hold it means the challenge page navigated away. `failure`: the producer stopped after an explicit terminal solver failure or exhausted its attempts while the challenge remained. `timeout`: the producer's challenge-level wait budget expired while the challenge remained. `abandoned`: observation ended without a solved signal or an explicit terminal solver outcome, for example because the widget was dismissed or the page unloaded. `solved` describes the challenge, not the flow around it. A site can still reject a valid token, and tokens expire, so this is not proof that whatever the challenge was guarding succeeded.

const (
	ChallengeAbandoned BrowserCaptchaChallengeResultEventDataStatus = "abandoned"
	ChallengeFailure   BrowserCaptchaChallengeResultEventDataStatus = "failure"
	ChallengeSolved    BrowserCaptchaChallengeResultEventDataStatus = "solved"
	ChallengeTimeout   BrowserCaptchaChallengeResultEventDataStatus = "timeout"
)

Defines values for BrowserCaptchaChallengeResultEventDataStatus.

func (BrowserCaptchaChallengeResultEventDataStatus) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaChallengeResultEventDataStatus enum.

type BrowserCaptchaChallengeResultEventType

type BrowserCaptchaChallengeResultEventType string

BrowserCaptchaChallengeResultEventType defines model for BrowserCaptchaChallengeResultEvent.Type.

const (
	CaptchaChallengeResult BrowserCaptchaChallengeResultEventType = "captcha_challenge_result"
)

Defines values for BrowserCaptchaChallengeResultEventType.

func (BrowserCaptchaChallengeResultEventType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaChallengeResultEventType enum.

type BrowserCaptchaSolveResultEvent

type BrowserCaptchaSolveResultEvent struct {
	Category BrowserCaptchaSolveResultEventCategory `json:"category"`

	// Data Per-attempt payload for `captcha_solve_result` events.
	Data *BrowserCaptchaSolveResultEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserCaptchaSolveResultEventType `json:"type"`
}

BrowserCaptchaSolveResultEvent A captcha solve attempt reached a terminal outcome.

type BrowserCaptchaSolveResultEventCategory

type BrowserCaptchaSolveResultEventCategory string

BrowserCaptchaSolveResultEventCategory defines model for BrowserCaptchaSolveResultEvent.Category.

const (
	BrowserCaptchaSolveResultEventCategoryCaptcha BrowserCaptchaSolveResultEventCategory = "captcha"
)

Defines values for BrowserCaptchaSolveResultEventCategory.

func (BrowserCaptchaSolveResultEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventCategory enum.

type BrowserCaptchaSolveResultEventData

type BrowserCaptchaSolveResultEventData struct {
	// CaptchaType Captcha kind reported by the solver. Provider-specific task names are normalized into this set: enterprise variants of reCAPTCHA collapse into their version bucket (v2 / v3), `press_and_hold` covers press-and-hold challenges, and unlisted kinds are reported as `other`.
	CaptchaType BrowserCaptchaType `json:"captcha_type"`

	// ChallengeId Opaque identifier shared by events from one visible challenge. An image-grid captcha can retry with a fresh task per attempt, so one `challenge_id` may be associated with multiple `task_id` values. A producer may preserve it across a page reload when that reload is part of the same challenge episode. It does not indicate task ordering or challenge completion.
	ChallengeId *BrowserCaptchaChallengeID `json:"challenge_id,omitempty"`

	// DurationMs Wall-clock duration from solve start to terminal outcome. This is the authoritative solve timing; do not derive duration from the gap to a `captcha_solve_started` event, whose delivery and sequencing are not guaranteed.
	DurationMs float32 `json:"duration_ms"`

	// ErrorCode Solver-specific error code on failure (e.g. `ERROR_CAPTCHA_UNSOLVABLE`). Absent on success.
	ErrorCode *string `json:"error_code,omitempty"`

	// Status Terminal outcome. `success`: solver returned a usable solution. `failure`: solver returned an error (see `error_code`). `timeout`: solver did not return within the caller's wait budget. `abandoned`: caller cancelled or the page navigated away mid-solve.
	Status BrowserCaptchaSolveResultEventDataStatus `json:"status"`

	// TaskId Opaque producer-assigned identifier shared with the matching `captcha_solve_started`.
	TaskId *string `json:"task_id,omitempty"`

	// WebsiteHost Host of the page where the captcha was solved.
	WebsiteHost *string `json:"website_host,omitempty"`

	// WebsitePath Path of the page where the captcha was solved. Query string excluded.
	WebsitePath *string `json:"website_path,omitempty"`
}

BrowserCaptchaSolveResultEventData Per-attempt payload for `captcha_solve_result` events.

type BrowserCaptchaSolveResultEventDataCaptchaType

type BrowserCaptchaSolveResultEventDataCaptchaType string

BrowserCaptchaSolveResultEventDataCaptchaType Captcha kind reported by the solver. Provider-specific task names are normalized into this set: enterprise variants of reCAPTCHA collapse into their version bucket (v2 / v3), `press_and_hold` covers press-and-hold challenges, and unlisted kinds are reported as `other`.

const (
	BrowserCaptchaSolveResultEventDataCaptchaTypeGeetest      BrowserCaptchaSolveResultEventDataCaptchaType = "geetest"
	BrowserCaptchaSolveResultEventDataCaptchaTypeHcaptcha     BrowserCaptchaSolveResultEventDataCaptchaType = "hcaptcha"
	BrowserCaptchaSolveResultEventDataCaptchaTypeOther        BrowserCaptchaSolveResultEventDataCaptchaType = "other"
	BrowserCaptchaSolveResultEventDataCaptchaTypePressAndHold BrowserCaptchaSolveResultEventDataCaptchaType = "press_and_hold"
	BrowserCaptchaSolveResultEventDataCaptchaTypeRecaptchaV2  BrowserCaptchaSolveResultEventDataCaptchaType = "recaptcha_v2"
	BrowserCaptchaSolveResultEventDataCaptchaTypeRecaptchaV3  BrowserCaptchaSolveResultEventDataCaptchaType = "recaptcha_v3"
	BrowserCaptchaSolveResultEventDataCaptchaTypeTurnstile    BrowserCaptchaSolveResultEventDataCaptchaType = "turnstile"
)

Defines values for BrowserCaptchaSolveResultEventDataCaptchaType.

func (BrowserCaptchaSolveResultEventDataCaptchaType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventDataCaptchaType enum.

type BrowserCaptchaSolveResultEventDataStatus

type BrowserCaptchaSolveResultEventDataStatus string

BrowserCaptchaSolveResultEventDataStatus Terminal outcome. `success`: solver returned a usable solution. `failure`: solver returned an error (see `error_code`). `timeout`: solver did not return within the caller's wait budget. `abandoned`: caller cancelled or the page navigated away mid-solve.

Defines values for BrowserCaptchaSolveResultEventDataStatus.

func (BrowserCaptchaSolveResultEventDataStatus) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventDataStatus enum.

type BrowserCaptchaSolveResultEventType

type BrowserCaptchaSolveResultEventType string

BrowserCaptchaSolveResultEventType defines model for BrowserCaptchaSolveResultEvent.Type.

const (
	CaptchaSolveResult BrowserCaptchaSolveResultEventType = "captcha_solve_result"
)

Defines values for BrowserCaptchaSolveResultEventType.

func (BrowserCaptchaSolveResultEventType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventType enum.

type BrowserCaptchaSolveStartedEvent

type BrowserCaptchaSolveStartedEvent struct {
	Category BrowserCaptchaSolveStartedEventCategory `json:"category"`

	// Data Per-task payload for `captcha_solve_started` events. Emitted when a solver accepts a task, once per solver task. A single visible challenge can produce many tasks, so consumers must not assume one started event per challenge or pair events by arrival order. When present, `task_id` correlates this event with a terminal `captcha_solve_result`, and `challenge_id` groups tasks from one visible challenge. Delivery is not ordered: a started event may arrive after its result, and either event may be missing. Arrival or absence therefore does not indicate current solve state.
	Data BrowserCaptchaSolveStartedEventData `json:"data"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                               `json:"ts"`
	Type BrowserCaptchaSolveStartedEventType `json:"type"`
}

BrowserCaptchaSolveStartedEvent A captcha solver accepted a task.

type BrowserCaptchaSolveStartedEventCategory

type BrowserCaptchaSolveStartedEventCategory string

BrowserCaptchaSolveStartedEventCategory defines model for BrowserCaptchaSolveStartedEvent.Category.

const (
	BrowserCaptchaSolveStartedEventCategoryCaptcha BrowserCaptchaSolveStartedEventCategory = "captcha"
)

Defines values for BrowserCaptchaSolveStartedEventCategory.

func (BrowserCaptchaSolveStartedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveStartedEventCategory enum.

type BrowserCaptchaSolveStartedEventData

type BrowserCaptchaSolveStartedEventData struct {
	// CaptchaType Captcha kind reported by the solver. Provider-specific task names are normalized into this set: enterprise variants of reCAPTCHA collapse into their version bucket (v2 / v3), `press_and_hold` covers press-and-hold challenges, and unlisted kinds are reported as `other`.
	CaptchaType BrowserCaptchaType `json:"captcha_type"`

	// ChallengeId Opaque identifier shared by events from one visible challenge. An image-grid captcha can retry with a fresh task per attempt, so one `challenge_id` may be associated with multiple `task_id` values. A producer may preserve it across a page reload when that reload is part of the same challenge episode. It does not indicate task ordering or challenge completion.
	ChallengeId *BrowserCaptchaChallengeID `json:"challenge_id,omitempty"`

	// TaskId Opaque producer-assigned identifier shared with the matching `captcha_solve_result`.
	TaskId *string `json:"task_id,omitempty"`

	// WebsiteHost Host of the page where the captcha is being solved. May be empty for solver tasks that carry no page URL (e.g. image-grid sub-tasks).
	WebsiteHost *string `json:"website_host,omitempty"`

	// WebsitePath Path of the page where the captcha is being solved. Query string excluded.
	WebsitePath *string `json:"website_path,omitempty"`
}

BrowserCaptchaSolveStartedEventData Per-task payload for `captcha_solve_started` events. Emitted when a solver accepts a task, once per solver task. A single visible challenge can produce many tasks, so consumers must not assume one started event per challenge or pair events by arrival order. When present, `task_id` correlates this event with a terminal `captcha_solve_result`, and `challenge_id` groups tasks from one visible challenge. Delivery is not ordered: a started event may arrive after its result, and either event may be missing. Arrival or absence therefore does not indicate current solve state.

type BrowserCaptchaSolveStartedEventType

type BrowserCaptchaSolveStartedEventType string

BrowserCaptchaSolveStartedEventType defines model for BrowserCaptchaSolveStartedEvent.Type.

const (
	CaptchaSolveStarted BrowserCaptchaSolveStartedEventType = "captcha_solve_started"
)

Defines values for BrowserCaptchaSolveStartedEventType.

func (BrowserCaptchaSolveStartedEventType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveStartedEventType enum.

type BrowserCaptchaType

BrowserCaptchaType Captcha kind reported by the solver. Provider-specific task names are normalized into this set: enterprise variants of reCAPTCHA collapse into their version bucket (v2 / v3), `press_and_hold` covers press-and-hold challenges, and unlisted kinds are reported as `other`.

type BrowserCdpAutofillMode

type BrowserCdpAutofillMode string

BrowserCdpAutofillMode Which kind of value autofill filled. Canonical values from devtools-protocol@2d019e73.

const (
	Address BrowserCdpAutofillMode = "address"
	Card    BrowserCdpAutofillMode = "card"
)

Defines values for BrowserCdpAutofillMode.

func (BrowserCdpAutofillMode) Valid

func (e BrowserCdpAutofillMode) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpAutofillMode enum.

type BrowserCdpAutofillTriggerCommandData

type BrowserCdpAutofillTriggerCommandData struct {
	// AddressFieldCount Number of address fields the command filled. Their names and values are never captured.
	AddressFieldCount *int `json:"address_field_count,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// FieldId Opaque backend node identifier of the field that was autofilled.
	FieldId int `json:"field_id"`

	// FrameId Opaque frame identifier. Clipped to 128 characters; a longer value is not a real identifier.
	FrameId *string                                    `json:"frame_id,omitempty"`
	Method  BrowserCdpAutofillTriggerCommandDataMethod `json:"method"`

	// Mode What was filled: `card` or `address`. The values themselves are never captured.
	Mode *BrowserCdpAutofillMode `json:"mode,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpAutofillTriggerCommandData Sanitized `Autofill.trigger` arguments. Canonical input: `Autofill.trigger` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpAutofillTriggerCommandDataMethod

type BrowserCdpAutofillTriggerCommandDataMethod string

BrowserCdpAutofillTriggerCommandDataMethod defines model for BrowserCdpAutofillTriggerCommandData.Method.

const (
	BrowserCdpAutofillTriggerCommandDataMethodAutofillTrigger BrowserCdpAutofillTriggerCommandDataMethod = "Autofill.trigger"
)

Defines values for BrowserCdpAutofillTriggerCommandDataMethod.

func (BrowserCdpAutofillTriggerCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpAutofillTriggerCommandDataMethod enum.

type BrowserCdpBrowserCancelDownloadCommandData

type BrowserCdpBrowserCancelDownloadCommandData struct {
	// BrowserContextId Opaque browser context identifier. Clipped to 128 characters; a longer value is not a real identifier.
	BrowserContextId *string `json:"browser_context_id,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DownloadGuid Opaque identifier of the download that was cancelled. Clipped to 128 characters; a longer value is not a real identifier.
	DownloadGuid string                                           `json:"download_guid"`
	Method       BrowserCdpBrowserCancelDownloadCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpBrowserCancelDownloadCommandData Sanitized `Browser.cancelDownload` arguments. Canonical input: `Browser.cancelDownload` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpBrowserCancelDownloadCommandDataMethod

type BrowserCdpBrowserCancelDownloadCommandDataMethod string

BrowserCdpBrowserCancelDownloadCommandDataMethod defines model for BrowserCdpBrowserCancelDownloadCommandData.Method.

const (
	BrowserCancelDownload BrowserCdpBrowserCancelDownloadCommandDataMethod = "Browser.cancelDownload"
)

Defines values for BrowserCdpBrowserCancelDownloadCommandDataMethod.

func (BrowserCdpBrowserCancelDownloadCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpBrowserCancelDownloadCommandDataMethod enum.

type BrowserCdpBrowserCloseCommandData

type BrowserCdpBrowserCloseCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                 `json:"connection_id,omitempty"`
	Method       BrowserCdpBrowserCloseCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpBrowserCloseCommandData Sanitized `Browser.close` arguments. Canonical input: `Browser.close` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpBrowserCloseCommandDataMethod

type BrowserCdpBrowserCloseCommandDataMethod string

BrowserCdpBrowserCloseCommandDataMethod defines model for BrowserCdpBrowserCloseCommandData.Method.

const (
	BrowserClose BrowserCdpBrowserCloseCommandDataMethod = "Browser.close"
)

Defines values for BrowserCdpBrowserCloseCommandDataMethod.

func (BrowserCdpBrowserCloseCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpBrowserCloseCommandDataMethod enum.

type BrowserCdpBrowserSetContentsSizeCommandData

type BrowserCdpBrowserSetContentsSizeCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// Height Contents height in DIP.
	Height *int                                              `json:"height,omitempty"`
	Method BrowserCdpBrowserSetContentsSizeCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// Width Contents width in DIP.
	Width *int `json:"width,omitempty"`

	// WindowId Browser window identifier.
	WindowId int `json:"window_id"`
}

BrowserCdpBrowserSetContentsSizeCommandData Sanitized `Browser.setContentsSize` arguments. Canonical input: `Browser.setContentsSize` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpBrowserSetContentsSizeCommandDataMethod

type BrowserCdpBrowserSetContentsSizeCommandDataMethod string

BrowserCdpBrowserSetContentsSizeCommandDataMethod defines model for BrowserCdpBrowserSetContentsSizeCommandData.Method.

const (
	BrowserSetContentsSize BrowserCdpBrowserSetContentsSizeCommandDataMethod = "Browser.setContentsSize"
)

Defines values for BrowserCdpBrowserSetContentsSizeCommandDataMethod.

func (BrowserCdpBrowserSetContentsSizeCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpBrowserSetContentsSizeCommandDataMethod enum.

type BrowserCdpBrowserSetWindowBoundsCommandData

type BrowserCdpBrowserSetWindowBoundsCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// Height Window height in DIP.
	Height *int `json:"height,omitempty"`

	// Left Window x position in screen coordinates.
	Left   *int                                              `json:"left,omitempty"`
	Method BrowserCdpBrowserSetWindowBoundsCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// Top Window y position in screen coordinates.
	Top *int `json:"top,omitempty"`

	// Width Window width in DIP.
	Width *int `json:"width,omitempty"`

	// WindowId Browser window identifier.
	WindowId int `json:"window_id"`

	// WindowState Window state requested (`normal`, `minimized`, `maximized`, `fullscreen`). A value the protocol does not define is reported as `other`.
	WindowState *BrowserCdpWindowState `json:"window_state,omitempty"`
}

BrowserCdpBrowserSetWindowBoundsCommandData Sanitized `Browser.setWindowBounds` arguments. Canonical input: `Browser.setWindowBounds` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpBrowserSetWindowBoundsCommandDataMethod

type BrowserCdpBrowserSetWindowBoundsCommandDataMethod string

BrowserCdpBrowserSetWindowBoundsCommandDataMethod defines model for BrowserCdpBrowserSetWindowBoundsCommandData.Method.

const (
	BrowserSetWindowBounds BrowserCdpBrowserSetWindowBoundsCommandDataMethod = "Browser.setWindowBounds"
)

Defines values for BrowserCdpBrowserSetWindowBoundsCommandDataMethod.

func (BrowserCdpBrowserSetWindowBoundsCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpBrowserSetWindowBoundsCommandDataMethod enum.

type BrowserCdpCommandEvent

type BrowserCdpCommandEvent struct {
	Category BrowserCdpCommandEventCategory `json:"category"`

	// Data Per-command payload for `cdp_command` events, discriminated by `method`. Each variant carries only the arguments approved for that command: values that could hold a secret — typed and composition text, URLs, referrers, scripts, templates, file paths, drag contents and autofill values — are replaced by a length, a count, a presence flag, an enum or a URL scheme and host.
	Data BrowserCdpCommandEventData `json:"data"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserCdpCommandEventType `json:"type"`
}

BrowserCdpCommandEvent A browser-control command a client sent over the CDP WebSocket proxy: input gestures, navigation, dialog handling, file selection and screenshots. Configuration commands and the DOM/Runtime traffic a client library issues on the caller's behalf are not reported. One event per browser-control command that reached the browser. The command stream is not sampled, coalesced or reordered. An event is lost only when the method is excluded by telemetry configuration, when the command's arguments do not decode, or when classification cannot keep up. Exclusions are counted in `cdp_disconnect.telemetry_excluded`; the rest in `cdp_disconnect.telemetry_dropped`.

type BrowserCdpCommandEventCategory

type BrowserCdpCommandEventCategory string

BrowserCdpCommandEventCategory defines model for BrowserCdpCommandEvent.Category.

const (
	BrowserCdpCommandEventCategoryControl BrowserCdpCommandEventCategory = "control"
)

Defines values for BrowserCdpCommandEventCategory.

func (BrowserCdpCommandEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCdpCommandEventCategory enum.

type BrowserCdpCommandEventData

type BrowserCdpCommandEventData struct {
	// contains filtered or unexported fields
}

BrowserCdpCommandEventData Per-command payload for `cdp_command` events, discriminated by `method`. Each variant carries only the arguments approved for that command: values that could hold a secret — typed and composition text, URLs, referrers, scripts, templates, file paths, drag contents and autofill values — are replaced by a length, a count, a presence flag, an enum or a URL scheme and host.

func (BrowserCdpCommandEventData) AsBrowserCdpAutofillTriggerCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpAutofillTriggerCommandData() (BrowserCdpAutofillTriggerCommandData, error)

AsBrowserCdpAutofillTriggerCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpAutofillTriggerCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpBrowserCancelDownloadCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpBrowserCancelDownloadCommandData() (BrowserCdpBrowserCancelDownloadCommandData, error)

AsBrowserCdpBrowserCancelDownloadCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpBrowserCancelDownloadCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpBrowserCloseCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpBrowserCloseCommandData() (BrowserCdpBrowserCloseCommandData, error)

AsBrowserCdpBrowserCloseCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpBrowserCloseCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpBrowserSetContentsSizeCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpBrowserSetContentsSizeCommandData() (BrowserCdpBrowserSetContentsSizeCommandData, error)

AsBrowserCdpBrowserSetContentsSizeCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpBrowserSetContentsSizeCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpBrowserSetWindowBoundsCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpBrowserSetWindowBoundsCommandData() (BrowserCdpBrowserSetWindowBoundsCommandData, error)

AsBrowserCdpBrowserSetWindowBoundsCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpBrowserSetWindowBoundsCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpDomFocusCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpDomFocusCommandData() (BrowserCdpDomFocusCommandData, error)

AsBrowserCdpDomFocusCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpDomFocusCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpDomScrollIntoViewIfNeededCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpDomScrollIntoViewIfNeededCommandData() (BrowserCdpDomScrollIntoViewIfNeededCommandData, error)

AsBrowserCdpDomScrollIntoViewIfNeededCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpDomScrollIntoViewIfNeededCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpDomSetFileInputFilesCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpDomSetFileInputFilesCommandData() (BrowserCdpDomSetFileInputFilesCommandData, error)

AsBrowserCdpDomSetFileInputFilesCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpDomSetFileInputFilesCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputCancelDraggingCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputCancelDraggingCommandData() (BrowserCdpInputCancelDraggingCommandData, error)

AsBrowserCdpInputCancelDraggingCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputCancelDraggingCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputDispatchDragEventCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputDispatchDragEventCommandData() (BrowserCdpInputDispatchDragEventCommandData, error)

AsBrowserCdpInputDispatchDragEventCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputDispatchDragEventCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputDispatchKeyEventCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputDispatchKeyEventCommandData() (BrowserCdpInputDispatchKeyEventCommandData, error)

AsBrowserCdpInputDispatchKeyEventCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputDispatchKeyEventCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputDispatchMouseEventCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputDispatchMouseEventCommandData() (BrowserCdpInputDispatchMouseEventCommandData, error)

AsBrowserCdpInputDispatchMouseEventCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputDispatchMouseEventCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputDispatchTouchEventCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputDispatchTouchEventCommandData() (BrowserCdpInputDispatchTouchEventCommandData, error)

AsBrowserCdpInputDispatchTouchEventCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputDispatchTouchEventCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputEmulateTouchFromMouseEventCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputEmulateTouchFromMouseEventCommandData() (BrowserCdpInputEmulateTouchFromMouseEventCommandData, error)

AsBrowserCdpInputEmulateTouchFromMouseEventCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputEmulateTouchFromMouseEventCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputImeSetCompositionCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputImeSetCompositionCommandData() (BrowserCdpInputImeSetCompositionCommandData, error)

AsBrowserCdpInputImeSetCompositionCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputImeSetCompositionCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputInsertTextCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputInsertTextCommandData() (BrowserCdpInputInsertTextCommandData, error)

AsBrowserCdpInputInsertTextCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputInsertTextCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizePinchGestureCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizePinchGestureCommandData() (BrowserCdpInputSynthesizePinchGestureCommandData, error)

AsBrowserCdpInputSynthesizePinchGestureCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputSynthesizePinchGestureCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizeScrollGestureCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizeScrollGestureCommandData() (BrowserCdpInputSynthesizeScrollGestureCommandData, error)

AsBrowserCdpInputSynthesizeScrollGestureCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputSynthesizeScrollGestureCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizeTapGestureCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpInputSynthesizeTapGestureCommandData() (BrowserCdpInputSynthesizeTapGestureCommandData, error)

AsBrowserCdpInputSynthesizeTapGestureCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpInputSynthesizeTapGestureCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageBringToFrontCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageBringToFrontCommandData() (BrowserCdpPageBringToFrontCommandData, error)

AsBrowserCdpPageBringToFrontCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageBringToFrontCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageCaptureScreenshotCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageCaptureScreenshotCommandData() (BrowserCdpPageCaptureScreenshotCommandData, error)

AsBrowserCdpPageCaptureScreenshotCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageCaptureScreenshotCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageCaptureSnapshotCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageCaptureSnapshotCommandData() (BrowserCdpPageCaptureSnapshotCommandData, error)

AsBrowserCdpPageCaptureSnapshotCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageCaptureSnapshotCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageCloseCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageCloseCommandData() (BrowserCdpPageCloseCommandData, error)

AsBrowserCdpPageCloseCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageCloseCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageHandleJavaScriptDialogCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageHandleJavaScriptDialogCommandData() (BrowserCdpPageHandleJavaScriptDialogCommandData, error)

AsBrowserCdpPageHandleJavaScriptDialogCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageHandleJavaScriptDialogCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageNavigateCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageNavigateCommandData() (BrowserCdpPageNavigateCommandData, error)

AsBrowserCdpPageNavigateCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageNavigateCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageNavigateToHistoryEntryCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageNavigateToHistoryEntryCommandData() (BrowserCdpPageNavigateToHistoryEntryCommandData, error)

AsBrowserCdpPageNavigateToHistoryEntryCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageNavigateToHistoryEntryCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPagePrintToPdfCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPagePrintToPdfCommandData() (BrowserCdpPagePrintToPdfCommandData, error)

AsBrowserCdpPagePrintToPdfCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPagePrintToPdfCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageReloadCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageReloadCommandData() (BrowserCdpPageReloadCommandData, error)

AsBrowserCdpPageReloadCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageReloadCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageSetWebLifecycleStateCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageSetWebLifecycleStateCommandData() (BrowserCdpPageSetWebLifecycleStateCommandData, error)

AsBrowserCdpPageSetWebLifecycleStateCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageSetWebLifecycleStateCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageStartScreencastCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageStartScreencastCommandData() (BrowserCdpPageStartScreencastCommandData, error)

AsBrowserCdpPageStartScreencastCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageStartScreencastCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageStopLoadingCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageStopLoadingCommandData() (BrowserCdpPageStopLoadingCommandData, error)

AsBrowserCdpPageStopLoadingCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageStopLoadingCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpPageStopScreencastCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpPageStopScreencastCommandData() (BrowserCdpPageStopScreencastCommandData, error)

AsBrowserCdpPageStopScreencastCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpPageStopScreencastCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetActivateTargetCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetActivateTargetCommandData() (BrowserCdpTargetActivateTargetCommandData, error)

AsBrowserCdpTargetActivateTargetCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetActivateTargetCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetCloseTargetCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetCloseTargetCommandData() (BrowserCdpTargetCloseTargetCommandData, error)

AsBrowserCdpTargetCloseTargetCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetCloseTargetCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetCreateBrowserContextCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetCreateBrowserContextCommandData() (BrowserCdpTargetCreateBrowserContextCommandData, error)

AsBrowserCdpTargetCreateBrowserContextCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetCreateBrowserContextCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetCreateTargetCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetCreateTargetCommandData() (BrowserCdpTargetCreateTargetCommandData, error)

AsBrowserCdpTargetCreateTargetCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetCreateTargetCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetDisposeBrowserContextCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetDisposeBrowserContextCommandData() (BrowserCdpTargetDisposeBrowserContextCommandData, error)

AsBrowserCdpTargetDisposeBrowserContextCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetDisposeBrowserContextCommandData

func (BrowserCdpCommandEventData) AsBrowserCdpTargetOpenDevToolsCommandData

func (t BrowserCdpCommandEventData) AsBrowserCdpTargetOpenDevToolsCommandData() (BrowserCdpTargetOpenDevToolsCommandData, error)

AsBrowserCdpTargetOpenDevToolsCommandData returns the union data inside the BrowserCdpCommandEventData as a BrowserCdpTargetOpenDevToolsCommandData

func (BrowserCdpCommandEventData) Discriminator

func (t BrowserCdpCommandEventData) Discriminator() (string, error)

func (*BrowserCdpCommandEventData) FromBrowserCdpAutofillTriggerCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpAutofillTriggerCommandData(v BrowserCdpAutofillTriggerCommandData) error

FromBrowserCdpAutofillTriggerCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpAutofillTriggerCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpBrowserCancelDownloadCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpBrowserCancelDownloadCommandData(v BrowserCdpBrowserCancelDownloadCommandData) error

FromBrowserCdpBrowserCancelDownloadCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpBrowserCancelDownloadCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpBrowserCloseCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpBrowserCloseCommandData(v BrowserCdpBrowserCloseCommandData) error

FromBrowserCdpBrowserCloseCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpBrowserCloseCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpBrowserSetContentsSizeCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpBrowserSetContentsSizeCommandData(v BrowserCdpBrowserSetContentsSizeCommandData) error

FromBrowserCdpBrowserSetContentsSizeCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpBrowserSetContentsSizeCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpBrowserSetWindowBoundsCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpBrowserSetWindowBoundsCommandData(v BrowserCdpBrowserSetWindowBoundsCommandData) error

FromBrowserCdpBrowserSetWindowBoundsCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpBrowserSetWindowBoundsCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpDomFocusCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpDomFocusCommandData(v BrowserCdpDomFocusCommandData) error

FromBrowserCdpDomFocusCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpDomFocusCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpDomScrollIntoViewIfNeededCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpDomScrollIntoViewIfNeededCommandData(v BrowserCdpDomScrollIntoViewIfNeededCommandData) error

FromBrowserCdpDomScrollIntoViewIfNeededCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpDomScrollIntoViewIfNeededCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpDomSetFileInputFilesCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpDomSetFileInputFilesCommandData(v BrowserCdpDomSetFileInputFilesCommandData) error

FromBrowserCdpDomSetFileInputFilesCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpDomSetFileInputFilesCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputCancelDraggingCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputCancelDraggingCommandData(v BrowserCdpInputCancelDraggingCommandData) error

FromBrowserCdpInputCancelDraggingCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputCancelDraggingCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputDispatchDragEventCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputDispatchDragEventCommandData(v BrowserCdpInputDispatchDragEventCommandData) error

FromBrowserCdpInputDispatchDragEventCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputDispatchDragEventCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputDispatchKeyEventCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputDispatchKeyEventCommandData(v BrowserCdpInputDispatchKeyEventCommandData) error

FromBrowserCdpInputDispatchKeyEventCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputDispatchKeyEventCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputDispatchMouseEventCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputDispatchMouseEventCommandData(v BrowserCdpInputDispatchMouseEventCommandData) error

FromBrowserCdpInputDispatchMouseEventCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputDispatchMouseEventCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputDispatchTouchEventCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputDispatchTouchEventCommandData(v BrowserCdpInputDispatchTouchEventCommandData) error

FromBrowserCdpInputDispatchTouchEventCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputDispatchTouchEventCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputEmulateTouchFromMouseEventCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputEmulateTouchFromMouseEventCommandData(v BrowserCdpInputEmulateTouchFromMouseEventCommandData) error

FromBrowserCdpInputEmulateTouchFromMouseEventCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputEmulateTouchFromMouseEventCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputImeSetCompositionCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputImeSetCompositionCommandData(v BrowserCdpInputImeSetCompositionCommandData) error

FromBrowserCdpInputImeSetCompositionCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputImeSetCompositionCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputInsertTextCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputInsertTextCommandData(v BrowserCdpInputInsertTextCommandData) error

FromBrowserCdpInputInsertTextCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputInsertTextCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizePinchGestureCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizePinchGestureCommandData(v BrowserCdpInputSynthesizePinchGestureCommandData) error

FromBrowserCdpInputSynthesizePinchGestureCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputSynthesizePinchGestureCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizeScrollGestureCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizeScrollGestureCommandData(v BrowserCdpInputSynthesizeScrollGestureCommandData) error

FromBrowserCdpInputSynthesizeScrollGestureCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputSynthesizeScrollGestureCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizeTapGestureCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpInputSynthesizeTapGestureCommandData(v BrowserCdpInputSynthesizeTapGestureCommandData) error

FromBrowserCdpInputSynthesizeTapGestureCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpInputSynthesizeTapGestureCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageBringToFrontCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageBringToFrontCommandData(v BrowserCdpPageBringToFrontCommandData) error

FromBrowserCdpPageBringToFrontCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageBringToFrontCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageCaptureScreenshotCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageCaptureScreenshotCommandData(v BrowserCdpPageCaptureScreenshotCommandData) error

FromBrowserCdpPageCaptureScreenshotCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageCaptureScreenshotCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageCaptureSnapshotCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageCaptureSnapshotCommandData(v BrowserCdpPageCaptureSnapshotCommandData) error

FromBrowserCdpPageCaptureSnapshotCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageCaptureSnapshotCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageCloseCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageCloseCommandData(v BrowserCdpPageCloseCommandData) error

FromBrowserCdpPageCloseCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageCloseCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageHandleJavaScriptDialogCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageHandleJavaScriptDialogCommandData(v BrowserCdpPageHandleJavaScriptDialogCommandData) error

FromBrowserCdpPageHandleJavaScriptDialogCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageHandleJavaScriptDialogCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageNavigateCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageNavigateCommandData(v BrowserCdpPageNavigateCommandData) error

FromBrowserCdpPageNavigateCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageNavigateCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageNavigateToHistoryEntryCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageNavigateToHistoryEntryCommandData(v BrowserCdpPageNavigateToHistoryEntryCommandData) error

FromBrowserCdpPageNavigateToHistoryEntryCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageNavigateToHistoryEntryCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPagePrintToPdfCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPagePrintToPdfCommandData(v BrowserCdpPagePrintToPdfCommandData) error

FromBrowserCdpPagePrintToPdfCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPagePrintToPdfCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageReloadCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageReloadCommandData(v BrowserCdpPageReloadCommandData) error

FromBrowserCdpPageReloadCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageReloadCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageSetWebLifecycleStateCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageSetWebLifecycleStateCommandData(v BrowserCdpPageSetWebLifecycleStateCommandData) error

FromBrowserCdpPageSetWebLifecycleStateCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageSetWebLifecycleStateCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageStartScreencastCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageStartScreencastCommandData(v BrowserCdpPageStartScreencastCommandData) error

FromBrowserCdpPageStartScreencastCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageStartScreencastCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageStopLoadingCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageStopLoadingCommandData(v BrowserCdpPageStopLoadingCommandData) error

FromBrowserCdpPageStopLoadingCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageStopLoadingCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpPageStopScreencastCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpPageStopScreencastCommandData(v BrowserCdpPageStopScreencastCommandData) error

FromBrowserCdpPageStopScreencastCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpPageStopScreencastCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetActivateTargetCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetActivateTargetCommandData(v BrowserCdpTargetActivateTargetCommandData) error

FromBrowserCdpTargetActivateTargetCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetActivateTargetCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetCloseTargetCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetCloseTargetCommandData(v BrowserCdpTargetCloseTargetCommandData) error

FromBrowserCdpTargetCloseTargetCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetCloseTargetCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetCreateBrowserContextCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetCreateBrowserContextCommandData(v BrowserCdpTargetCreateBrowserContextCommandData) error

FromBrowserCdpTargetCreateBrowserContextCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetCreateBrowserContextCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetCreateTargetCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetCreateTargetCommandData(v BrowserCdpTargetCreateTargetCommandData) error

FromBrowserCdpTargetCreateTargetCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetCreateTargetCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetDisposeBrowserContextCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetDisposeBrowserContextCommandData(v BrowserCdpTargetDisposeBrowserContextCommandData) error

FromBrowserCdpTargetDisposeBrowserContextCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetDisposeBrowserContextCommandData

func (*BrowserCdpCommandEventData) FromBrowserCdpTargetOpenDevToolsCommandData

func (t *BrowserCdpCommandEventData) FromBrowserCdpTargetOpenDevToolsCommandData(v BrowserCdpTargetOpenDevToolsCommandData) error

FromBrowserCdpTargetOpenDevToolsCommandData overwrites any union data inside the BrowserCdpCommandEventData as the provided BrowserCdpTargetOpenDevToolsCommandData

func (BrowserCdpCommandEventData) MarshalJSON

func (t BrowserCdpCommandEventData) MarshalJSON() ([]byte, error)

func (*BrowserCdpCommandEventData) MergeBrowserCdpAutofillTriggerCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpAutofillTriggerCommandData(v BrowserCdpAutofillTriggerCommandData) error

MergeBrowserCdpAutofillTriggerCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpAutofillTriggerCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpBrowserCancelDownloadCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpBrowserCancelDownloadCommandData(v BrowserCdpBrowserCancelDownloadCommandData) error

MergeBrowserCdpBrowserCancelDownloadCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpBrowserCancelDownloadCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpBrowserCloseCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpBrowserCloseCommandData(v BrowserCdpBrowserCloseCommandData) error

MergeBrowserCdpBrowserCloseCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpBrowserCloseCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpBrowserSetContentsSizeCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpBrowserSetContentsSizeCommandData(v BrowserCdpBrowserSetContentsSizeCommandData) error

MergeBrowserCdpBrowserSetContentsSizeCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpBrowserSetContentsSizeCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpBrowserSetWindowBoundsCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpBrowserSetWindowBoundsCommandData(v BrowserCdpBrowserSetWindowBoundsCommandData) error

MergeBrowserCdpBrowserSetWindowBoundsCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpBrowserSetWindowBoundsCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpDomFocusCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpDomFocusCommandData(v BrowserCdpDomFocusCommandData) error

MergeBrowserCdpDomFocusCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpDomFocusCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpDomScrollIntoViewIfNeededCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpDomScrollIntoViewIfNeededCommandData(v BrowserCdpDomScrollIntoViewIfNeededCommandData) error

MergeBrowserCdpDomScrollIntoViewIfNeededCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpDomScrollIntoViewIfNeededCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpDomSetFileInputFilesCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpDomSetFileInputFilesCommandData(v BrowserCdpDomSetFileInputFilesCommandData) error

MergeBrowserCdpDomSetFileInputFilesCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpDomSetFileInputFilesCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputCancelDraggingCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputCancelDraggingCommandData(v BrowserCdpInputCancelDraggingCommandData) error

MergeBrowserCdpInputCancelDraggingCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputCancelDraggingCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchDragEventCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchDragEventCommandData(v BrowserCdpInputDispatchDragEventCommandData) error

MergeBrowserCdpInputDispatchDragEventCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputDispatchDragEventCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchKeyEventCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchKeyEventCommandData(v BrowserCdpInputDispatchKeyEventCommandData) error

MergeBrowserCdpInputDispatchKeyEventCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputDispatchKeyEventCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchMouseEventCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchMouseEventCommandData(v BrowserCdpInputDispatchMouseEventCommandData) error

MergeBrowserCdpInputDispatchMouseEventCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputDispatchMouseEventCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchTouchEventCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputDispatchTouchEventCommandData(v BrowserCdpInputDispatchTouchEventCommandData) error

MergeBrowserCdpInputDispatchTouchEventCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputDispatchTouchEventCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputEmulateTouchFromMouseEventCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputEmulateTouchFromMouseEventCommandData(v BrowserCdpInputEmulateTouchFromMouseEventCommandData) error

MergeBrowserCdpInputEmulateTouchFromMouseEventCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputEmulateTouchFromMouseEventCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputImeSetCompositionCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputImeSetCompositionCommandData(v BrowserCdpInputImeSetCompositionCommandData) error

MergeBrowserCdpInputImeSetCompositionCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputImeSetCompositionCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputInsertTextCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputInsertTextCommandData(v BrowserCdpInputInsertTextCommandData) error

MergeBrowserCdpInputInsertTextCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputInsertTextCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizePinchGestureCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizePinchGestureCommandData(v BrowserCdpInputSynthesizePinchGestureCommandData) error

MergeBrowserCdpInputSynthesizePinchGestureCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputSynthesizePinchGestureCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizeScrollGestureCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizeScrollGestureCommandData(v BrowserCdpInputSynthesizeScrollGestureCommandData) error

MergeBrowserCdpInputSynthesizeScrollGestureCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputSynthesizeScrollGestureCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizeTapGestureCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpInputSynthesizeTapGestureCommandData(v BrowserCdpInputSynthesizeTapGestureCommandData) error

MergeBrowserCdpInputSynthesizeTapGestureCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpInputSynthesizeTapGestureCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageBringToFrontCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageBringToFrontCommandData(v BrowserCdpPageBringToFrontCommandData) error

MergeBrowserCdpPageBringToFrontCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageBringToFrontCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageCaptureScreenshotCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageCaptureScreenshotCommandData(v BrowserCdpPageCaptureScreenshotCommandData) error

MergeBrowserCdpPageCaptureScreenshotCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageCaptureScreenshotCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageCaptureSnapshotCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageCaptureSnapshotCommandData(v BrowserCdpPageCaptureSnapshotCommandData) error

MergeBrowserCdpPageCaptureSnapshotCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageCaptureSnapshotCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageCloseCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageCloseCommandData(v BrowserCdpPageCloseCommandData) error

MergeBrowserCdpPageCloseCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageCloseCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageHandleJavaScriptDialogCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageHandleJavaScriptDialogCommandData(v BrowserCdpPageHandleJavaScriptDialogCommandData) error

MergeBrowserCdpPageHandleJavaScriptDialogCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageHandleJavaScriptDialogCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageNavigateCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageNavigateCommandData(v BrowserCdpPageNavigateCommandData) error

MergeBrowserCdpPageNavigateCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageNavigateCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageNavigateToHistoryEntryCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageNavigateToHistoryEntryCommandData(v BrowserCdpPageNavigateToHistoryEntryCommandData) error

MergeBrowserCdpPageNavigateToHistoryEntryCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageNavigateToHistoryEntryCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPagePrintToPdfCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPagePrintToPdfCommandData(v BrowserCdpPagePrintToPdfCommandData) error

MergeBrowserCdpPagePrintToPdfCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPagePrintToPdfCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageReloadCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageReloadCommandData(v BrowserCdpPageReloadCommandData) error

MergeBrowserCdpPageReloadCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageReloadCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageSetWebLifecycleStateCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageSetWebLifecycleStateCommandData(v BrowserCdpPageSetWebLifecycleStateCommandData) error

MergeBrowserCdpPageSetWebLifecycleStateCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageSetWebLifecycleStateCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageStartScreencastCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageStartScreencastCommandData(v BrowserCdpPageStartScreencastCommandData) error

MergeBrowserCdpPageStartScreencastCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageStartScreencastCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageStopLoadingCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageStopLoadingCommandData(v BrowserCdpPageStopLoadingCommandData) error

MergeBrowserCdpPageStopLoadingCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageStopLoadingCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpPageStopScreencastCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpPageStopScreencastCommandData(v BrowserCdpPageStopScreencastCommandData) error

MergeBrowserCdpPageStopScreencastCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpPageStopScreencastCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetActivateTargetCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetActivateTargetCommandData(v BrowserCdpTargetActivateTargetCommandData) error

MergeBrowserCdpTargetActivateTargetCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetActivateTargetCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetCloseTargetCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetCloseTargetCommandData(v BrowserCdpTargetCloseTargetCommandData) error

MergeBrowserCdpTargetCloseTargetCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetCloseTargetCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetCreateBrowserContextCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetCreateBrowserContextCommandData(v BrowserCdpTargetCreateBrowserContextCommandData) error

MergeBrowserCdpTargetCreateBrowserContextCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetCreateBrowserContextCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetCreateTargetCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetCreateTargetCommandData(v BrowserCdpTargetCreateTargetCommandData) error

MergeBrowserCdpTargetCreateTargetCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetCreateTargetCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetDisposeBrowserContextCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetDisposeBrowserContextCommandData(v BrowserCdpTargetDisposeBrowserContextCommandData) error

MergeBrowserCdpTargetDisposeBrowserContextCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetDisposeBrowserContextCommandData

func (*BrowserCdpCommandEventData) MergeBrowserCdpTargetOpenDevToolsCommandData

func (t *BrowserCdpCommandEventData) MergeBrowserCdpTargetOpenDevToolsCommandData(v BrowserCdpTargetOpenDevToolsCommandData) error

MergeBrowserCdpTargetOpenDevToolsCommandData performs a merge with any union data inside the BrowserCdpCommandEventData, using the provided BrowserCdpTargetOpenDevToolsCommandData

func (*BrowserCdpCommandEventData) UnmarshalJSON

func (t *BrowserCdpCommandEventData) UnmarshalJSON(b []byte) error

func (BrowserCdpCommandEventData) ValueByDiscriminator

func (t BrowserCdpCommandEventData) ValueByDiscriminator() (interface{}, error)

type BrowserCdpCommandEventType

type BrowserCdpCommandEventType string

BrowserCdpCommandEventType defines model for BrowserCdpCommandEvent.Type.

const (
	CdpCommand BrowserCdpCommandEventType = "cdp_command"
)

Defines values for BrowserCdpCommandEventType.

func (BrowserCdpCommandEventType) Valid

func (e BrowserCdpCommandEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpCommandEventType enum.

type BrowserCdpCommandMethod

type BrowserCdpCommandMethod string

BrowserCdpCommandMethod A browser-control CDP method the proxy reports. The set covers the commands an agent drives the browser with; configuration, DOM and Runtime bookkeeping, and Chrome-specific UI commands are outside it. Canonical definitions: devtools-protocol@2d019e73.

const (
	BrowserCdpCommandMethodAutofillTrigger                 BrowserCdpCommandMethod = "Autofill.trigger"
	BrowserCdpCommandMethodBrowserCancelDownload           BrowserCdpCommandMethod = "Browser.cancelDownload"
	BrowserCdpCommandMethodBrowserClose                    BrowserCdpCommandMethod = "Browser.close"
	BrowserCdpCommandMethodBrowserSetContentsSize          BrowserCdpCommandMethod = "Browser.setContentsSize"
	BrowserCdpCommandMethodBrowserSetWindowBounds          BrowserCdpCommandMethod = "Browser.setWindowBounds"
	BrowserCdpCommandMethodDOMFocus                        BrowserCdpCommandMethod = "DOM.focus"
	BrowserCdpCommandMethodDOMScrollIntoViewIfNeeded       BrowserCdpCommandMethod = "DOM.scrollIntoViewIfNeeded"
	BrowserCdpCommandMethodDOMSetFileInputFiles            BrowserCdpCommandMethod = "DOM.setFileInputFiles"
	BrowserCdpCommandMethodInputCancelDragging             BrowserCdpCommandMethod = "Input.cancelDragging"
	BrowserCdpCommandMethodInputDispatchDragEvent          BrowserCdpCommandMethod = "Input.dispatchDragEvent"
	BrowserCdpCommandMethodInputDispatchKeyEvent           BrowserCdpCommandMethod = "Input.dispatchKeyEvent"
	BrowserCdpCommandMethodInputDispatchMouseEvent         BrowserCdpCommandMethod = "Input.dispatchMouseEvent"
	BrowserCdpCommandMethodInputDispatchTouchEvent         BrowserCdpCommandMethod = "Input.dispatchTouchEvent"
	BrowserCdpCommandMethodInputEmulateTouchFromMouseEvent BrowserCdpCommandMethod = "Input.emulateTouchFromMouseEvent"
	BrowserCdpCommandMethodInputImeSetComposition          BrowserCdpCommandMethod = "Input.imeSetComposition"
	BrowserCdpCommandMethodInputInsertText                 BrowserCdpCommandMethod = "Input.insertText"
	BrowserCdpCommandMethodInputSynthesizePinchGesture     BrowserCdpCommandMethod = "Input.synthesizePinchGesture"
	BrowserCdpCommandMethodInputSynthesizeScrollGesture    BrowserCdpCommandMethod = "Input.synthesizeScrollGesture"
	BrowserCdpCommandMethodInputSynthesizeTapGesture       BrowserCdpCommandMethod = "Input.synthesizeTapGesture"
	BrowserCdpCommandMethodPageBringToFront                BrowserCdpCommandMethod = "Page.bringToFront"
	BrowserCdpCommandMethodPageCaptureScreenshot           BrowserCdpCommandMethod = "Page.captureScreenshot"
	BrowserCdpCommandMethodPageCaptureSnapshot             BrowserCdpCommandMethod = "Page.captureSnapshot"
	BrowserCdpCommandMethodPageClose                       BrowserCdpCommandMethod = "Page.close"
	BrowserCdpCommandMethodPageHandleJavaScriptDialog      BrowserCdpCommandMethod = "Page.handleJavaScriptDialog"
	BrowserCdpCommandMethodPageNavigate                    BrowserCdpCommandMethod = "Page.navigate"
	BrowserCdpCommandMethodPageNavigateToHistoryEntry      BrowserCdpCommandMethod = "Page.navigateToHistoryEntry"
	BrowserCdpCommandMethodPagePrintToPDF                  BrowserCdpCommandMethod = "Page.printToPDF"
	BrowserCdpCommandMethodPageReload                      BrowserCdpCommandMethod = "Page.reload"
	BrowserCdpCommandMethodPageSetWebLifecycleState        BrowserCdpCommandMethod = "Page.setWebLifecycleState"
	BrowserCdpCommandMethodPageStartScreencast             BrowserCdpCommandMethod = "Page.startScreencast"
	BrowserCdpCommandMethodPageStopLoading                 BrowserCdpCommandMethod = "Page.stopLoading"
	BrowserCdpCommandMethodPageStopScreencast              BrowserCdpCommandMethod = "Page.stopScreencast"
	BrowserCdpCommandMethodTargetActivateTarget            BrowserCdpCommandMethod = "Target.activateTarget"
	BrowserCdpCommandMethodTargetCloseTarget               BrowserCdpCommandMethod = "Target.closeTarget"
	BrowserCdpCommandMethodTargetCreateBrowserContext      BrowserCdpCommandMethod = "Target.createBrowserContext"
	BrowserCdpCommandMethodTargetCreateTarget              BrowserCdpCommandMethod = "Target.createTarget"
	BrowserCdpCommandMethodTargetDisposeBrowserContext     BrowserCdpCommandMethod = "Target.disposeBrowserContext"
	BrowserCdpCommandMethodTargetOpenDevTools              BrowserCdpCommandMethod = "Target.openDevTools"
)

Defines values for BrowserCdpCommandMethod.

func (BrowserCdpCommandMethod) Valid

func (e BrowserCdpCommandMethod) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpCommandMethod enum.

type BrowserCdpConnectEvent

type BrowserCdpConnectEvent struct {
	Category BrowserCdpConnectEventCategory `json:"category"`

	// Data Per-connection payload for `cdp_connect` events.
	Data *BrowserCdpConnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserCdpConnectEventType `json:"type"`
}

BrowserCdpConnectEvent An external client (e.g. customer SDK, Playwright, Puppeteer) connected to the CDP WebSocket proxy on this VM.

type BrowserCdpConnectEventCategory

type BrowserCdpConnectEventCategory string

BrowserCdpConnectEventCategory defines model for BrowserCdpConnectEvent.Category.

const (
	BrowserCdpConnectEventCategoryConnection BrowserCdpConnectEventCategory = "connection"
)

Defines values for BrowserCdpConnectEventCategory.

func (BrowserCdpConnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCdpConnectEventCategory enum.

type BrowserCdpConnectEventData

type BrowserCdpConnectEventData struct {
	// ConnectionId Identifies this CDP proxy connection, matching the `connection_id` on the `cdp_command` events that arrived on it. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`
}

BrowserCdpConnectEventData Per-connection payload for `cdp_connect` events.

type BrowserCdpConnectEventType

type BrowserCdpConnectEventType string

BrowserCdpConnectEventType defines model for BrowserCdpConnectEvent.Type.

const (
	CdpConnect BrowserCdpConnectEventType = "cdp_connect"
)

Defines values for BrowserCdpConnectEventType.

func (BrowserCdpConnectEventType) Valid

func (e BrowserCdpConnectEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpConnectEventType enum.

type BrowserCdpDisconnectEvent

type BrowserCdpDisconnectEvent struct {
	Category BrowserCdpDisconnectEventCategory `json:"category"`

	// Data Per-disconnect payload for `cdp_disconnect` events.
	Data *BrowserCdpDisconnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserCdpDisconnectEventType `json:"type"`
}

BrowserCdpDisconnectEvent An external client disconnected from the CDP WebSocket proxy on this VM. Pair with the immediately preceding `cdp_connect` on the same stream.

type BrowserCdpDisconnectEventCategory

type BrowserCdpDisconnectEventCategory string

BrowserCdpDisconnectEventCategory defines model for BrowserCdpDisconnectEvent.Category.

const (
	BrowserCdpDisconnectEventCategoryConnection BrowserCdpDisconnectEventCategory = "connection"
)

Defines values for BrowserCdpDisconnectEventCategory.

func (BrowserCdpDisconnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventCategory enum.

type BrowserCdpDisconnectEventData

type BrowserCdpDisconnectEventData struct {
	// ConnectionId Identifies this CDP proxy connection, matching the `connection_id` on the `cdp_command` events that arrived on it. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DurationMs Wall-clock duration of the connection in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// MessageCount Number of CDP messages relayed across the connection in either direction.
	MessageCount int `json:"message_count"`

	// Reason Why the connection ended. `client_close`: the client initiated the close. `upstream_changed`: Chromium restarted mid-session and the proxy tore down so the client could reconnect against the new upstream. `upstream_error`: upstream dial or message pump errored. `context_cancelled`: the request context was cancelled (typically server shutdown).
	Reason BrowserCdpDisconnectEventDataReason `json:"reason"`

	// TelemetryDropped Number of supported browser-control commands that were forwarded to the browser but never classified, because the queue was full or classification panicked. Every increment is a real lost command — unsupported and excluded methods are filtered before admission and never count toward this total. Telemetry loss only; every command was still relayed to the browser. Always present on images that report it; absent on images predating the field, which is not the same as zero.
	TelemetryDropped *int `json:"telemetry_dropped,omitempty"`

	// TelemetryExcluded Number of forwarded client commands that produced no `cdp_command` event because their method is listed in `control.cdp.excluded_methods`. Configuration rather than loss, so it is counted apart from `telemetry_dropped`.
	TelemetryExcluded *int `json:"telemetry_excluded,omitempty"`
}

BrowserCdpDisconnectEventData Per-disconnect payload for `cdp_disconnect` events.

type BrowserCdpDisconnectEventDataReason

type BrowserCdpDisconnectEventDataReason string

BrowserCdpDisconnectEventDataReason Why the connection ended. `client_close`: the client initiated the close. `upstream_changed`: Chromium restarted mid-session and the proxy tore down so the client could reconnect against the new upstream. `upstream_error`: upstream dial or message pump errored. `context_cancelled`: the request context was cancelled (typically server shutdown).

const (
	ClientClose      BrowserCdpDisconnectEventDataReason = "client_close"
	ContextCancelled BrowserCdpDisconnectEventDataReason = "context_cancelled"
	UpstreamChanged  BrowserCdpDisconnectEventDataReason = "upstream_changed"
	UpstreamError    BrowserCdpDisconnectEventDataReason = "upstream_error"
)

Defines values for BrowserCdpDisconnectEventDataReason.

func (BrowserCdpDisconnectEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventDataReason enum.

type BrowserCdpDisconnectEventType

type BrowserCdpDisconnectEventType string

BrowserCdpDisconnectEventType defines model for BrowserCdpDisconnectEvent.Type.

const (
	CdpDisconnect BrowserCdpDisconnectEventType = "cdp_disconnect"
)

Defines values for BrowserCdpDisconnectEventType.

func (BrowserCdpDisconnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventType enum.

type BrowserCdpDomFocusCommandData

type BrowserCdpDomFocusCommandData struct {
	// BackendNodeId Opaque backend DOM node identifier the command targeted.
	BackendNodeId *int `json:"backend_node_id,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                             `json:"connection_id,omitempty"`
	Method       BrowserCdpDomFocusCommandDataMethod `json:"method"`

	// NodeId Opaque DOM node identifier the command targeted.
	NodeId *int `json:"node_id,omitempty"`

	// ObjectId Opaque Runtime remote object identifier the command targeted. Clipped to 128 characters; a longer value is not a real identifier.
	ObjectId *string `json:"object_id,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpDomFocusCommandData Sanitized `DOM.focus` arguments. Canonical input: `DOM.focus` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpDomFocusCommandDataMethod

type BrowserCdpDomFocusCommandDataMethod string

BrowserCdpDomFocusCommandDataMethod defines model for BrowserCdpDomFocusCommandData.Method.

const (
	DOMFocus BrowserCdpDomFocusCommandDataMethod = "DOM.focus"
)

Defines values for BrowserCdpDomFocusCommandDataMethod.

func (BrowserCdpDomFocusCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpDomFocusCommandDataMethod enum.

type BrowserCdpDomScrollIntoViewIfNeededCommandData

type BrowserCdpDomScrollIntoViewIfNeededCommandData struct {
	// BackendNodeId Opaque backend DOM node identifier the command targeted.
	BackendNodeId *int `json:"backend_node_id,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                              `json:"connection_id,omitempty"`
	Method       BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod `json:"method"`

	// NodeId Opaque DOM node identifier the command targeted.
	NodeId *int `json:"node_id,omitempty"`

	// ObjectId Opaque Runtime remote object identifier the command targeted. Clipped to 128 characters; a longer value is not a real identifier.
	ObjectId *string `json:"object_id,omitempty"`

	// RectHeight Height of the rect the command scrolled to.
	RectHeight *float64 `json:"rect_height,omitempty"`

	// RectWidth Width of the rect the command scrolled to.
	RectWidth *float64 `json:"rect_width,omitempty"`

	// RectX X offset of the rect the command scrolled to, relative to the node.
	RectX *float64 `json:"rect_x,omitempty"`

	// RectY Y offset of the rect the command scrolled to, relative to the node.
	RectY *float64 `json:"rect_y,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpDomScrollIntoViewIfNeededCommandData Sanitized `DOM.scrollIntoViewIfNeeded` arguments. Canonical input: `DOM.scrollIntoViewIfNeeded` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod

type BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod string

BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod defines model for BrowserCdpDomScrollIntoViewIfNeededCommandData.Method.

const (
	DOMScrollIntoViewIfNeeded BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod = "DOM.scrollIntoViewIfNeeded"
)

Defines values for BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod.

func (BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpDomScrollIntoViewIfNeededCommandDataMethod enum.

type BrowserCdpDomSetFileInputFilesCommandData

type BrowserCdpDomSetFileInputFilesCommandData struct {
	// BackendNodeId Opaque backend DOM node identifier the command targeted.
	BackendNodeId *int `json:"backend_node_id,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// FileCount Number of files handed to the input. File paths are never captured.
	FileCount int                                             `json:"file_count"`
	Method    BrowserCdpDomSetFileInputFilesCommandDataMethod `json:"method"`

	// NodeId Opaque DOM node identifier the command targeted.
	NodeId *int `json:"node_id,omitempty"`

	// ObjectId Opaque Runtime remote object identifier the command targeted. Clipped to 128 characters; a longer value is not a real identifier.
	ObjectId *string `json:"object_id,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpDomSetFileInputFilesCommandData Sanitized `DOM.setFileInputFiles` arguments. Canonical input: `DOM.setFileInputFiles` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpDomSetFileInputFilesCommandDataMethod

type BrowserCdpDomSetFileInputFilesCommandDataMethod string

BrowserCdpDomSetFileInputFilesCommandDataMethod defines model for BrowserCdpDomSetFileInputFilesCommandData.Method.

const (
	DOMSetFileInputFiles BrowserCdpDomSetFileInputFilesCommandDataMethod = "DOM.setFileInputFiles"
)

Defines values for BrowserCdpDomSetFileInputFilesCommandDataMethod.

func (BrowserCdpDomSetFileInputFilesCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpDomSetFileInputFilesCommandDataMethod enum.

type BrowserCdpDragEventType

type BrowserCdpDragEventType string

BrowserCdpDragEventType Drag event phase. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpDragEventTypeDragCancel BrowserCdpDragEventType = "dragCancel"
	BrowserCdpDragEventTypeDragEnter  BrowserCdpDragEventType = "dragEnter"
	BrowserCdpDragEventTypeDragOver   BrowserCdpDragEventType = "dragOver"
	BrowserCdpDragEventTypeDrop       BrowserCdpDragEventType = "drop"
	BrowserCdpDragEventTypeOther      BrowserCdpDragEventType = "other"
)

Defines values for BrowserCdpDragEventType.

func (BrowserCdpDragEventType) Valid

func (e BrowserCdpDragEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpDragEventType enum.

type BrowserCdpDragMimeCategory

type BrowserCdpDragMimeCategory string

BrowserCdpDragMimeCategory Top-level MIME category of a drag item, from the IANA registry rather than the protocol; a drag item's subtype names the file, so only the category is reported. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpDragMimeCategoryApplication BrowserCdpDragMimeCategory = "application"
	BrowserCdpDragMimeCategoryAudio       BrowserCdpDragMimeCategory = "audio"
	BrowserCdpDragMimeCategoryFont        BrowserCdpDragMimeCategory = "font"
	BrowserCdpDragMimeCategoryImage       BrowserCdpDragMimeCategory = "image"
	BrowserCdpDragMimeCategoryMessage     BrowserCdpDragMimeCategory = "message"
	BrowserCdpDragMimeCategoryModel       BrowserCdpDragMimeCategory = "model"
	BrowserCdpDragMimeCategoryMultipart   BrowserCdpDragMimeCategory = "multipart"
	BrowserCdpDragMimeCategoryOther       BrowserCdpDragMimeCategory = "other"
	BrowserCdpDragMimeCategoryText        BrowserCdpDragMimeCategory = "text"
	BrowserCdpDragMimeCategoryVideo       BrowserCdpDragMimeCategory = "video"
)

Defines values for BrowserCdpDragMimeCategory.

func (BrowserCdpDragMimeCategory) Valid

func (e BrowserCdpDragMimeCategory) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpDragMimeCategory enum.

type BrowserCdpGestureSourceType

type BrowserCdpGestureSourceType string

BrowserCdpGestureSourceType Input source a synthesized gesture emulates. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpGestureSourceTypeDefault BrowserCdpGestureSourceType = "default"
	BrowserCdpGestureSourceTypeMouse   BrowserCdpGestureSourceType = "mouse"
	BrowserCdpGestureSourceTypeOther   BrowserCdpGestureSourceType = "other"
	BrowserCdpGestureSourceTypeTouch   BrowserCdpGestureSourceType = "touch"
)

Defines values for BrowserCdpGestureSourceType.

func (BrowserCdpGestureSourceType) Valid

Valid indicates whether the value is a known member of the BrowserCdpGestureSourceType enum.

type BrowserCdpInputCancelDraggingCommandData

type BrowserCdpInputCancelDraggingCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                        `json:"connection_id,omitempty"`
	Method       BrowserCdpInputCancelDraggingCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpInputCancelDraggingCommandData Sanitized `Input.cancelDragging` arguments. Canonical input: `Input.cancelDragging` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputCancelDraggingCommandDataMethod

type BrowserCdpInputCancelDraggingCommandDataMethod string

BrowserCdpInputCancelDraggingCommandDataMethod defines model for BrowserCdpInputCancelDraggingCommandData.Method.

const (
	InputCancelDragging BrowserCdpInputCancelDraggingCommandDataMethod = "Input.cancelDragging"
)

Defines values for BrowserCdpInputCancelDraggingCommandDataMethod.

func (BrowserCdpInputCancelDraggingCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputCancelDraggingCommandDataMethod enum.

type BrowserCdpInputDispatchDragEventCommandData

type BrowserCdpInputDispatchDragEventCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DragFileCount Number of files in the drag payload. File paths are never captured.
	DragFileCount *int `json:"drag_file_count,omitempty"`

	// DragItemCount Number of items in the drag payload. Item contents are never captured.
	DragItemCount *int `json:"drag_item_count,omitempty"`

	// DragMimeCategories Distinct top-level MIME categories of the drag items (e.g. `text`, `image`, `application`). Subtypes and contents are never captured. A value the protocol does not define is reported as `other`.
	DragMimeCategories *[]BrowserCdpDragMimeCategory `json:"drag_mime_categories,omitempty"`

	// DragOperationsMask Bit field of allowed drag operations (1=copy, 2=link, 16=move).
	DragOperationsMask *int `json:"drag_operations_mask,omitempty"`

	// EventType Drag event phase: `dragEnter`, `dragOver`, `drop` or `dragCancel`. A value the protocol does not define is reported as `other`.
	EventType BrowserCdpDragEventType                           `json:"event_type"`
	Method    BrowserCdpInputDispatchDragEventCommandDataMethod `json:"method"`

	// Modifiers Bit field of held modifier keys (1=Alt, 2=Ctrl, 4=Meta, 8=Shift).
	Modifiers *int `json:"modifiers,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputDispatchDragEventCommandData Sanitized `Input.dispatchDragEvent` arguments. Canonical input: `Input.dispatchDragEvent` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputDispatchDragEventCommandDataMethod

type BrowserCdpInputDispatchDragEventCommandDataMethod string

BrowserCdpInputDispatchDragEventCommandDataMethod defines model for BrowserCdpInputDispatchDragEventCommandData.Method.

const (
	InputDispatchDragEvent BrowserCdpInputDispatchDragEventCommandDataMethod = "Input.dispatchDragEvent"
)

Defines values for BrowserCdpInputDispatchDragEventCommandDataMethod.

func (BrowserCdpInputDispatchDragEventCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputDispatchDragEventCommandDataMethod enum.

type BrowserCdpInputDispatchKeyEventCommandData

type BrowserCdpInputDispatchKeyEventCommandData struct {
	// AutoRepeat Whether the event was generated by key repeat.
	AutoRepeat *bool `json:"auto_repeat,omitempty"`

	// CommandCount Number of editing commands (e.g. `selectAll`) carried by the event.
	CommandCount *int `json:"command_count,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// EventType Key event phase: `keyDown`, `keyUp`, `rawKeyDown` or `char`. A value the protocol does not define is reported as `other`.
	EventType BrowserCdpKeyEventType `json:"event_type"`

	// IsKeypad Whether the key is on the numeric keypad.
	IsKeypad *bool `json:"is_keypad,omitempty"`

	// IsSystemKey Whether the event is a system key event.
	IsSystemKey *bool `json:"is_system_key,omitempty"`

	// Location Keyboard location (1=left, 2=right, 3=numpad).
	Location *int                                             `json:"location,omitempty"`
	Method   BrowserCdpInputDispatchKeyEventCommandDataMethod `json:"method"`

	// Modifiers Bit field of held modifier keys (1=Alt, 2=Ctrl, 4=Meta, 8=Shift).
	Modifiers *int `json:"modifiers,omitempty"`

	// NamedKey Key that commands the page rather than typing into it (e.g. `Enter`, `Tab`, `ArrowDown`, `F5`). Keys that produce a character are never captured; those are counted by `text_length`.
	NamedKey *string `json:"named_key,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TextLength Number of characters the command submitted. The text itself is never captured.
	TextLength *int `json:"text_length,omitempty"`
}

BrowserCdpInputDispatchKeyEventCommandData Sanitized `Input.dispatchKeyEvent` arguments. Canonical input: `Input.dispatchKeyEvent` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputDispatchKeyEventCommandDataMethod

type BrowserCdpInputDispatchKeyEventCommandDataMethod string

BrowserCdpInputDispatchKeyEventCommandDataMethod defines model for BrowserCdpInputDispatchKeyEventCommandData.Method.

const (
	InputDispatchKeyEvent BrowserCdpInputDispatchKeyEventCommandDataMethod = "Input.dispatchKeyEvent"
)

Defines values for BrowserCdpInputDispatchKeyEventCommandDataMethod.

func (BrowserCdpInputDispatchKeyEventCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputDispatchKeyEventCommandDataMethod enum.

type BrowserCdpInputDispatchMouseEventCommandData

type BrowserCdpInputDispatchMouseEventCommandData struct {
	// Button Button named by the command (`none`, `left`, `middle`, `right`, `back`, `forward`). A value the protocol does not define is reported as `other`.
	Button *BrowserCdpMouseButton `json:"button,omitempty"`

	// Buttons Bit field of buttons held down. Non-zero on a `mouseMoved` means the move is a drag path.
	Buttons *int `json:"buttons,omitempty"`

	// ClickCount Number of times the button was clicked (2 is a double click).
	ClickCount *int `json:"click_count,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DeltaX Horizontal scroll delta, for `mouseWheel`.
	DeltaX *float64 `json:"delta_x,omitempty"`

	// DeltaY Vertical scroll delta, for `mouseWheel`.
	DeltaY *float64 `json:"delta_y,omitempty"`

	// EventType Mouse event phase: `mousePressed`, `mouseReleased`, `mouseMoved` or `mouseWheel`. A value the protocol does not define is reported as `other`.
	EventType BrowserCdpMouseEventType `json:"event_type"`

	// Force Normalized pressure, 0 to 1.
	Force  *float64                                           `json:"force,omitempty"`
	Method BrowserCdpInputDispatchMouseEventCommandDataMethod `json:"method"`

	// Modifiers Bit field of held modifier keys (1=Alt, 2=Ctrl, 4=Meta, 8=Shift).
	Modifiers *int `json:"modifiers,omitempty"`

	// PointerType Pointer that generated the event (`mouse` or `pen`). A value the protocol does not define is reported as `other`.
	PointerType *BrowserCdpPointerType `json:"pointer_type,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TangentialPressure Normalized tangential pressure, -1 to 1.
	TangentialPressure *float64 `json:"tangential_pressure,omitempty"`

	// TiltX Pen tilt from the Y-Z plane, in degrees.
	TiltX *float64 `json:"tilt_x,omitempty"`

	// TiltY Pen tilt from the X-Z plane, in degrees.
	TiltY *float64 `json:"tilt_y,omitempty"`

	// Twist Pen clockwise rotation, in degrees.
	Twist *int `json:"twist,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputDispatchMouseEventCommandData Sanitized `Input.dispatchMouseEvent` arguments. Canonical input: `Input.dispatchMouseEvent` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputDispatchMouseEventCommandDataMethod

type BrowserCdpInputDispatchMouseEventCommandDataMethod string

BrowserCdpInputDispatchMouseEventCommandDataMethod defines model for BrowserCdpInputDispatchMouseEventCommandData.Method.

const (
	InputDispatchMouseEvent BrowserCdpInputDispatchMouseEventCommandDataMethod = "Input.dispatchMouseEvent"
)

Defines values for BrowserCdpInputDispatchMouseEventCommandDataMethod.

func (BrowserCdpInputDispatchMouseEventCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputDispatchMouseEventCommandDataMethod enum.

type BrowserCdpInputDispatchTouchEventCommandData

type BrowserCdpInputDispatchTouchEventCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// EventType Touch event phase: `touchStart`, `touchEnd`, `touchMove` or `touchCancel`. A value the protocol does not define is reported as `other`.
	EventType BrowserCdpTouchEventType `json:"event_type"`

	// Force Normalized pressure of the first touch point, 0 to 1.
	Force  *float64                                           `json:"force,omitempty"`
	Method BrowserCdpInputDispatchTouchEventCommandDataMethod `json:"method"`

	// Modifiers Bit field of held modifier keys (1=Alt, 2=Ctrl, 4=Meta, 8=Shift).
	Modifiers *int `json:"modifiers,omitempty"`

	// RadiusX Horizontal radius of the first touch point.
	RadiusX *float64 `json:"radius_x,omitempty"`

	// RadiusY Vertical radius of the first touch point.
	RadiusY *float64 `json:"radius_y,omitempty"`

	// RotationAngle Rotation of the first touch point, in degrees.
	RotationAngle *float64 `json:"rotation_angle,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TangentialPressure Normalized tangential pressure of the first touch point, -1 to 1.
	TangentialPressure *float64 `json:"tangential_pressure,omitempty"`

	// TiltX Tilt of the first touch point from the Y-Z plane, in degrees.
	TiltX *float64 `json:"tilt_x,omitempty"`

	// TiltY Tilt of the first touch point from the X-Z plane, in degrees.
	TiltY *float64 `json:"tilt_y,omitempty"`

	// TouchPointCount Number of active touch points the command carried.
	TouchPointCount int `json:"touch_point_count"`

	// Twist Clockwise rotation of the first touch point, in degrees.
	Twist *int `json:"twist,omitempty"`

	// X Viewport x coordinate of the first touch point. Touch coordinates live inside `touchPoints`, so this is the primary point rather than a command-level argument.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate of the first touch point.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputDispatchTouchEventCommandData Sanitized `Input.dispatchTouchEvent` arguments. Canonical input: `Input.dispatchTouchEvent` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputDispatchTouchEventCommandDataMethod

type BrowserCdpInputDispatchTouchEventCommandDataMethod string

BrowserCdpInputDispatchTouchEventCommandDataMethod defines model for BrowserCdpInputDispatchTouchEventCommandData.Method.

const (
	InputDispatchTouchEvent BrowserCdpInputDispatchTouchEventCommandDataMethod = "Input.dispatchTouchEvent"
)

Defines values for BrowserCdpInputDispatchTouchEventCommandDataMethod.

func (BrowserCdpInputDispatchTouchEventCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputDispatchTouchEventCommandDataMethod enum.

type BrowserCdpInputEmulateTouchFromMouseEventCommandData

type BrowserCdpInputEmulateTouchFromMouseEventCommandData struct {
	// Button Button named by the command. A value the protocol does not define is reported as `other`.
	Button *BrowserCdpMouseButton `json:"button,omitempty"`

	// ClickCount Number of times the button was clicked.
	ClickCount *int `json:"click_count,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DeltaX Horizontal scroll delta.
	DeltaX *float64 `json:"delta_x,omitempty"`

	// DeltaY Vertical scroll delta.
	DeltaY *float64 `json:"delta_y,omitempty"`

	// EventType Mouse event phase being emulated as touch. A value the protocol does not define is reported as `other`.
	EventType BrowserCdpMouseEventType                                   `json:"event_type"`
	Method    BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod `json:"method"`

	// Modifiers Bit field of held modifier keys (1=Alt, 2=Ctrl, 4=Meta, 8=Shift).
	Modifiers *int `json:"modifiers,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputEmulateTouchFromMouseEventCommandData Sanitized `Input.emulateTouchFromMouseEvent` arguments. Canonical input: `Input.emulateTouchFromMouseEvent` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod

type BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod string

BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod defines model for BrowserCdpInputEmulateTouchFromMouseEventCommandData.Method.

const (
	InputEmulateTouchFromMouseEvent BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod = "Input.emulateTouchFromMouseEvent"
)

Defines values for BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod.

func (BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputEmulateTouchFromMouseEventCommandDataMethod enum.

type BrowserCdpInputImeSetCompositionCommandData

type BrowserCdpInputImeSetCompositionCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                           `json:"connection_id,omitempty"`
	Method       BrowserCdpInputImeSetCompositionCommandDataMethod `json:"method"`

	// ReplacementEnd Replacement range end offset.
	ReplacementEnd *int `json:"replacement_end,omitempty"`

	// ReplacementStart Replacement range start offset.
	ReplacementStart *int `json:"replacement_start,omitempty"`

	// SelectionEnd Selection end offset within the composition.
	SelectionEnd *int `json:"selection_end,omitempty"`

	// SelectionStart Selection start offset within the composition.
	SelectionStart *int `json:"selection_start,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TextLength Number of characters in the composition. The text itself is never captured.
	TextLength int `json:"text_length"`
}

BrowserCdpInputImeSetCompositionCommandData Sanitized `Input.imeSetComposition` arguments. Canonical input: `Input.imeSetComposition` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputImeSetCompositionCommandDataMethod

type BrowserCdpInputImeSetCompositionCommandDataMethod string

BrowserCdpInputImeSetCompositionCommandDataMethod defines model for BrowserCdpInputImeSetCompositionCommandData.Method.

const (
	InputImeSetComposition BrowserCdpInputImeSetCompositionCommandDataMethod = "Input.imeSetComposition"
)

Defines values for BrowserCdpInputImeSetCompositionCommandDataMethod.

func (BrowserCdpInputImeSetCompositionCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputImeSetCompositionCommandDataMethod enum.

type BrowserCdpInputInsertTextCommandData

type BrowserCdpInputInsertTextCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                    `json:"connection_id,omitempty"`
	Method       BrowserCdpInputInsertTextCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TextLength Number of characters inserted. The text itself is never captured.
	TextLength int `json:"text_length"`
}

BrowserCdpInputInsertTextCommandData Sanitized `Input.insertText` arguments. Canonical input: `Input.insertText` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputInsertTextCommandDataMethod

type BrowserCdpInputInsertTextCommandDataMethod string

BrowserCdpInputInsertTextCommandDataMethod defines model for BrowserCdpInputInsertTextCommandData.Method.

const (
	InputInsertText BrowserCdpInputInsertTextCommandDataMethod = "Input.insertText"
)

Defines values for BrowserCdpInputInsertTextCommandDataMethod.

func (BrowserCdpInputInsertTextCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputInsertTextCommandDataMethod enum.

type BrowserCdpInputSynthesizePinchGestureCommandData

type BrowserCdpInputSynthesizePinchGestureCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// GestureSourceType Input source the synthesized gesture emulates. A value the protocol does not define is reported as `other`.
	GestureSourceType *BrowserCdpGestureSourceType                           `json:"gesture_source_type,omitempty"`
	Method            BrowserCdpInputSynthesizePinchGestureCommandDataMethod `json:"method"`

	// RelativeSpeed Relative pointer speed, in pixels per second.
	RelativeSpeed *int `json:"relative_speed,omitempty"`

	// ScaleFactor Relative scale of the pinch (>1 zooms in).
	ScaleFactor *float64 `json:"scale_factor,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputSynthesizePinchGestureCommandData Sanitized `Input.synthesizePinchGesture` arguments. Canonical input: `Input.synthesizePinchGesture` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputSynthesizePinchGestureCommandDataMethod

type BrowserCdpInputSynthesizePinchGestureCommandDataMethod string

BrowserCdpInputSynthesizePinchGestureCommandDataMethod defines model for BrowserCdpInputSynthesizePinchGestureCommandData.Method.

const (
	InputSynthesizePinchGesture BrowserCdpInputSynthesizePinchGestureCommandDataMethod = "Input.synthesizePinchGesture"
)

Defines values for BrowserCdpInputSynthesizePinchGestureCommandDataMethod.

func (BrowserCdpInputSynthesizePinchGestureCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputSynthesizePinchGestureCommandDataMethod enum.

type BrowserCdpInputSynthesizeScrollGestureCommandData

type BrowserCdpInputSynthesizeScrollGestureCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// GestureSourceType Input source the synthesized gesture emulates. A value the protocol does not define is reported as `other`.
	GestureSourceType *BrowserCdpGestureSourceType                            `json:"gesture_source_type,omitempty"`
	Method            BrowserCdpInputSynthesizeScrollGestureCommandDataMethod `json:"method"`

	// PreventFling Whether fling was suppressed.
	PreventFling *bool `json:"prevent_fling,omitempty"`

	// RepeatCount Number of additional repeats of the scroll.
	RepeatCount *int `json:"repeat_count,omitempty"`

	// RepeatDelayMs Delay between repeats, in milliseconds.
	RepeatDelayMs *int `json:"repeat_delay_ms,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// Speed Swipe speed in pixels per second.
	Speed *int `json:"speed,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// XDistance Horizontal scroll distance in CSS pixels; positive scrolls left.
	XDistance *float64 `json:"x_distance,omitempty"`

	// XOverscroll Additional horizontal distance scrolled past the end.
	XOverscroll *float64 `json:"x_overscroll,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`

	// YDistance Vertical scroll distance in CSS pixels; positive scrolls up.
	YDistance *float64 `json:"y_distance,omitempty"`

	// YOverscroll Additional vertical distance scrolled past the end.
	YOverscroll *float64 `json:"y_overscroll,omitempty"`
}

BrowserCdpInputSynthesizeScrollGestureCommandData Sanitized `Input.synthesizeScrollGesture` arguments. Canonical input: `Input.synthesizeScrollGesture` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputSynthesizeScrollGestureCommandDataMethod

type BrowserCdpInputSynthesizeScrollGestureCommandDataMethod string

BrowserCdpInputSynthesizeScrollGestureCommandDataMethod defines model for BrowserCdpInputSynthesizeScrollGestureCommandData.Method.

const (
	InputSynthesizeScrollGesture BrowserCdpInputSynthesizeScrollGestureCommandDataMethod = "Input.synthesizeScrollGesture"
)

Defines values for BrowserCdpInputSynthesizeScrollGestureCommandDataMethod.

func (BrowserCdpInputSynthesizeScrollGestureCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputSynthesizeScrollGestureCommandDataMethod enum.

type BrowserCdpInputSynthesizeTapGestureCommandData

type BrowserCdpInputSynthesizeTapGestureCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// Duration Duration between touchdown and touchup, in milliseconds.
	Duration *int `json:"duration,omitempty"`

	// GestureSourceType Input source the synthesized gesture emulates. A value the protocol does not define is reported as `other`.
	GestureSourceType *BrowserCdpGestureSourceType                         `json:"gesture_source_type,omitempty"`
	Method            BrowserCdpInputSynthesizeTapGestureCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TapCount Number of times to tap (2 is a double tap).
	TapCount *int `json:"tap_count,omitempty"`

	// X Viewport x coordinate in CSS pixels.
	X *float64 `json:"x,omitempty"`

	// Y Viewport y coordinate in CSS pixels.
	Y *float64 `json:"y,omitempty"`
}

BrowserCdpInputSynthesizeTapGestureCommandData Sanitized `Input.synthesizeTapGesture` arguments. Canonical input: `Input.synthesizeTapGesture` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpInputSynthesizeTapGestureCommandDataMethod

type BrowserCdpInputSynthesizeTapGestureCommandDataMethod string

BrowserCdpInputSynthesizeTapGestureCommandDataMethod defines model for BrowserCdpInputSynthesizeTapGestureCommandData.Method.

const (
	InputSynthesizeTapGesture BrowserCdpInputSynthesizeTapGestureCommandDataMethod = "Input.synthesizeTapGesture"
)

Defines values for BrowserCdpInputSynthesizeTapGestureCommandDataMethod.

func (BrowserCdpInputSynthesizeTapGestureCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpInputSynthesizeTapGestureCommandDataMethod enum.

type BrowserCdpKeyEventType

type BrowserCdpKeyEventType string

BrowserCdpKeyEventType Key event phase. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpKeyEventTypeChar       BrowserCdpKeyEventType = "char"
	BrowserCdpKeyEventTypeKeyDown    BrowserCdpKeyEventType = "keyDown"
	BrowserCdpKeyEventTypeKeyUp      BrowserCdpKeyEventType = "keyUp"
	BrowserCdpKeyEventTypeOther      BrowserCdpKeyEventType = "other"
	BrowserCdpKeyEventTypeRawKeyDown BrowserCdpKeyEventType = "rawKeyDown"
)

Defines values for BrowserCdpKeyEventType.

func (BrowserCdpKeyEventType) Valid

func (e BrowserCdpKeyEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpKeyEventType enum.

type BrowserCdpMouseButton

type BrowserCdpMouseButton string

BrowserCdpMouseButton Mouse button named by a command. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpMouseButtonBack    BrowserCdpMouseButton = "back"
	BrowserCdpMouseButtonForward BrowserCdpMouseButton = "forward"
	BrowserCdpMouseButtonLeft    BrowserCdpMouseButton = "left"
	BrowserCdpMouseButtonMiddle  BrowserCdpMouseButton = "middle"
	BrowserCdpMouseButtonNone    BrowserCdpMouseButton = "none"
	BrowserCdpMouseButtonOther   BrowserCdpMouseButton = "other"
	BrowserCdpMouseButtonRight   BrowserCdpMouseButton = "right"
)

Defines values for BrowserCdpMouseButton.

func (BrowserCdpMouseButton) Valid

func (e BrowserCdpMouseButton) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpMouseButton enum.

type BrowserCdpMouseEventType

type BrowserCdpMouseEventType string

BrowserCdpMouseEventType Mouse event phase. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpMouseEventTypeMouseMoved    BrowserCdpMouseEventType = "mouseMoved"
	BrowserCdpMouseEventTypeMousePressed  BrowserCdpMouseEventType = "mousePressed"
	BrowserCdpMouseEventTypeMouseReleased BrowserCdpMouseEventType = "mouseReleased"
	BrowserCdpMouseEventTypeMouseWheel    BrowserCdpMouseEventType = "mouseWheel"
	BrowserCdpMouseEventTypeOther         BrowserCdpMouseEventType = "other"
)

Defines values for BrowserCdpMouseEventType.

func (BrowserCdpMouseEventType) Valid

func (e BrowserCdpMouseEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpMouseEventType enum.

type BrowserCdpPageBringToFrontCommandData

type BrowserCdpPageBringToFrontCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                     `json:"connection_id,omitempty"`
	Method       BrowserCdpPageBringToFrontCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageBringToFrontCommandData Sanitized `Page.bringToFront` arguments. Canonical input: `Page.bringToFront` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageBringToFrontCommandDataMethod

type BrowserCdpPageBringToFrontCommandDataMethod string

BrowserCdpPageBringToFrontCommandDataMethod defines model for BrowserCdpPageBringToFrontCommandData.Method.

const (
	PageBringToFront BrowserCdpPageBringToFrontCommandDataMethod = "Page.bringToFront"
)

Defines values for BrowserCdpPageBringToFrontCommandDataMethod.

func (BrowserCdpPageBringToFrontCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageBringToFrontCommandDataMethod enum.

type BrowserCdpPageCaptureScreenshotCommandData

type BrowserCdpPageCaptureScreenshotCommandData struct {
	// CaptureBeyondViewport Whether the capture extended past the viewport.
	CaptureBeyondViewport *bool `json:"capture_beyond_viewport,omitempty"`

	// ClipHeight Clip region height in CSS pixels.
	ClipHeight *float64 `json:"clip_height,omitempty"`

	// ClipScale Clip region page scale factor.
	ClipScale *float64 `json:"clip_scale,omitempty"`

	// ClipWidth Clip region width in CSS pixels.
	ClipWidth *float64 `json:"clip_width,omitempty"`

	// ClipX Clip region x offset in CSS pixels.
	ClipX *float64 `json:"clip_x,omitempty"`

	// ClipY Clip region y offset in CSS pixels.
	ClipY *float64 `json:"clip_y,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// Format Image format requested (`jpeg`, `png` or `webp`). A value the protocol does not define is reported as `other`.
	Format *BrowserCdpScreenshotFormat `json:"format,omitempty"`

	// FromSurface Whether the capture was taken from the surface rather than the view.
	FromSurface *bool                                            `json:"from_surface,omitempty"`
	Method      BrowserCdpPageCaptureScreenshotCommandDataMethod `json:"method"`

	// OptimizeForSpeed Whether encoding favored speed over size.
	OptimizeForSpeed *bool `json:"optimize_for_speed,omitempty"`

	// Quality Compression quality, 0 to 100, for lossy formats.
	Quality *int `json:"quality,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageCaptureScreenshotCommandData Sanitized `Page.captureScreenshot` arguments. Canonical input: `Page.captureScreenshot` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageCaptureScreenshotCommandDataMethod

type BrowserCdpPageCaptureScreenshotCommandDataMethod string

BrowserCdpPageCaptureScreenshotCommandDataMethod defines model for BrowserCdpPageCaptureScreenshotCommandData.Method.

const (
	PageCaptureScreenshot BrowserCdpPageCaptureScreenshotCommandDataMethod = "Page.captureScreenshot"
)

Defines values for BrowserCdpPageCaptureScreenshotCommandDataMethod.

func (BrowserCdpPageCaptureScreenshotCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageCaptureScreenshotCommandDataMethod enum.

type BrowserCdpPageCaptureSnapshotCommandData

type BrowserCdpPageCaptureSnapshotCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// Format Snapshot format requested (`mhtml`). A value the protocol does not define is reported as `other`.
	Format *BrowserCdpSnapshotFormat                      `json:"format,omitempty"`
	Method BrowserCdpPageCaptureSnapshotCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageCaptureSnapshotCommandData Sanitized `Page.captureSnapshot` arguments. Canonical input: `Page.captureSnapshot` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageCaptureSnapshotCommandDataMethod

type BrowserCdpPageCaptureSnapshotCommandDataMethod string

BrowserCdpPageCaptureSnapshotCommandDataMethod defines model for BrowserCdpPageCaptureSnapshotCommandData.Method.

const (
	PageCaptureSnapshot BrowserCdpPageCaptureSnapshotCommandDataMethod = "Page.captureSnapshot"
)

Defines values for BrowserCdpPageCaptureSnapshotCommandDataMethod.

func (BrowserCdpPageCaptureSnapshotCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageCaptureSnapshotCommandDataMethod enum.

type BrowserCdpPageCloseCommandData

type BrowserCdpPageCloseCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                              `json:"connection_id,omitempty"`
	Method       BrowserCdpPageCloseCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageCloseCommandData Sanitized `Page.close` arguments. Canonical input: `Page.close` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageCloseCommandDataMethod

type BrowserCdpPageCloseCommandDataMethod string

BrowserCdpPageCloseCommandDataMethod defines model for BrowserCdpPageCloseCommandData.Method.

const (
	PageClose BrowserCdpPageCloseCommandDataMethod = "Page.close"
)

Defines values for BrowserCdpPageCloseCommandDataMethod.

func (BrowserCdpPageCloseCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageCloseCommandDataMethod enum.

type BrowserCdpPageHandleJavaScriptDialogCommandData

type BrowserCdpPageHandleJavaScriptDialogCommandData struct {
	// Accept Whether the dialog was accepted or dismissed.
	Accept bool `json:"accept"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                               `json:"connection_id,omitempty"`
	Method       BrowserCdpPageHandleJavaScriptDialogCommandDataMethod `json:"method"`

	// PromptTextLength Number of characters entered into a prompt dialog. The text itself is never captured.
	PromptTextLength *int `json:"prompt_text_length,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageHandleJavaScriptDialogCommandData Sanitized `Page.handleJavaScriptDialog` arguments. Canonical input: `Page.handleJavaScriptDialog` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageHandleJavaScriptDialogCommandDataMethod

type BrowserCdpPageHandleJavaScriptDialogCommandDataMethod string

BrowserCdpPageHandleJavaScriptDialogCommandDataMethod defines model for BrowserCdpPageHandleJavaScriptDialogCommandData.Method.

const (
	PageHandleJavaScriptDialog BrowserCdpPageHandleJavaScriptDialogCommandDataMethod = "Page.handleJavaScriptDialog"
)

Defines values for BrowserCdpPageHandleJavaScriptDialogCommandDataMethod.

func (BrowserCdpPageHandleJavaScriptDialogCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageHandleJavaScriptDialogCommandDataMethod enum.

type BrowserCdpPageNavigateCommandData

type BrowserCdpPageNavigateCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// FrameId Opaque frame identifier. Clipped to 128 characters; a longer value is not a real identifier.
	FrameId *string                                 `json:"frame_id,omitempty"`
	Method  BrowserCdpPageNavigateCommandDataMethod `json:"method"`

	// ReferrerPolicy Referrer policy named by the command. A value the protocol does not define is reported as `other`.
	ReferrerPolicy *BrowserCdpReferrerPolicy `json:"referrer_policy,omitempty"`

	// ReferrerPresent Whether the command carried a referrer. The referrer itself is never captured.
	ReferrerPresent *bool `json:"referrer_present,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TransitionType Navigation reason reported by the caller (e.g. `link`, `typed`, `reload`). A value the protocol does not define is reported as `other`.
	TransitionType *BrowserCdpTransitionType `json:"transition_type,omitempty"`

	// UrlScheme Scheme of the destination URL (e.g. `https`, `about`, `data`). The rest of the URL is never captured.
	UrlScheme *string `json:"url_scheme,omitempty"`
}

BrowserCdpPageNavigateCommandData Sanitized `Page.navigate` arguments. Canonical input: `Page.navigate` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageNavigateCommandDataMethod

type BrowserCdpPageNavigateCommandDataMethod string

BrowserCdpPageNavigateCommandDataMethod defines model for BrowserCdpPageNavigateCommandData.Method.

const (
	PageNavigate BrowserCdpPageNavigateCommandDataMethod = "Page.navigate"
)

Defines values for BrowserCdpPageNavigateCommandDataMethod.

func (BrowserCdpPageNavigateCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageNavigateCommandDataMethod enum.

type BrowserCdpPageNavigateToHistoryEntryCommandData

type BrowserCdpPageNavigateToHistoryEntryCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// EntryId History entry the command navigated to.
	EntryId int                                                   `json:"entry_id"`
	Method  BrowserCdpPageNavigateToHistoryEntryCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageNavigateToHistoryEntryCommandData Sanitized `Page.navigateToHistoryEntry` arguments. Canonical input: `Page.navigateToHistoryEntry` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageNavigateToHistoryEntryCommandDataMethod

type BrowserCdpPageNavigateToHistoryEntryCommandDataMethod string

BrowserCdpPageNavigateToHistoryEntryCommandDataMethod defines model for BrowserCdpPageNavigateToHistoryEntryCommandData.Method.

const (
	PageNavigateToHistoryEntry BrowserCdpPageNavigateToHistoryEntryCommandDataMethod = "Page.navigateToHistoryEntry"
)

Defines values for BrowserCdpPageNavigateToHistoryEntryCommandDataMethod.

func (BrowserCdpPageNavigateToHistoryEntryCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageNavigateToHistoryEntryCommandDataMethod enum.

type BrowserCdpPagePrintToPdfCommandData

type BrowserCdpPagePrintToPdfCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DisplayHeaderFooter Whether a header and footer were rendered.
	DisplayHeaderFooter *bool `json:"display_header_footer,omitempty"`

	// FooterTemplatePresent Whether a footer template was supplied. The template itself is never captured.
	FooterTemplatePresent *bool `json:"footer_template_present,omitempty"`

	// GenerateDocumentOutline Whether a document outline was embedded.
	GenerateDocumentOutline *bool `json:"generate_document_outline,omitempty"`

	// GenerateTaggedPdf Whether a tagged (accessible) PDF was requested.
	GenerateTaggedPdf *bool `json:"generate_tagged_pdf,omitempty"`

	// HeaderTemplatePresent Whether a header template was supplied. The template itself is never captured.
	HeaderTemplatePresent *bool `json:"header_template_present,omitempty"`

	// Landscape Whether the page was laid out in landscape.
	Landscape *bool `json:"landscape,omitempty"`

	// MarginBottom Bottom margin in inches.
	MarginBottom *float64 `json:"margin_bottom,omitempty"`

	// MarginLeft Left margin in inches.
	MarginLeft *float64 `json:"margin_left,omitempty"`

	// MarginRight Right margin in inches.
	MarginRight *float64 `json:"margin_right,omitempty"`

	// MarginTop Top margin in inches.
	MarginTop *float64                                  `json:"margin_top,omitempty"`
	Method    BrowserCdpPagePrintToPdfCommandDataMethod `json:"method"`

	// PageRangesPresent Whether a page range was supplied.
	PageRangesPresent *bool `json:"page_ranges_present,omitempty"`

	// PaperHeight Paper height in inches.
	PaperHeight *float64 `json:"paper_height,omitempty"`

	// PaperWidth Paper width in inches.
	PaperWidth *float64 `json:"paper_width,omitempty"`

	// PreferCssPageSize Whether the CSS page size was preferred over the paper size.
	PreferCssPageSize *bool `json:"prefer_css_page_size,omitempty"`

	// PrintBackground Whether background graphics were printed.
	PrintBackground *bool `json:"print_background,omitempty"`

	// Scale Page render scale.
	Scale *float64 `json:"scale,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TransferMode How the PDF was returned (`ReturnAsBase64` or `ReturnAsStream`). A value the protocol does not define is reported as `other`.
	TransferMode *BrowserCdpPdfTransferMode `json:"transfer_mode,omitempty"`
}

BrowserCdpPagePrintToPdfCommandData Sanitized `Page.printToPDF` arguments. Canonical input: `Page.printToPDF` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPagePrintToPdfCommandDataMethod

type BrowserCdpPagePrintToPdfCommandDataMethod string

BrowserCdpPagePrintToPdfCommandDataMethod defines model for BrowserCdpPagePrintToPdfCommandData.Method.

const (
	PagePrintToPDF BrowserCdpPagePrintToPdfCommandDataMethod = "Page.printToPDF"
)

Defines values for BrowserCdpPagePrintToPdfCommandDataMethod.

func (BrowserCdpPagePrintToPdfCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPagePrintToPdfCommandDataMethod enum.

type BrowserCdpPageReloadCommandData

type BrowserCdpPageReloadCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// IgnoreCache Whether the reload bypassed the cache.
	IgnoreCache *bool `json:"ignore_cache,omitempty"`

	// LoaderId Opaque document loader identifier. Clipped to 128 characters; a longer value is not a real identifier.
	LoaderId *string                               `json:"loader_id,omitempty"`
	Method   BrowserCdpPageReloadCommandDataMethod `json:"method"`

	// ScriptLength Number of characters in the injected script.
	ScriptLength *int `json:"script_length,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageReloadCommandData Sanitized `Page.reload` arguments. Canonical input: `Page.reload` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageReloadCommandDataMethod

type BrowserCdpPageReloadCommandDataMethod string

BrowserCdpPageReloadCommandDataMethod defines model for BrowserCdpPageReloadCommandData.Method.

const (
	PageReload BrowserCdpPageReloadCommandDataMethod = "Page.reload"
)

Defines values for BrowserCdpPageReloadCommandDataMethod.

func (BrowserCdpPageReloadCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageReloadCommandDataMethod enum.

type BrowserCdpPageSetWebLifecycleStateCommandData

type BrowserCdpPageSetWebLifecycleStateCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                             `json:"connection_id,omitempty"`
	Method       BrowserCdpPageSetWebLifecycleStateCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// State Lifecycle state applied (`frozen` or `active`). A value the protocol does not define is reported as `other`.
	State BrowserCdpWebLifecycleState `json:"state"`
}

BrowserCdpPageSetWebLifecycleStateCommandData Sanitized `Page.setWebLifecycleState` arguments. Canonical input: `Page.setWebLifecycleState` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageSetWebLifecycleStateCommandDataMethod

type BrowserCdpPageSetWebLifecycleStateCommandDataMethod string

BrowserCdpPageSetWebLifecycleStateCommandDataMethod defines model for BrowserCdpPageSetWebLifecycleStateCommandData.Method.

const (
	PageSetWebLifecycleState BrowserCdpPageSetWebLifecycleStateCommandDataMethod = "Page.setWebLifecycleState"
)

Defines values for BrowserCdpPageSetWebLifecycleStateCommandDataMethod.

func (BrowserCdpPageSetWebLifecycleStateCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageSetWebLifecycleStateCommandDataMethod enum.

type BrowserCdpPageStartScreencastCommandData

type BrowserCdpPageStartScreencastCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// EveryNthFrame Frame sampling interval.
	EveryNthFrame *int `json:"every_nth_frame,omitempty"`

	// Format Frame format requested (`jpeg` or `png`). A value the protocol does not define is reported as `other`.
	Format *BrowserCdpScreencastFormat `json:"format,omitempty"`

	// MaxHeight Maximum frame height in pixels.
	MaxHeight *int `json:"max_height,omitempty"`

	// MaxWidth Maximum frame width in pixels.
	MaxWidth *int                                           `json:"max_width,omitempty"`
	Method   BrowserCdpPageStartScreencastCommandDataMethod `json:"method"`

	// Quality Compression quality, 0 to 100.
	Quality *int `json:"quality,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageStartScreencastCommandData Sanitized `Page.startScreencast` arguments. Canonical input: `Page.startScreencast` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageStartScreencastCommandDataMethod

type BrowserCdpPageStartScreencastCommandDataMethod string

BrowserCdpPageStartScreencastCommandDataMethod defines model for BrowserCdpPageStartScreencastCommandData.Method.

const (
	PageStartScreencast BrowserCdpPageStartScreencastCommandDataMethod = "Page.startScreencast"
)

Defines values for BrowserCdpPageStartScreencastCommandDataMethod.

func (BrowserCdpPageStartScreencastCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageStartScreencastCommandDataMethod enum.

type BrowserCdpPageStopLoadingCommandData

type BrowserCdpPageStopLoadingCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                    `json:"connection_id,omitempty"`
	Method       BrowserCdpPageStopLoadingCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageStopLoadingCommandData Sanitized `Page.stopLoading` arguments. Canonical input: `Page.stopLoading` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageStopLoadingCommandDataMethod

type BrowserCdpPageStopLoadingCommandDataMethod string

BrowserCdpPageStopLoadingCommandDataMethod defines model for BrowserCdpPageStopLoadingCommandData.Method.

const (
	PageStopLoading BrowserCdpPageStopLoadingCommandDataMethod = "Page.stopLoading"
)

Defines values for BrowserCdpPageStopLoadingCommandDataMethod.

func (BrowserCdpPageStopLoadingCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageStopLoadingCommandDataMethod enum.

type BrowserCdpPageStopScreencastCommandData

type BrowserCdpPageStopScreencastCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                       `json:"connection_id,omitempty"`
	Method       BrowserCdpPageStopScreencastCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpPageStopScreencastCommandData Sanitized `Page.stopScreencast` arguments. Canonical input: `Page.stopScreencast` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpPageStopScreencastCommandDataMethod

type BrowserCdpPageStopScreencastCommandDataMethod string

BrowserCdpPageStopScreencastCommandDataMethod defines model for BrowserCdpPageStopScreencastCommandData.Method.

const (
	PageStopScreencast BrowserCdpPageStopScreencastCommandDataMethod = "Page.stopScreencast"
)

Defines values for BrowserCdpPageStopScreencastCommandDataMethod.

func (BrowserCdpPageStopScreencastCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpPageStopScreencastCommandDataMethod enum.

type BrowserCdpPdfTransferMode

type BrowserCdpPdfTransferMode string

BrowserCdpPdfTransferMode How a generated PDF is returned. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpPdfTransferModeOther          BrowserCdpPdfTransferMode = "other"
	BrowserCdpPdfTransferModeReturnAsBase64 BrowserCdpPdfTransferMode = "ReturnAsBase64"
	BrowserCdpPdfTransferModeReturnAsStream BrowserCdpPdfTransferMode = "ReturnAsStream"
)

Defines values for BrowserCdpPdfTransferMode.

func (BrowserCdpPdfTransferMode) Valid

func (e BrowserCdpPdfTransferMode) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpPdfTransferMode enum.

type BrowserCdpPointerType

type BrowserCdpPointerType string

BrowserCdpPointerType Pointer that generated an input event. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpPointerTypeMouse BrowserCdpPointerType = "mouse"
	BrowserCdpPointerTypeOther BrowserCdpPointerType = "other"
	BrowserCdpPointerTypePen   BrowserCdpPointerType = "pen"
)

Defines values for BrowserCdpPointerType.

func (BrowserCdpPointerType) Valid

func (e BrowserCdpPointerType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpPointerType enum.

type BrowserCdpReferrerPolicy

type BrowserCdpReferrerPolicy string

BrowserCdpReferrerPolicy Referrer policy named by a navigation. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpReferrerPolicyNoReferrer                  BrowserCdpReferrerPolicy = "noReferrer"
	BrowserCdpReferrerPolicyNoReferrerWhenDowngrade     BrowserCdpReferrerPolicy = "noReferrerWhenDowngrade"
	BrowserCdpReferrerPolicyOrigin                      BrowserCdpReferrerPolicy = "origin"
	BrowserCdpReferrerPolicyOriginWhenCrossOrigin       BrowserCdpReferrerPolicy = "originWhenCrossOrigin"
	BrowserCdpReferrerPolicyOther                       BrowserCdpReferrerPolicy = "other"
	BrowserCdpReferrerPolicySameOrigin                  BrowserCdpReferrerPolicy = "sameOrigin"
	BrowserCdpReferrerPolicyStrictOrigin                BrowserCdpReferrerPolicy = "strictOrigin"
	BrowserCdpReferrerPolicyStrictOriginWhenCrossOrigin BrowserCdpReferrerPolicy = "strictOriginWhenCrossOrigin"
	BrowserCdpReferrerPolicyUnsafeUrl                   BrowserCdpReferrerPolicy = "unsafeUrl"
)

Defines values for BrowserCdpReferrerPolicy.

func (BrowserCdpReferrerPolicy) Valid

func (e BrowserCdpReferrerPolicy) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpReferrerPolicy enum.

type BrowserCdpScreencastFormat

type BrowserCdpScreencastFormat string

BrowserCdpScreencastFormat Frame format requested for a screencast. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpScreencastFormatJpeg  BrowserCdpScreencastFormat = "jpeg"
	BrowserCdpScreencastFormatOther BrowserCdpScreencastFormat = "other"
	BrowserCdpScreencastFormatPng   BrowserCdpScreencastFormat = "png"
)

Defines values for BrowserCdpScreencastFormat.

func (BrowserCdpScreencastFormat) Valid

func (e BrowserCdpScreencastFormat) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpScreencastFormat enum.

type BrowserCdpScreenshotFormat

type BrowserCdpScreenshotFormat string

BrowserCdpScreenshotFormat Image format requested for a screenshot. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpScreenshotFormatJpeg  BrowserCdpScreenshotFormat = "jpeg"
	BrowserCdpScreenshotFormatOther BrowserCdpScreenshotFormat = "other"
	BrowserCdpScreenshotFormatPng   BrowserCdpScreenshotFormat = "png"
	BrowserCdpScreenshotFormatWebp  BrowserCdpScreenshotFormat = "webp"
)

Defines values for BrowserCdpScreenshotFormat.

func (BrowserCdpScreenshotFormat) Valid

func (e BrowserCdpScreenshotFormat) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpScreenshotFormat enum.

type BrowserCdpSnapshotFormat

type BrowserCdpSnapshotFormat string

BrowserCdpSnapshotFormat Format requested for a page snapshot. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpSnapshotFormatMhtml BrowserCdpSnapshotFormat = "mhtml"
	BrowserCdpSnapshotFormatOther BrowserCdpSnapshotFormat = "other"
)

Defines values for BrowserCdpSnapshotFormat.

func (BrowserCdpSnapshotFormat) Valid

func (e BrowserCdpSnapshotFormat) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpSnapshotFormat enum.

type BrowserCdpTargetActivateTargetCommandData

type BrowserCdpTargetActivateTargetCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                         `json:"connection_id,omitempty"`
	Method       BrowserCdpTargetActivateTargetCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TargetId Opaque target identifier. Clipped to 128 characters; a longer value is not a real identifier.
	TargetId string `json:"target_id"`
}

BrowserCdpTargetActivateTargetCommandData Sanitized `Target.activateTarget` arguments. Canonical input: `Target.activateTarget` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetActivateTargetCommandDataMethod

type BrowserCdpTargetActivateTargetCommandDataMethod string

BrowserCdpTargetActivateTargetCommandDataMethod defines model for BrowserCdpTargetActivateTargetCommandData.Method.

const (
	TargetActivateTarget BrowserCdpTargetActivateTargetCommandDataMethod = "Target.activateTarget"
)

Defines values for BrowserCdpTargetActivateTargetCommandDataMethod.

func (BrowserCdpTargetActivateTargetCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetActivateTargetCommandDataMethod enum.

type BrowserCdpTargetCloseTargetCommandData

type BrowserCdpTargetCloseTargetCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                      `json:"connection_id,omitempty"`
	Method       BrowserCdpTargetCloseTargetCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TargetId Opaque target identifier. Clipped to 128 characters; a longer value is not a real identifier.
	TargetId string `json:"target_id"`
}

BrowserCdpTargetCloseTargetCommandData Sanitized `Target.closeTarget` arguments. Canonical input: `Target.closeTarget` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetCloseTargetCommandDataMethod

type BrowserCdpTargetCloseTargetCommandDataMethod string

BrowserCdpTargetCloseTargetCommandDataMethod defines model for BrowserCdpTargetCloseTargetCommandData.Method.

const (
	TargetCloseTarget BrowserCdpTargetCloseTargetCommandDataMethod = "Target.closeTarget"
)

Defines values for BrowserCdpTargetCloseTargetCommandDataMethod.

func (BrowserCdpTargetCloseTargetCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetCloseTargetCommandDataMethod enum.

type BrowserCdpTargetCreateBrowserContextCommandData

type BrowserCdpTargetCreateBrowserContextCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// DisposeOnDetach Whether the context is disposed when the debugging session detaches.
	DisposeOnDetach *bool                                                 `json:"dispose_on_detach,omitempty"`
	Method          BrowserCdpTargetCreateBrowserContextCommandDataMethod `json:"method"`

	// ProxyBypassListPresent Whether a proxy bypass list was configured.
	ProxyBypassListPresent *bool `json:"proxy_bypass_list_present,omitempty"`

	// ProxyServerPresent Whether a proxy was configured. The proxy address is never captured.
	ProxyServerPresent *bool `json:"proxy_server_present,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// UniversalNetworkAccessOriginCount Number of origins granted universal network access. The origins themselves are never captured.
	UniversalNetworkAccessOriginCount *int `json:"universal_network_access_origin_count,omitempty"`
}

BrowserCdpTargetCreateBrowserContextCommandData Sanitized `Target.createBrowserContext` arguments. Canonical input: `Target.createBrowserContext` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetCreateBrowserContextCommandDataMethod

type BrowserCdpTargetCreateBrowserContextCommandDataMethod string

BrowserCdpTargetCreateBrowserContextCommandDataMethod defines model for BrowserCdpTargetCreateBrowserContextCommandData.Method.

const (
	TargetCreateBrowserContext BrowserCdpTargetCreateBrowserContextCommandDataMethod = "Target.createBrowserContext"
)

Defines values for BrowserCdpTargetCreateBrowserContextCommandDataMethod.

func (BrowserCdpTargetCreateBrowserContextCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetCreateBrowserContextCommandDataMethod enum.

type BrowserCdpTargetCreateTargetCommandData

type BrowserCdpTargetCreateTargetCommandData struct {
	// Background Whether the target was created in the background.
	Background *bool `json:"background,omitempty"`

	// BrowserContextId Opaque browser context identifier. Clipped to 128 characters; a longer value is not a real identifier.
	BrowserContextId *string `json:"browser_context_id,omitempty"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string `json:"connection_id,omitempty"`

	// EnableBeginFrameControl Whether BeginFrame control was enabled (headless only).
	EnableBeginFrameControl *bool `json:"enable_begin_frame_control,omitempty"`

	// Focus Whether the new target was focused.
	Focus *bool `json:"focus,omitempty"`

	// ForTab Whether a tab target rather than a page target was created.
	ForTab *bool `json:"for_tab,omitempty"`

	// Height Window height in DIP.
	Height *int `json:"height,omitempty"`

	// Hidden Whether the target was created hidden.
	Hidden *bool `json:"hidden,omitempty"`

	// Left Window x position in screen coordinates.
	Left   *int                                          `json:"left,omitempty"`
	Method BrowserCdpTargetCreateTargetCommandDataMethod `json:"method"`

	// NewWindow Whether a new window was requested.
	NewWindow *bool `json:"new_window,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// Top Window y position in screen coordinates.
	Top *int `json:"top,omitempty"`

	// UrlScheme Scheme of the destination URL (e.g. `https`, `about`, `data`). The rest of the URL is never captured.
	UrlScheme *string `json:"url_scheme,omitempty"`

	// Width Window width in DIP.
	Width *int `json:"width,omitempty"`

	// WindowState Window state requested (`normal`, `minimized`, `maximized`, `fullscreen`). A value the protocol does not define is reported as `other`.
	WindowState *BrowserCdpWindowState `json:"window_state,omitempty"`
}

BrowserCdpTargetCreateTargetCommandData Sanitized `Target.createTarget` arguments. Canonical input: `Target.createTarget` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetCreateTargetCommandDataMethod

type BrowserCdpTargetCreateTargetCommandDataMethod string

BrowserCdpTargetCreateTargetCommandDataMethod defines model for BrowserCdpTargetCreateTargetCommandData.Method.

const (
	TargetCreateTarget BrowserCdpTargetCreateTargetCommandDataMethod = "Target.createTarget"
)

Defines values for BrowserCdpTargetCreateTargetCommandDataMethod.

func (BrowserCdpTargetCreateTargetCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetCreateTargetCommandDataMethod enum.

type BrowserCdpTargetDisposeBrowserContextCommandData

type BrowserCdpTargetDisposeBrowserContextCommandData struct {
	// BrowserContextId Opaque browser context identifier. Clipped to 128 characters; a longer value is not a real identifier.
	BrowserContextId string `json:"browser_context_id"`

	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                                `json:"connection_id,omitempty"`
	Method       BrowserCdpTargetDisposeBrowserContextCommandDataMethod `json:"method"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`
}

BrowserCdpTargetDisposeBrowserContextCommandData Sanitized `Target.disposeBrowserContext` arguments. Canonical input: `Target.disposeBrowserContext` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetDisposeBrowserContextCommandDataMethod

type BrowserCdpTargetDisposeBrowserContextCommandDataMethod string

BrowserCdpTargetDisposeBrowserContextCommandDataMethod defines model for BrowserCdpTargetDisposeBrowserContextCommandData.Method.

const (
	TargetDisposeBrowserContext BrowserCdpTargetDisposeBrowserContextCommandDataMethod = "Target.disposeBrowserContext"
)

Defines values for BrowserCdpTargetDisposeBrowserContextCommandDataMethod.

func (BrowserCdpTargetDisposeBrowserContextCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetDisposeBrowserContextCommandDataMethod enum.

type BrowserCdpTargetOpenDevToolsCommandData

type BrowserCdpTargetOpenDevToolsCommandData struct {
	// CommandId The command's JSON-RPC id, so the command can be joined to the result the browser returned for it. Absent when the client sent none.
	CommandId *int64 `json:"command_id,omitempty"`

	// ConnectionId Identifies the CDP proxy connection the command arrived on, matching `cdp_connect` and `cdp_disconnect`. Two clients driving the same browser are told apart by this.
	ConnectionId *string                                       `json:"connection_id,omitempty"`
	Method       BrowserCdpTargetOpenDevToolsCommandDataMethod `json:"method"`

	// PanelId DevTools panel opened. Clipped to 128 characters; a longer value is not a real identifier.
	PanelId *string `json:"panel_id,omitempty"`

	// SessionId CDP session identifier the command was addressed to. Absent for browser-level commands. Clipped to 128 characters.
	SessionId *string `json:"session_id,omitempty"`

	// TargetId Opaque target identifier. Clipped to 128 characters; a longer value is not a real identifier.
	TargetId string `json:"target_id"`
}

BrowserCdpTargetOpenDevToolsCommandData Sanitized `Target.openDevTools` arguments. Canonical input: `Target.openDevTools` in devtools-protocol@2d019e73, pinned at https://github.com/ChromeDevTools/devtools-protocol/blob/2d019e73eb371d1d6985d26d395d78bd8f8a22ba/json/browser_protocol.json. Every argument of this command has a retained or redacted decision in lib/devtoolsproxy/testdata/cdp_arguments.yaml.

type BrowserCdpTargetOpenDevToolsCommandDataMethod

type BrowserCdpTargetOpenDevToolsCommandDataMethod string

BrowserCdpTargetOpenDevToolsCommandDataMethod defines model for BrowserCdpTargetOpenDevToolsCommandData.Method.

const (
	TargetOpenDevTools BrowserCdpTargetOpenDevToolsCommandDataMethod = "Target.openDevTools"
)

Defines values for BrowserCdpTargetOpenDevToolsCommandDataMethod.

func (BrowserCdpTargetOpenDevToolsCommandDataMethod) Valid

Valid indicates whether the value is a known member of the BrowserCdpTargetOpenDevToolsCommandDataMethod enum.

type BrowserCdpTouchEventType

type BrowserCdpTouchEventType string

BrowserCdpTouchEventType Touch event phase. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpTouchEventTypeOther       BrowserCdpTouchEventType = "other"
	BrowserCdpTouchEventTypeTouchCancel BrowserCdpTouchEventType = "touchCancel"
	BrowserCdpTouchEventTypeTouchEnd    BrowserCdpTouchEventType = "touchEnd"
	BrowserCdpTouchEventTypeTouchMove   BrowserCdpTouchEventType = "touchMove"
	BrowserCdpTouchEventTypeTouchStart  BrowserCdpTouchEventType = "touchStart"
)

Defines values for BrowserCdpTouchEventType.

func (BrowserCdpTouchEventType) Valid

func (e BrowserCdpTouchEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpTouchEventType enum.

type BrowserCdpTransitionType

type BrowserCdpTransitionType string

BrowserCdpTransitionType Navigation reason reported by the caller. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpTransitionTypeAddressBar       BrowserCdpTransitionType = "address_bar"
	BrowserCdpTransitionTypeAutoBookmark     BrowserCdpTransitionType = "auto_bookmark"
	BrowserCdpTransitionTypeAutoSubframe     BrowserCdpTransitionType = "auto_subframe"
	BrowserCdpTransitionTypeAutoToplevel     BrowserCdpTransitionType = "auto_toplevel"
	BrowserCdpTransitionTypeFormSubmit       BrowserCdpTransitionType = "form_submit"
	BrowserCdpTransitionTypeGenerated        BrowserCdpTransitionType = "generated"
	BrowserCdpTransitionTypeKeyword          BrowserCdpTransitionType = "keyword"
	BrowserCdpTransitionTypeKeywordGenerated BrowserCdpTransitionType = "keyword_generated"
	BrowserCdpTransitionTypeLink             BrowserCdpTransitionType = "link"
	BrowserCdpTransitionTypeManualSubframe   BrowserCdpTransitionType = "manual_subframe"
	BrowserCdpTransitionTypeOther            BrowserCdpTransitionType = "other"
	BrowserCdpTransitionTypeReload           BrowserCdpTransitionType = "reload"
	BrowserCdpTransitionTypeTyped            BrowserCdpTransitionType = "typed"
)

Defines values for BrowserCdpTransitionType.

func (BrowserCdpTransitionType) Valid

func (e BrowserCdpTransitionType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpTransitionType enum.

type BrowserCdpWebLifecycleState

type BrowserCdpWebLifecycleState string

BrowserCdpWebLifecycleState Page lifecycle state applied. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpWebLifecycleStateActive BrowserCdpWebLifecycleState = "active"
	BrowserCdpWebLifecycleStateFrozen BrowserCdpWebLifecycleState = "frozen"
	BrowserCdpWebLifecycleStateOther  BrowserCdpWebLifecycleState = "other"
)

Defines values for BrowserCdpWebLifecycleState.

func (BrowserCdpWebLifecycleState) Valid

Valid indicates whether the value is a known member of the BrowserCdpWebLifecycleState enum.

type BrowserCdpWindowState

type BrowserCdpWindowState string

BrowserCdpWindowState Browser window state requested. Canonical values from devtools-protocol@2d019e73. `other` stands for a value outside that set, so a client cannot put an arbitrary string into the stream.

const (
	BrowserCdpWindowStateFullscreen BrowserCdpWindowState = "fullscreen"
	BrowserCdpWindowStateMaximized  BrowserCdpWindowState = "maximized"
	BrowserCdpWindowStateMinimized  BrowserCdpWindowState = "minimized"
	BrowserCdpWindowStateNormal     BrowserCdpWindowState = "normal"
	BrowserCdpWindowStateOther      BrowserCdpWindowState = "other"
)

Defines values for BrowserCdpWindowState.

func (BrowserCdpWindowState) Valid

func (e BrowserCdpWindowState) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpWindowState enum.

type BrowserConsoleErrorEvent

type BrowserConsoleErrorEvent struct {
	Category BrowserConsoleErrorEventCategory `json:"category"`
	Data     *BrowserConsoleErrorEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                        `json:"ts"`
	Type BrowserConsoleErrorEventType `json:"type"`
}

BrowserConsoleErrorEvent A browser console error or uncaught JavaScript exception event. Emitted from two distinct CDP sources with different data shapes. Runtime.consoleAPICalled (console.error calls) produces level, text, args, and stack_trace. Runtime.exceptionThrown (uncaught exceptions) produces text, line, column, source_url, and stack_trace. Fields not applicable to the source are absent.

type BrowserConsoleErrorEventCategory

type BrowserConsoleErrorEventCategory string

BrowserConsoleErrorEventCategory defines model for BrowserConsoleErrorEvent.Category.

const (
	BrowserConsoleErrorEventCategoryConsole BrowserConsoleErrorEventCategory = "console"
)

Defines values for BrowserConsoleErrorEventCategory.

func (BrowserConsoleErrorEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserConsoleErrorEventCategory enum.

type BrowserConsoleErrorEventData

type BrowserConsoleErrorEventData struct {
	// Args All console arguments coerced to strings. Present only when sourced from Runtime.consoleAPICalled.
	Args *[]string `json:"args,omitempty"`

	// Column Column number in the script where the exception was thrown. Present only when sourced from Runtime.exceptionThrown.
	Column *int `json:"column,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Level CDP console type value, always "error". Present only when sourced from Runtime.consoleAPICalled.
	Level *string `json:"level,omitempty"`

	// Line Line number in the script where the exception was thrown. Present only when sourced from Runtime.exceptionThrown.
	Line *int `json:"line,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceUrl URL of the script file that threw the exception. Present only when sourced from Runtime.exceptionThrown.
	SourceUrl *string `json:"source_url,omitempty"`

	// StackTrace CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.
	StackTrace *BrowserCallStack `json:"stack_trace,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text Human-readable error text, as the browser console would display it. For console.error() calls, the first argument coerced to a string. For uncaught exceptions, the prefix and error message, e.g. "Uncaught Error: boom" or "Uncaught (in promise) TypeError: x is not a function".
	Text string `json:"text"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserConsoleErrorEventData defines model for BrowserConsoleErrorEventData.

type BrowserConsoleErrorEventType

type BrowserConsoleErrorEventType string

BrowserConsoleErrorEventType defines model for BrowserConsoleErrorEvent.Type.

const (
	ConsoleError BrowserConsoleErrorEventType = "console_error"
)

Defines values for BrowserConsoleErrorEventType.

func (BrowserConsoleErrorEventType) Valid

Valid indicates whether the value is a known member of the BrowserConsoleErrorEventType enum.

type BrowserConsoleLogEvent

type BrowserConsoleLogEvent struct {
	Category BrowserConsoleLogEventCategory `json:"category"`
	Data     *BrowserConsoleLogEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserConsoleLogEventType `json:"type"`
}

BrowserConsoleLogEvent A browser console log event (console.log, console.info, console.warn, etc.).

type BrowserConsoleLogEventCategory

type BrowserConsoleLogEventCategory string

BrowserConsoleLogEventCategory defines model for BrowserConsoleLogEvent.Category.

const (
	BrowserConsoleLogEventCategoryConsole BrowserConsoleLogEventCategory = "console"
)

Defines values for BrowserConsoleLogEventCategory.

func (BrowserConsoleLogEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserConsoleLogEventCategory enum.

type BrowserConsoleLogEventData

type BrowserConsoleLogEventData struct {
	// Args All console arguments coerced to strings.
	Args *[]string `json:"args,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Level CDP Runtime.consoleAPICalled type, passed through unfiltered from Chrome. `error` is routed to console_error events instead; all other CDP console types appear here. See CDP spec for the full enum.
	Level string `json:"level"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// StackTrace CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.
	StackTrace *BrowserCallStack `json:"stack_trace,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text First console argument coerced to string.
	Text string `json:"text"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserConsoleLogEventData defines model for BrowserConsoleLogEventData.

type BrowserConsoleLogEventType

type BrowserConsoleLogEventType string

BrowserConsoleLogEventType defines model for BrowserConsoleLogEvent.Type.

const (
	ConsoleLog BrowserConsoleLogEventType = "console_log"
)

Defines values for BrowserConsoleLogEventType.

func (BrowserConsoleLogEventType) Valid

func (e BrowserConsoleLogEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserConsoleLogEventType enum.

type BrowserEventContext

type BrowserEventContext struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserEventContext Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.

type BrowserEventSource

type BrowserEventSource struct {
	// Event Producer-specific event name (e.g. `Runtime.consoleAPICalled` for CDP-sourced console events).
	Event *string `json:"event,omitempty"`

	// Kind Event producer. `cdp`: Chrome DevTools Protocol events from the browser. `kernel_api`: Kernel API server (reserved for server-generated events). `extension`: injected Chrome extension. `local_process`: system process running alongside the browser.
	Kind BrowserEventSourceKind `json:"kind"`

	// Metadata Producer-specific context (e.g. CDP target/session/frame IDs).
	Metadata *map[string]string `json:"metadata,omitempty"`
}

BrowserEventSource Provenance metadata identifying which producer emitted the event.

type BrowserEventSourceKind

type BrowserEventSourceKind string

BrowserEventSourceKind Event producer. `cdp`: Chrome DevTools Protocol events from the browser. `kernel_api`: Kernel API server (reserved for server-generated events). `extension`: injected Chrome extension. `local_process`: system process running alongside the browser.

const (
	Cdp          BrowserEventSourceKind = "cdp"
	Extension    BrowserEventSourceKind = "extension"
	KernelApi    BrowserEventSourceKind = "kernel_api"
	LocalProcess BrowserEventSourceKind = "local_process"
)

Defines values for BrowserEventSourceKind.

func (BrowserEventSourceKind) Valid

func (e BrowserEventSourceKind) Valid() bool

Valid indicates whether the value is a known member of the BrowserEventSourceKind enum.

type BrowserHttpHeaders

type BrowserHttpHeaders map[string]interface{}

BrowserHttpHeaders HTTP headers map forwarded as-is from CDP without normalization. Values are typically strings but may be any JSON type.

type BrowserInteractionClickEvent

type BrowserInteractionClickEvent struct {
	Category BrowserInteractionClickEventCategory `json:"category"`
	Data     *BrowserInteractionClickEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                            `json:"ts"`
	Type BrowserInteractionClickEventType `json:"type"`
}

BrowserInteractionClickEvent A browser user click event captured via injected page script.

type BrowserInteractionClickEventCategory

type BrowserInteractionClickEventCategory string

BrowserInteractionClickEventCategory defines model for BrowserInteractionClickEvent.Category.

const (
	BrowserInteractionClickEventCategoryInteraction BrowserInteractionClickEventCategory = "interaction"
)

Defines values for BrowserInteractionClickEventCategory.

func (BrowserInteractionClickEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionClickEventCategory enum.

type BrowserInteractionClickEventData

type BrowserInteractionClickEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// Selector CSS selector path to the clicked element.
	Selector string `json:"selector"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Tag HTML tag name of the clicked element in uppercase (e.g. BUTTON, A, DIV).
	Tag string `json:"tag"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text Visible text content of the clicked element, trimmed.
	Text *string `json:"text,omitempty"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`

	// X Viewport x-coordinate of the click in CSS pixels.
	X int `json:"x"`

	// Y Viewport y-coordinate of the click in CSS pixels.
	Y int `json:"y"`
}

BrowserInteractionClickEventData defines model for BrowserInteractionClickEventData.

type BrowserInteractionClickEventType

type BrowserInteractionClickEventType string

BrowserInteractionClickEventType defines model for BrowserInteractionClickEvent.Type.

const (
	InteractionClick BrowserInteractionClickEventType = "interaction_click"
)

Defines values for BrowserInteractionClickEventType.

func (BrowserInteractionClickEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionClickEventType enum.

type BrowserInteractionKeyEvent

type BrowserInteractionKeyEvent struct {
	Category BrowserInteractionKeyEventCategory `json:"category"`
	Data     *BrowserInteractionKeyEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserInteractionKeyEventType `json:"type"`
}

BrowserInteractionKeyEvent A browser keyboard event captured via injected page script.

type BrowserInteractionKeyEventCategory

type BrowserInteractionKeyEventCategory string

BrowserInteractionKeyEventCategory defines model for BrowserInteractionKeyEvent.Category.

const (
	BrowserInteractionKeyEventCategoryInteraction BrowserInteractionKeyEventCategory = "interaction"
)

Defines values for BrowserInteractionKeyEventCategory.

func (BrowserInteractionKeyEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionKeyEventCategory enum.

type BrowserInteractionKeyEventData

type BrowserInteractionKeyEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Key Key value from the KeyboardEvent (e.g. Enter, Backspace, a).
	Key string `json:"key"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// Selector CSS selector path to the element that had focus when the key was pressed.
	Selector string `json:"selector"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Tag HTML tag name of the focused element in uppercase (e.g. INPUT, TEXTAREA, DIV).
	Tag string `json:"tag"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserInteractionKeyEventData defines model for BrowserInteractionKeyEventData.

type BrowserInteractionKeyEventType

type BrowserInteractionKeyEventType string

BrowserInteractionKeyEventType defines model for BrowserInteractionKeyEvent.Type.

const (
	InteractionKey BrowserInteractionKeyEventType = "interaction_key"
)

Defines values for BrowserInteractionKeyEventType.

func (BrowserInteractionKeyEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionKeyEventType enum.

type BrowserInteractionScrollSettledEvent

type BrowserInteractionScrollSettledEvent struct {
	Category BrowserInteractionScrollSettledEventCategory `json:"category"`
	Data     *BrowserInteractionScrollSettledEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                    `json:"ts"`
	Type BrowserInteractionScrollSettledEventType `json:"type"`
}

BrowserInteractionScrollSettledEvent A browser scroll settled event emitted after scroll position stops changing, captured via injected page script.

type BrowserInteractionScrollSettledEventCategory

type BrowserInteractionScrollSettledEventCategory string

BrowserInteractionScrollSettledEventCategory defines model for BrowserInteractionScrollSettledEvent.Category.

const (
	BrowserInteractionScrollSettledEventCategoryInteraction BrowserInteractionScrollSettledEventCategory = "interaction"
)

Defines values for BrowserInteractionScrollSettledEventCategory.

func (BrowserInteractionScrollSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionScrollSettledEventCategory enum.

type BrowserInteractionScrollSettledEventData

type BrowserInteractionScrollSettledEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// FromX Scroll x-position at the start of the scroll gesture in CSS pixels.
	FromX int `json:"from_x"`

	// FromY Scroll y-position at the start of the scroll gesture in CSS pixels.
	FromY int `json:"from_y"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetSelector CSS selector path to the scrolled element.
	TargetSelector string `json:"target_selector"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// ToX Final scroll x-position after the gesture settled in CSS pixels.
	ToX int `json:"to_x"`

	// ToY Final scroll y-position after the gesture settled in CSS pixels.
	ToY int `json:"to_y"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserInteractionScrollSettledEventData defines model for BrowserInteractionScrollSettledEventData.

type BrowserInteractionScrollSettledEventType

type BrowserInteractionScrollSettledEventType string

BrowserInteractionScrollSettledEventType defines model for BrowserInteractionScrollSettledEvent.Type.

const (
	InteractionScrollSettled BrowserInteractionScrollSettledEventType = "interaction_scroll_settled"
)

Defines values for BrowserInteractionScrollSettledEventType.

func (BrowserInteractionScrollSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionScrollSettledEventType enum.

type BrowserLiveViewConnectEvent

type BrowserLiveViewConnectEvent struct {
	Category BrowserLiveViewConnectEventCategory `json:"category"`

	// Data Per-session payload for `live_view_connect` events.
	Data *BrowserLiveViewConnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserLiveViewConnectEventType `json:"type"`
}

BrowserLiveViewConnectEvent A live view client connected to the headful browser's WebRTC server (Neko). Headful only; not emitted for headless images.

type BrowserLiveViewConnectEventCategory

type BrowserLiveViewConnectEventCategory string

BrowserLiveViewConnectEventCategory defines model for BrowserLiveViewConnectEvent.Category.

const (
	BrowserLiveViewConnectEventCategoryConnection BrowserLiveViewConnectEventCategory = "connection"
)

Defines values for BrowserLiveViewConnectEventCategory.

func (BrowserLiveViewConnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewConnectEventCategory enum.

type BrowserLiveViewConnectEventData

type BrowserLiveViewConnectEventData struct {
	// SessionId Live view session identifier. Stable across reconnects, so a transient network blip can emit two events with the same `session_id`.
	SessionId string `json:"session_id"`
}

BrowserLiveViewConnectEventData Per-session payload for `live_view_connect` events.

type BrowserLiveViewConnectEventType

type BrowserLiveViewConnectEventType string

BrowserLiveViewConnectEventType defines model for BrowserLiveViewConnectEvent.Type.

const (
	LiveViewConnect BrowserLiveViewConnectEventType = "live_view_connect"
)

Defines values for BrowserLiveViewConnectEventType.

func (BrowserLiveViewConnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewConnectEventType enum.

type BrowserLiveViewDisconnectEvent

type BrowserLiveViewDisconnectEvent struct {
	Category BrowserLiveViewDisconnectEventCategory `json:"category"`

	// Data Per-session payload for `live_view_disconnect` events.
	Data *BrowserLiveViewDisconnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserLiveViewDisconnectEventType `json:"type"`
}

BrowserLiveViewDisconnectEvent A live view client disconnected from the headful browser's WebRTC server (Neko). Pair with `live_view_connect` by `session_id`.

type BrowserLiveViewDisconnectEventCategory

type BrowserLiveViewDisconnectEventCategory string

BrowserLiveViewDisconnectEventCategory defines model for BrowserLiveViewDisconnectEvent.Category.

const (
	BrowserLiveViewDisconnectEventCategoryConnection BrowserLiveViewDisconnectEventCategory = "connection"
)

Defines values for BrowserLiveViewDisconnectEventCategory.

func (BrowserLiveViewDisconnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewDisconnectEventCategory enum.

type BrowserLiveViewDisconnectEventData

type BrowserLiveViewDisconnectEventData struct {
	// DurationMs Wall-clock duration of the connection in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// SessionId Live view session identifier; matches the corresponding `live_view_connect` event.
	SessionId string `json:"session_id"`
}

BrowserLiveViewDisconnectEventData Per-session payload for `live_view_disconnect` events.

type BrowserLiveViewDisconnectEventType

type BrowserLiveViewDisconnectEventType string

BrowserLiveViewDisconnectEventType defines model for BrowserLiveViewDisconnectEvent.Type.

const (
	LiveViewDisconnect BrowserLiveViewDisconnectEventType = "live_view_disconnect"
)

Defines values for BrowserLiveViewDisconnectEventType.

func (BrowserLiveViewDisconnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewDisconnectEventType enum.

type BrowserMonitorDisconnectedEvent

type BrowserMonitorDisconnectedEvent struct {
	Category BrowserMonitorDisconnectedEventCategory `json:"category"`
	Data     *BrowserMonitorDisconnectedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                               `json:"ts"`
	Type BrowserMonitorDisconnectedEventType `json:"type"`
}

BrowserMonitorDisconnectedEvent The CDP connection to Chrome was lost. Telemetry events may be dropped until monitor_reconnected arrives. Treat any in-progress computed state (network_idle, page_layout_settled) as unreliable until then.

type BrowserMonitorDisconnectedEventCategory

type BrowserMonitorDisconnectedEventCategory string

BrowserMonitorDisconnectedEventCategory defines model for BrowserMonitorDisconnectedEvent.Category.

const (
	BrowserMonitorDisconnectedEventCategoryMonitor BrowserMonitorDisconnectedEventCategory = "monitor"
)

Defines values for BrowserMonitorDisconnectedEventCategory.

func (BrowserMonitorDisconnectedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventCategory enum.

type BrowserMonitorDisconnectedEventData

type BrowserMonitorDisconnectedEventData struct {
	// Reason Reason for the disconnection. chrome_restarted: Chrome process restarted.
	Reason BrowserMonitorDisconnectedEventDataReason `json:"reason"`
}

BrowserMonitorDisconnectedEventData defines model for BrowserMonitorDisconnectedEventData.

type BrowserMonitorDisconnectedEventDataReason

type BrowserMonitorDisconnectedEventDataReason string

BrowserMonitorDisconnectedEventDataReason Reason for the disconnection. chrome_restarted: Chrome process restarted.

const (
	ChromeRestarted BrowserMonitorDisconnectedEventDataReason = "chrome_restarted"
)

Defines values for BrowserMonitorDisconnectedEventDataReason.

func (BrowserMonitorDisconnectedEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventDataReason enum.

type BrowserMonitorDisconnectedEventType

type BrowserMonitorDisconnectedEventType string

BrowserMonitorDisconnectedEventType defines model for BrowserMonitorDisconnectedEvent.Type.

const (
	MonitorDisconnected BrowserMonitorDisconnectedEventType = "monitor_disconnected"
)

Defines values for BrowserMonitorDisconnectedEventType.

func (BrowserMonitorDisconnectedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventType enum.

type BrowserMonitorInitFailedEvent

type BrowserMonitorInitFailedEvent struct {
	Category BrowserMonitorInitFailedEventCategory `json:"category"`
	Data     *BrowserMonitorInitFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserMonitorInitFailedEventType `json:"type"`
}

BrowserMonitorInitFailedEvent The CDP session could not be initialized.

type BrowserMonitorInitFailedEventCategory

type BrowserMonitorInitFailedEventCategory string

BrowserMonitorInitFailedEventCategory defines model for BrowserMonitorInitFailedEvent.Category.

const (
	BrowserMonitorInitFailedEventCategoryMonitor BrowserMonitorInitFailedEventCategory = "monitor"
)

Defines values for BrowserMonitorInitFailedEventCategory.

func (BrowserMonitorInitFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorInitFailedEventCategory enum.

type BrowserMonitorInitFailedEventData

type BrowserMonitorInitFailedEventData struct {
	// Step The CDP method or initialization step that failed (e.g. Target.setAutoAttach).
	Step string `json:"step"`
}

BrowserMonitorInitFailedEventData defines model for BrowserMonitorInitFailedEventData.

type BrowserMonitorInitFailedEventType

type BrowserMonitorInitFailedEventType string

BrowserMonitorInitFailedEventType defines model for BrowserMonitorInitFailedEvent.Type.

const (
	MonitorInitFailed BrowserMonitorInitFailedEventType = "monitor_init_failed"
)

Defines values for BrowserMonitorInitFailedEventType.

func (BrowserMonitorInitFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorInitFailedEventType enum.

type BrowserMonitorReconnectFailedEvent

type BrowserMonitorReconnectFailedEvent struct {
	Category BrowserMonitorReconnectFailedEventCategory `json:"category"`
	Data     *BrowserMonitorReconnectFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                  `json:"ts"`
	Type BrowserMonitorReconnectFailedEventType `json:"type"`
}

BrowserMonitorReconnectFailedEvent The CDP connection to Chrome could not be re-established after exhausting all reconnection attempts. No further telemetry events will arrive on this session.

type BrowserMonitorReconnectFailedEventCategory

type BrowserMonitorReconnectFailedEventCategory string

BrowserMonitorReconnectFailedEventCategory defines model for BrowserMonitorReconnectFailedEvent.Category.

const (
	BrowserMonitorReconnectFailedEventCategoryMonitor BrowserMonitorReconnectFailedEventCategory = "monitor"
)

Defines values for BrowserMonitorReconnectFailedEventCategory.

func (BrowserMonitorReconnectFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventCategory enum.

type BrowserMonitorReconnectFailedEventData

type BrowserMonitorReconnectFailedEventData struct {
	// Reason Reason for the reconnection failure. reconnect_exhausted: all retry attempts were used up without successfully restoring the CDP connection.
	Reason BrowserMonitorReconnectFailedEventDataReason `json:"reason"`
}

BrowserMonitorReconnectFailedEventData defines model for BrowserMonitorReconnectFailedEventData.

type BrowserMonitorReconnectFailedEventDataReason

type BrowserMonitorReconnectFailedEventDataReason string

BrowserMonitorReconnectFailedEventDataReason Reason for the reconnection failure. reconnect_exhausted: all retry attempts were used up without successfully restoring the CDP connection.

const (
	ReconnectExhausted BrowserMonitorReconnectFailedEventDataReason = "reconnect_exhausted"
)

Defines values for BrowserMonitorReconnectFailedEventDataReason.

func (BrowserMonitorReconnectFailedEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventDataReason enum.

type BrowserMonitorReconnectFailedEventType

type BrowserMonitorReconnectFailedEventType string

BrowserMonitorReconnectFailedEventType defines model for BrowserMonitorReconnectFailedEvent.Type.

const (
	MonitorReconnectFailed BrowserMonitorReconnectFailedEventType = "monitor_reconnect_failed"
)

Defines values for BrowserMonitorReconnectFailedEventType.

func (BrowserMonitorReconnectFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventType enum.

type BrowserMonitorReconnectedEvent

type BrowserMonitorReconnectedEvent struct {
	Category BrowserMonitorReconnectedEventCategory `json:"category"`
	Data     *BrowserMonitorReconnectedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserMonitorReconnectedEventType `json:"type"`
}

BrowserMonitorReconnectedEvent The CDP connection to Chrome was successfully re-established after a disconnection. Events emitted during the gap are lost. Computed state is reset, so navigation and network tracking restart fresh from this point.

type BrowserMonitorReconnectedEventCategory

type BrowserMonitorReconnectedEventCategory string

BrowserMonitorReconnectedEventCategory defines model for BrowserMonitorReconnectedEvent.Category.

const (
	BrowserMonitorReconnectedEventCategoryMonitor BrowserMonitorReconnectedEventCategory = "monitor"
)

Defines values for BrowserMonitorReconnectedEventCategory.

func (BrowserMonitorReconnectedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectedEventCategory enum.

type BrowserMonitorReconnectedEventData

type BrowserMonitorReconnectedEventData struct {
	// ReconnectDurationMs Wall-clock time in milliseconds taken to reconnect after the disconnection.
	ReconnectDurationMs int64 `json:"reconnect_duration_ms"`
}

BrowserMonitorReconnectedEventData defines model for BrowserMonitorReconnectedEventData.

type BrowserMonitorReconnectedEventType

type BrowserMonitorReconnectedEventType string

BrowserMonitorReconnectedEventType defines model for BrowserMonitorReconnectedEvent.Type.

const (
	MonitorReconnected BrowserMonitorReconnectedEventType = "monitor_reconnected"
)

Defines values for BrowserMonitorReconnectedEventType.

func (BrowserMonitorReconnectedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectedEventType enum.

type BrowserMonitorScreenshotEvent

type BrowserMonitorScreenshotEvent struct {
	Category BrowserMonitorScreenshotEventCategory `json:"category"`
	Data     *BrowserMonitorScreenshotEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserMonitorScreenshotEventType `json:"type"`
}

BrowserMonitorScreenshotEvent A periodic screenshot of the browser viewport.

type BrowserMonitorScreenshotEventCategory

type BrowserMonitorScreenshotEventCategory string

BrowserMonitorScreenshotEventCategory defines model for BrowserMonitorScreenshotEvent.Category.

const (
	Screenshot BrowserMonitorScreenshotEventCategory = "screenshot"
)

Defines values for BrowserMonitorScreenshotEventCategory.

func (BrowserMonitorScreenshotEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorScreenshotEventCategory enum.

type BrowserMonitorScreenshotEventData

type BrowserMonitorScreenshotEventData struct {
	// Png Base64-encoded PNG screenshot of the browser viewport.
	Png []byte `json:"png"`
}

BrowserMonitorScreenshotEventData defines model for BrowserMonitorScreenshotEventData.

type BrowserMonitorScreenshotEventType

type BrowserMonitorScreenshotEventType string

BrowserMonitorScreenshotEventType defines model for BrowserMonitorScreenshotEvent.Type.

const (
	MonitorScreenshot BrowserMonitorScreenshotEventType = "monitor_screenshot"
)

Defines values for BrowserMonitorScreenshotEventType.

func (BrowserMonitorScreenshotEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorScreenshotEventType enum.

type BrowserNetworkIdleEvent

type BrowserNetworkIdleEvent struct {
	Category BrowserNetworkIdleEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                       `json:"ts"`
	Type BrowserNetworkIdleEventType `json:"type"`
}

BrowserNetworkIdleEvent A browser network idle event emitted after a 500ms quiet period with no in-flight HTTP requests.

type BrowserNetworkIdleEventCategory

type BrowserNetworkIdleEventCategory string

BrowserNetworkIdleEventCategory defines model for BrowserNetworkIdleEvent.Category.

const (
	BrowserNetworkIdleEventCategoryNetwork BrowserNetworkIdleEventCategory = "network"
)

Defines values for BrowserNetworkIdleEventCategory.

func (BrowserNetworkIdleEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkIdleEventCategory enum.

type BrowserNetworkIdleEventType

type BrowserNetworkIdleEventType string

BrowserNetworkIdleEventType defines model for BrowserNetworkIdleEvent.Type.

const (
	NetworkIdle BrowserNetworkIdleEventType = "network_idle"
)

Defines values for BrowserNetworkIdleEventType.

func (BrowserNetworkIdleEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkIdleEventType enum.

type BrowserNetworkLoadingFailedEvent

type BrowserNetworkLoadingFailedEvent struct {
	Category BrowserNetworkLoadingFailedEventCategory `json:"category"`
	Data     *BrowserNetworkLoadingFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                `json:"ts"`
	Type BrowserNetworkLoadingFailedEventType `json:"type"`
}

BrowserNetworkLoadingFailedEvent A browser network loading failed event. If the request was already in flight when CDP attached (no prior `network_request` was emitted for it), `url`, `frame_id`, `loader_id`, and `resource_type` are absent; `BrowserEventContext` is partially populated in that case.

type BrowserNetworkLoadingFailedEventCategory

type BrowserNetworkLoadingFailedEventCategory string

BrowserNetworkLoadingFailedEventCategory defines model for BrowserNetworkLoadingFailedEvent.Category.

const (
	BrowserNetworkLoadingFailedEventCategoryNetwork BrowserNetworkLoadingFailedEventCategory = "network"
)

Defines values for BrowserNetworkLoadingFailedEventCategory.

func (BrowserNetworkLoadingFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkLoadingFailedEventCategory enum.

type BrowserNetworkLoadingFailedEventData

type BrowserNetworkLoadingFailedEventData struct {
	// Canceled True if the request was canceled by the browser or page script.
	Canceled bool `json:"canceled"`

	// ErrorText Network error description (e.g. net::ERR_CONNECTION_REFUSED).
	ErrorText string `json:"error_text"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// RequestId CDP request identifier matching the originating network_request event.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkLoadingFailedEventData defines model for BrowserNetworkLoadingFailedEventData.

type BrowserNetworkLoadingFailedEventType

type BrowserNetworkLoadingFailedEventType string

BrowserNetworkLoadingFailedEventType defines model for BrowserNetworkLoadingFailedEvent.Type.

const (
	NetworkLoadingFailed BrowserNetworkLoadingFailedEventType = "network_loading_failed"
)

Defines values for BrowserNetworkLoadingFailedEventType.

func (BrowserNetworkLoadingFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkLoadingFailedEventType enum.

type BrowserNetworkRequestEvent

type BrowserNetworkRequestEvent struct {
	Category BrowserNetworkRequestEventCategory `json:"category"`
	Data     *BrowserNetworkRequestEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserNetworkRequestEventType `json:"type"`
}

BrowserNetworkRequestEvent A browser network request sent event.

type BrowserNetworkRequestEventCategory

type BrowserNetworkRequestEventCategory string

BrowserNetworkRequestEventCategory defines model for BrowserNetworkRequestEvent.Category.

const (
	BrowserNetworkRequestEventCategoryNetwork BrowserNetworkRequestEventCategory = "network"
)

Defines values for BrowserNetworkRequestEventCategory.

func (BrowserNetworkRequestEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkRequestEventCategory enum.

type BrowserNetworkRequestEventData

type BrowserNetworkRequestEventData struct {
	// DocumentUrl URL of the document that initiated the request.
	DocumentUrl string `json:"document_url"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Headers Request headers.
	Headers BrowserHttpHeaders `json:"headers"`

	// InitiatorType CDP Initiator.type indicating what caused the request, passed through as-is from Chrome. Known values include script, parser, preload, and other.
	InitiatorType string `json:"initiator_type"`

	// IsRedirect True if this request is the result of a redirect.
	IsRedirect *bool `json:"is_redirect,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// Method HTTP method as sent on the wire (e.g. GET, POST).
	Method string `json:"method"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// PostData Request body for POST/PUT requests, if available.
	PostData *string `json:"post_data,omitempty"`

	// RedirectUrl Original URL before the redirect, present when is_redirect is true.
	RedirectUrl *string `json:"redirect_url,omitempty"`

	// RequestId CDP request identifier, unique within the session.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkRequestEventData defines model for BrowserNetworkRequestEventData.

type BrowserNetworkRequestEventType

type BrowserNetworkRequestEventType string

BrowserNetworkRequestEventType defines model for BrowserNetworkRequestEvent.Type.

const (
	NetworkRequest BrowserNetworkRequestEventType = "network_request"
)

Defines values for BrowserNetworkRequestEventType.

func (BrowserNetworkRequestEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkRequestEventType enum.

type BrowserNetworkResponseEvent

type BrowserNetworkResponseEvent struct {
	Category BrowserNetworkResponseEventCategory `json:"category"`
	Data     *BrowserNetworkResponseEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserNetworkResponseEventType `json:"type"`
}

BrowserNetworkResponseEvent A browser network response received event. Fired after the response body is fully received, not when headers arrive.

type BrowserNetworkResponseEventCategory

type BrowserNetworkResponseEventCategory string

BrowserNetworkResponseEventCategory defines model for BrowserNetworkResponseEvent.Category.

const (
	BrowserNetworkResponseEventCategoryNetwork BrowserNetworkResponseEventCategory = "network"
)

Defines values for BrowserNetworkResponseEventCategory.

func (BrowserNetworkResponseEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkResponseEventCategory enum.

type BrowserNetworkResponseEventData

type BrowserNetworkResponseEventData struct {
	// Body Truncated response body, present only for text MIME types.
	Body *string `json:"body,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Headers Response headers.
	Headers BrowserHttpHeaders `json:"headers"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// Method HTTP method of the original request.
	Method string `json:"method"`

	// MimeType MIME type of the response (e.g. text/html, application/json).
	MimeType *string `json:"mime_type,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// RequestId CDP request identifier matching the originating network_request event.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Status HTTP response status code.
	Status int `json:"status"`

	// StatusText HTTP response status text (e.g. OK, Not Found).
	StatusText *string `json:"status_text,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkResponseEventData defines model for BrowserNetworkResponseEventData.

type BrowserNetworkResponseEventType

type BrowserNetworkResponseEventType string

BrowserNetworkResponseEventType defines model for BrowserNetworkResponseEvent.Type.

const (
	NetworkResponse BrowserNetworkResponseEventType = "network_response"
)

Defines values for BrowserNetworkResponseEventType.

func (BrowserNetworkResponseEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkResponseEventType enum.

type BrowserPageCrashedEvent

type BrowserPageCrashedEvent struct {
	Category BrowserPageCrashedEventCategory `json:"category"`
	Data     *BrowserPageCrashedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                       `json:"ts"`
	Type BrowserPageCrashedEventType `json:"type"`
}

BrowserPageCrashedEvent A page's renderer process crashed (an "Aw, Snap!" failure) while the browser process itself stayed alive. Reported on the crashed page's session, with the session and target ids on `source.metadata`. Captured only while the `page` category is enabled.

type BrowserPageCrashedEventCategory

type BrowserPageCrashedEventCategory string

BrowserPageCrashedEventCategory defines model for BrowserPageCrashedEvent.Category.

const (
	BrowserPageCrashedEventCategoryPage BrowserPageCrashedEventCategory = "page"
)

Defines values for BrowserPageCrashedEventCategory.

func (BrowserPageCrashedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageCrashedEventCategory enum.

type BrowserPageCrashedEventData

type BrowserPageCrashedEventData struct {
	// TargetId CDP target identifier of the crashed page.
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL the page was on when its renderer process crashed.
	Url string `json:"url"`
}

BrowserPageCrashedEventData defines model for BrowserPageCrashedEventData.

type BrowserPageCrashedEventType

type BrowserPageCrashedEventType string

BrowserPageCrashedEventType defines model for BrowserPageCrashedEvent.Type.

const (
	PageCrashed BrowserPageCrashedEventType = "page_crashed"
)

Defines values for BrowserPageCrashedEventType.

func (BrowserPageCrashedEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageCrashedEventType enum.

type BrowserPageDomContentLoadedEvent

type BrowserPageDomContentLoadedEvent struct {
	Category BrowserPageDomContentLoadedEventCategory `json:"category"`
	Data     *BrowserPageDomContentLoadedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                `json:"ts"`
	Type BrowserPageDomContentLoadedEventType `json:"type"`
}

BrowserPageDomContentLoadedEvent A browser DOMContentLoaded event (CDP Page.domContentEventFired).

type BrowserPageDomContentLoadedEventCategory

type BrowserPageDomContentLoadedEventCategory string

BrowserPageDomContentLoadedEventCategory defines model for BrowserPageDomContentLoadedEvent.Category.

const (
	BrowserPageDomContentLoadedEventCategoryPage BrowserPageDomContentLoadedEventCategory = "page"
)

Defines values for BrowserPageDomContentLoadedEventCategory.

func (BrowserPageDomContentLoadedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageDomContentLoadedEventCategory enum.

type BrowserPageDomContentLoadedEventData

type BrowserPageDomContentLoadedEventData struct {
	// CdpTimestamp Chrome monotonic clock value in seconds at which DOMContentLoaded fired, relative to browser process start (not Unix epoch). Use `ts` for wall-clock time.
	CdpTimestamp float32 `json:"cdp_timestamp"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageDomContentLoadedEventData defines model for BrowserPageDomContentLoadedEventData.

type BrowserPageDomContentLoadedEventType

type BrowserPageDomContentLoadedEventType string

BrowserPageDomContentLoadedEventType defines model for BrowserPageDomContentLoadedEvent.Type.

const (
	PageDomContentLoaded BrowserPageDomContentLoadedEventType = "page_dom_content_loaded"
)

Defines values for BrowserPageDomContentLoadedEventType.

func (BrowserPageDomContentLoadedEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageDomContentLoadedEventType enum.

type BrowserPageLayoutSettledEvent

type BrowserPageLayoutSettledEvent struct {
	Category BrowserPageLayoutSettledEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserPageLayoutSettledEventType `json:"type"`
}

BrowserPageLayoutSettledEvent A browser layout settled event emitted 1 second after page load with no intervening layout shifts, indicating visual stability. Each layout shift resets the 1-second timer.

type BrowserPageLayoutSettledEventCategory

type BrowserPageLayoutSettledEventCategory string

BrowserPageLayoutSettledEventCategory defines model for BrowserPageLayoutSettledEvent.Category.

const (
	BrowserPageLayoutSettledEventCategoryPage BrowserPageLayoutSettledEventCategory = "page"
)

Defines values for BrowserPageLayoutSettledEventCategory.

func (BrowserPageLayoutSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutSettledEventCategory enum.

type BrowserPageLayoutSettledEventType

type BrowserPageLayoutSettledEventType string

BrowserPageLayoutSettledEventType defines model for BrowserPageLayoutSettledEvent.Type.

const (
	PageLayoutSettled BrowserPageLayoutSettledEventType = "page_layout_settled"
)

Defines values for BrowserPageLayoutSettledEventType.

func (BrowserPageLayoutSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutSettledEventType enum.

type BrowserPageLayoutShiftEvent

type BrowserPageLayoutShiftEvent struct {
	Category BrowserPageLayoutShiftEventCategory `json:"category"`
	Data     *BrowserPageLayoutShiftEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserPageLayoutShiftEventType `json:"type"`
}

BrowserPageLayoutShiftEvent A browser cumulative layout shift (CLS) event from the Performance Timeline API.

type BrowserPageLayoutShiftEventCategory

type BrowserPageLayoutShiftEventCategory string

BrowserPageLayoutShiftEventCategory defines model for BrowserPageLayoutShiftEvent.Category.

const (
	BrowserPageLayoutShiftEventCategoryPage BrowserPageLayoutShiftEventCategory = "page"
)

Defines values for BrowserPageLayoutShiftEventCategory.

func (BrowserPageLayoutShiftEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutShiftEventCategory enum.

type BrowserPageLayoutShiftEventData

type BrowserPageLayoutShiftEventData struct {
	// Duration Duration of the layout shift entry in milliseconds (always 0 for layout shifts per spec).
	Duration float32 `json:"duration"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LayoutShiftDetails PerformanceLayoutShift attributes from the Performance Timeline entry.
	LayoutShiftDetails *struct {
		// HadRecentInput True if the layout shift was preceded by user input within 500ms, excluding it from CLS.
		HadRecentInput *bool `json:"had_recent_input,omitempty"`

		// Value Layout shift score for this entry (contribution to CLS).
		Value *float32 `json:"value,omitempty"`
	} `json:"layout_shift_details,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceFrameId CDP frame identifier of the frame where the layout shift occurred.
	SourceFrameId string `json:"source_frame_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Time Performance Timeline timestamp of the layout shift in milliseconds.
	Time float32 `json:"time"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLayoutShiftEventData defines model for BrowserPageLayoutShiftEventData.

type BrowserPageLayoutShiftEventType

type BrowserPageLayoutShiftEventType string

BrowserPageLayoutShiftEventType defines model for BrowserPageLayoutShiftEvent.Type.

const (
	PageLayoutShift BrowserPageLayoutShiftEventType = "page_layout_shift"
)

Defines values for BrowserPageLayoutShiftEventType.

func (BrowserPageLayoutShiftEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutShiftEventType enum.

type BrowserPageLcpEvent

type BrowserPageLcpEvent struct {
	Category BrowserPageLcpEventCategory `json:"category"`
	Data     *BrowserPageLcpEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                   `json:"ts"`
	Type BrowserPageLcpEventType `json:"type"`
}

BrowserPageLcpEvent A browser Largest Contentful Paint (LCP) event from the Performance Timeline API.

type BrowserPageLcpEventCategory

type BrowserPageLcpEventCategory string

BrowserPageLcpEventCategory defines model for BrowserPageLcpEvent.Category.

const (
	BrowserPageLcpEventCategoryPage BrowserPageLcpEventCategory = "page"
)

Defines values for BrowserPageLcpEventCategory.

func (BrowserPageLcpEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLcpEventCategory enum.

type BrowserPageLcpEventData

type BrowserPageLcpEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LcpDetails LargestContentfulPaint attributes from the Performance Timeline entry.
	LcpDetails *struct {
		// ElementId id attribute of the LCP element, if present.
		ElementId *string `json:"element_id,omitempty"`

		// LoadTime Load time of the LCP element in milliseconds.
		LoadTime *float32 `json:"load_time,omitempty"`

		// NodeId CDP DOM node identifier of the LCP element.
		NodeId *int `json:"node_id,omitempty"`

		// RenderTime Render time of the LCP element in milliseconds; 0 for cross-origin images without Timing-Allow-Origin.
		RenderTime *float32 `json:"render_time,omitempty"`

		// Size Visible area of the LCP element in pixels squared.
		Size *float32 `json:"size,omitempty"`

		// Url URL of the LCP element for image or video elements.
		Url *string `json:"url,omitempty"`
	} `json:"lcp_details,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceFrameId CDP frame identifier of the frame where the LCP element was rendered.
	SourceFrameId string `json:"source_frame_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Time Performance Timeline timestamp of the LCP entry in milliseconds.
	Time float32 `json:"time"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLcpEventData defines model for BrowserPageLcpEventData.

type BrowserPageLcpEventType

type BrowserPageLcpEventType string

BrowserPageLcpEventType defines model for BrowserPageLcpEvent.Type.

const (
	PageLcp BrowserPageLcpEventType = "page_lcp"
)

Defines values for BrowserPageLcpEventType.

func (BrowserPageLcpEventType) Valid

func (e BrowserPageLcpEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserPageLcpEventType enum.

type BrowserPageLoadEvent

type BrowserPageLoadEvent struct {
	Category BrowserPageLoadEventCategory `json:"category"`
	Data     *BrowserPageLoadEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                    `json:"ts"`
	Type BrowserPageLoadEventType `json:"type"`
}

BrowserPageLoadEvent A browser page load event (CDP Page.loadEventFired).

type BrowserPageLoadEventCategory

type BrowserPageLoadEventCategory string

BrowserPageLoadEventCategory defines model for BrowserPageLoadEvent.Category.

const (
	BrowserPageLoadEventCategoryPage BrowserPageLoadEventCategory = "page"
)

Defines values for BrowserPageLoadEventCategory.

func (BrowserPageLoadEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLoadEventCategory enum.

type BrowserPageLoadEventData

type BrowserPageLoadEventData struct {
	// CdpTimestamp Chrome monotonic clock value in seconds at which the load event fired, relative to browser process start (not Unix epoch). Use `ts` for wall-clock time.
	CdpTimestamp float32 `json:"cdp_timestamp"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLoadEventData defines model for BrowserPageLoadEventData.

type BrowserPageLoadEventType

type BrowserPageLoadEventType string

BrowserPageLoadEventType defines model for BrowserPageLoadEvent.Type.

const (
	PageLoad BrowserPageLoadEventType = "page_load"
)

Defines values for BrowserPageLoadEventType.

func (BrowserPageLoadEventType) Valid

func (e BrowserPageLoadEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserPageLoadEventType enum.

type BrowserPageNavigationEvent

type BrowserPageNavigationEvent struct {
	Category BrowserPageNavigationEventCategory `json:"category"`
	Data     *BrowserPageNavigationEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserPageNavigationEventType `json:"type"`
}

BrowserPageNavigationEvent A browser page navigation started event (CDP Page.frameNavigated). Carries nav context fields inline but not nav_seq, as this event resets the navigation epoch.

type BrowserPageNavigationEventCategory

type BrowserPageNavigationEventCategory string

BrowserPageNavigationEventCategory defines model for BrowserPageNavigationEvent.Category.

const (
	BrowserPageNavigationEventCategoryPage BrowserPageNavigationEventCategory = "page"
)

Defines values for BrowserPageNavigationEventCategory.

func (BrowserPageNavigationEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationEventCategory enum.

type BrowserPageNavigationEventData

type BrowserPageNavigationEventData struct {
	// FrameId CDP frame identifier of the navigated frame.
	FrameId string `json:"frame_id"`

	// LoaderId New CDP document loader identifier assigned for this navigation.
	LoaderId string `json:"loader_id"`

	// ParentFrameId Parent frame identifier for subframe navigations; absent for top-level navigations.
	ParentFrameId *string `json:"parent_frame_id,omitempty"`

	// SessionId CDP session identifier.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier.
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL navigated to.
	Url string `json:"url"`
}

BrowserPageNavigationEventData defines model for BrowserPageNavigationEventData.

type BrowserPageNavigationEventType

type BrowserPageNavigationEventType string

BrowserPageNavigationEventType defines model for BrowserPageNavigationEvent.Type.

const (
	PageNavigation BrowserPageNavigationEventType = "page_navigation"
)

Defines values for BrowserPageNavigationEventType.

func (BrowserPageNavigationEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationEventType enum.

type BrowserPageNavigationSettledEvent

type BrowserPageNavigationSettledEvent struct {
	Category BrowserPageNavigationSettledEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                 `json:"ts"`
	Type BrowserPageNavigationSettledEventType `json:"type"`
}

BrowserPageNavigationSettledEvent Emitted when page_dom_content_loaded and page_layout_settled have both fired for the same navigation, indicating the page is loaded and visually stable. Independent of network_idle; a single pending request does not block it.

type BrowserPageNavigationSettledEventCategory

type BrowserPageNavigationSettledEventCategory string

BrowserPageNavigationSettledEventCategory defines model for BrowserPageNavigationSettledEvent.Category.

const (
	BrowserPageNavigationSettledEventCategoryPage BrowserPageNavigationSettledEventCategory = "page"
)

Defines values for BrowserPageNavigationSettledEventCategory.

func (BrowserPageNavigationSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationSettledEventCategory enum.

type BrowserPageNavigationSettledEventType

type BrowserPageNavigationSettledEventType string

BrowserPageNavigationSettledEventType defines model for BrowserPageNavigationSettledEvent.Type.

const (
	PageNavigationSettled BrowserPageNavigationSettledEventType = "page_navigation_settled"
)

Defines values for BrowserPageNavigationSettledEventType.

func (BrowserPageNavigationSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationSettledEventType enum.

type BrowserPageTabOpenedEvent

type BrowserPageTabOpenedEvent struct {
	Category BrowserPageTabOpenedEventCategory `json:"category"`
	Data     *BrowserPageTabOpenedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserPageTabOpenedEventType `json:"type"`
}

BrowserPageTabOpenedEvent A new browser tab or target was opened (CDP Target.attachedToTarget for page targets). Fires before a CDP session is attached to the new target, so `session_id`, `frame_id`, `loader_id`, and `nav_seq` are absent; this event does not compose `BrowserEventContext`. Consumers reading context fields generically should treat it as a special case.

type BrowserPageTabOpenedEventCategory

type BrowserPageTabOpenedEventCategory string

BrowserPageTabOpenedEventCategory defines model for BrowserPageTabOpenedEvent.Category.

const (
	Page BrowserPageTabOpenedEventCategory = "page"
)

Defines values for BrowserPageTabOpenedEventCategory.

func (BrowserPageTabOpenedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageTabOpenedEventCategory enum.

type BrowserPageTabOpenedEventData

type BrowserPageTabOpenedEventData struct {
	// OpenerId Target identifier of the tab that opened this one, if any.
	OpenerId *string `json:"opener_id,omitempty"`

	// TargetId CDP target identifier for the newly opened tab.
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Title Initial page title of the new tab.
	Title *string `json:"title,omitempty"`

	// Url Initial URL of the new tab.
	Url string `json:"url"`
}

BrowserPageTabOpenedEventData defines model for BrowserPageTabOpenedEventData.

type BrowserPageTabOpenedEventType

type BrowserPageTabOpenedEventType string

BrowserPageTabOpenedEventType defines model for BrowserPageTabOpenedEvent.Type.

const (
	PageTabOpened BrowserPageTabOpenedEventType = "page_tab_opened"
)

Defines values for BrowserPageTabOpenedEventType.

func (BrowserPageTabOpenedEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageTabOpenedEventType enum.

type BrowserPlatformApiCallEvent

type BrowserPlatformApiCallEvent struct {
	Category BrowserPlatformApiCallEventCategory `json:"category"`

	// Data Per-call payload for `platform_api_call` events. Metadata only: a platform call carries no submitted content, so there is no `code` field as there is on `api_call`.
	Data *BrowserPlatformApiCallEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserPlatformApiCallEventType `json:"type"`
}

BrowserPlatformApiCallEvent A call that manages the browser VM rather than driving the browser, handled by the kernel-images-api server: recording lifecycle, filesystem and process management, telemetry and browser configuration. These are mostly platform-induced (e.g. profile save, replay capture) rather than agent actions.

type BrowserPlatformApiCallEventCategory

type BrowserPlatformApiCallEventCategory string

BrowserPlatformApiCallEventCategory defines model for BrowserPlatformApiCallEvent.Category.

const (
	Platform BrowserPlatformApiCallEventCategory = "platform"
)

Defines values for BrowserPlatformApiCallEventCategory.

func (BrowserPlatformApiCallEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPlatformApiCallEventCategory enum.

type BrowserPlatformApiCallEventData

type BrowserPlatformApiCallEventData struct {
	// DurationMs Wall-clock duration of the handler in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// OperationId Matched route's operation, named as the server names its handler (e.g. `ProcessExec`, `StartRecording`).
	OperationId string `json:"operation_id"`

	// RequestId Per-request identifier from the kernel-images-api request middleware.
	RequestId string `json:"request_id"`

	// Status HTTP response status code.
	Status int `json:"status"`
}

BrowserPlatformApiCallEventData Per-call payload for `platform_api_call` events. Metadata only: a platform call carries no submitted content, so there is no `code` field as there is on `api_call`.

type BrowserPlatformApiCallEventType

type BrowserPlatformApiCallEventType string

BrowserPlatformApiCallEventType defines model for BrowserPlatformApiCallEvent.Type.

const (
	PlatformApiCall BrowserPlatformApiCallEventType = "platform_api_call"
)

Defines values for BrowserPlatformApiCallEventType.

func (BrowserPlatformApiCallEventType) Valid

Valid indicates whether the value is a known member of the BrowserPlatformApiCallEventType enum.

type BrowserProxyErrorEvent

type BrowserProxyErrorEvent struct {
	Category BrowserProxyErrorEventCategory `json:"category"`
	Data     *BrowserProxyErrorEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserProxyErrorEventType `json:"type"`
}

BrowserProxyErrorEvent A branded proxy-layer failure observed by the browser. Emitted when the metro egress host-proxy serves a branded 5xx error page whose response carries the `X-Kernel-Proxy-Error` header. Low-volume and carries a typed code. Its value is per-session and per-URL attribution for sessions that already capture the network stream: proxy failures are only observable while the CDP network collector is running, so this is an opt-in refinement of the raw network events rather than a default-on alerting signal.

type BrowserProxyErrorEventCategory

type BrowserProxyErrorEventCategory string

BrowserProxyErrorEventCategory defines model for BrowserProxyErrorEvent.Category.

const (
	Network BrowserProxyErrorEventCategory = "network"
)

Defines values for BrowserProxyErrorEventCategory.

func (BrowserProxyErrorEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserProxyErrorEventCategory enum.

type BrowserProxyErrorEventData

type BrowserProxyErrorEventData struct {
	// Code Proxy-layer error code: the `X-Kernel-Proxy-Error` response header value from a branded 5xx error page served by the metro egress host-proxy. Values mirror what the proxy emits: destination_blocked, provider_blacklisted, provider_unreachable, proxy_unavailable, upstream_timeout, upstream_dns_failure, upstream_connect_failed. Unknown header values are dropped.
	Code BrowserProxyErrorEventDataCode `json:"code"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// Method HTTP method of the failed request, when known.
	Method *string `json:"method,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// RequestId CDP request identifier matching the originating request.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, when known.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Status HTTP response status of the branded error page (502).
	Status int `json:"status"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserProxyErrorEventData defines model for BrowserProxyErrorEventData.

type BrowserProxyErrorEventDataCode

type BrowserProxyErrorEventDataCode string

BrowserProxyErrorEventDataCode Proxy-layer error code: the `X-Kernel-Proxy-Error` response header value from a branded 5xx error page served by the metro egress host-proxy. Values mirror what the proxy emits: destination_blocked, provider_blacklisted, provider_unreachable, proxy_unavailable, upstream_timeout, upstream_dns_failure, upstream_connect_failed. Unknown header values are dropped.

const (
	DestinationBlocked    BrowserProxyErrorEventDataCode = "destination_blocked"
	ProviderBlacklisted   BrowserProxyErrorEventDataCode = "provider_blacklisted"
	ProviderUnreachable   BrowserProxyErrorEventDataCode = "provider_unreachable"
	ProxyUnavailable      BrowserProxyErrorEventDataCode = "proxy_unavailable"
	UpstreamConnectFailed BrowserProxyErrorEventDataCode = "upstream_connect_failed"
	UpstreamDnsFailure    BrowserProxyErrorEventDataCode = "upstream_dns_failure"
	UpstreamTimeout       BrowserProxyErrorEventDataCode = "upstream_timeout"
)

Defines values for BrowserProxyErrorEventDataCode.

func (BrowserProxyErrorEventDataCode) Valid

Valid indicates whether the value is a known member of the BrowserProxyErrorEventDataCode enum.

type BrowserProxyErrorEventType

type BrowserProxyErrorEventType string

BrowserProxyErrorEventType defines model for BrowserProxyErrorEvent.Type.

const (
	ProxyError BrowserProxyErrorEventType = "proxy_error"
)

Defines values for BrowserProxyErrorEventType.

func (BrowserProxyErrorEventType) Valid

func (e BrowserProxyErrorEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserProxyErrorEventType enum.

type BrowserServiceCrashedEvent

type BrowserServiceCrashedEvent struct {
	Category BrowserServiceCrashedEventCategory `json:"category"`

	// Data Per-crash payload for `service_crashed` events. Exit code and signal are not exposed by the underlying process manager on this channel, so only the service identity, the lifecycle phase the crash occurred in, and (when available) the PID are reported.
	Data *BrowserServiceCrashedEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserServiceCrashedEventType `json:"type"`
}

BrowserServiceCrashedEvent A managed service exited unexpectedly. Intentional stops (e.g. operator-initiated shutdown) do not produce this event — only unexpected exits and terminal restart-give-up transitions do.

type BrowserServiceCrashedEventCategory

type BrowserServiceCrashedEventCategory string

BrowserServiceCrashedEventCategory defines model for BrowserServiceCrashedEvent.Category.

const (
	BrowserServiceCrashedEventCategorySystem BrowserServiceCrashedEventCategory = "system"
)

Defines values for BrowserServiceCrashedEventCategory.

func (BrowserServiceCrashedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventCategory enum.

type BrowserServiceCrashedEventData

type BrowserServiceCrashedEventData struct {
	// Phase Lifecycle phase the crash occurred in. `startup` means the process died before it ever reached a healthy running state. `running` means a previously healthy process died unexpectedly. `gave_up` means the process manager exhausted its restart attempts and stopped trying; no further `service_crashed` events will fire for this service until something restarts it.
	Phase BrowserServiceCrashedEventDataPhase `json:"phase"`

	// Pid PID of the crashed process. Absent when the process manager gave up after exhausting restart attempts and is no longer tracking a live PID.
	Pid *int `json:"pid,omitempty"`

	// ServiceName Program name of the crashed service (e.g. `chromium`, `mutter`, `kernel-images-api`).
	ServiceName string `json:"service_name"`
}

BrowserServiceCrashedEventData Per-crash payload for `service_crashed` events. Exit code and signal are not exposed by the underlying process manager on this channel, so only the service identity, the lifecycle phase the crash occurred in, and (when available) the PID are reported.

type BrowserServiceCrashedEventDataPhase

type BrowserServiceCrashedEventDataPhase string

BrowserServiceCrashedEventDataPhase Lifecycle phase the crash occurred in. `startup` means the process died before it ever reached a healthy running state. `running` means a previously healthy process died unexpectedly. `gave_up` means the process manager exhausted its restart attempts and stopped trying; no further `service_crashed` events will fire for this service until something restarts it.

const (
	BrowserServiceCrashedEventDataPhaseGaveUp  BrowserServiceCrashedEventDataPhase = "gave_up"
	BrowserServiceCrashedEventDataPhaseRunning BrowserServiceCrashedEventDataPhase = "running"
	BrowserServiceCrashedEventDataPhaseStartup BrowserServiceCrashedEventDataPhase = "startup"
)

Defines values for BrowserServiceCrashedEventDataPhase.

func (BrowserServiceCrashedEventDataPhase) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventDataPhase enum.

type BrowserServiceCrashedEventType

type BrowserServiceCrashedEventType string

BrowserServiceCrashedEventType defines model for BrowserServiceCrashedEvent.Type.

const (
	ServiceCrashed BrowserServiceCrashedEventType = "service_crashed"
)

Defines values for BrowserServiceCrashedEventType.

func (BrowserServiceCrashedEventType) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventType enum.

type BrowserSystemOomKillEvent

type BrowserSystemOomKillEvent struct {
	Category BrowserSystemOomKillEventCategory `json:"category"`

	// Data Per-kill payload for `system_oom_kill` events.
	Data *BrowserSystemOomKillEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserSystemOomKillEventType `json:"type"`
}

BrowserSystemOomKillEvent The Linux kernel OOM-killer terminated a process inside the VM. Sourced from `/dev/kmsg`. Fires for any process killed by the kernel due to memory exhaustion, including Chrome renderer subprocesses that are not supervised.

type BrowserSystemOomKillEventCategory

type BrowserSystemOomKillEventCategory string

BrowserSystemOomKillEventCategory defines model for BrowserSystemOomKillEvent.Category.

const (
	BrowserSystemOomKillEventCategorySystem BrowserSystemOomKillEventCategory = "system"
)

Defines values for BrowserSystemOomKillEventCategory.

func (BrowserSystemOomKillEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventCategory enum.

type BrowserSystemOomKillEventData

type BrowserSystemOomKillEventData struct {
	// Constraint Why the kernel decided to OOM-kill. `none` means global memory exhaustion; `memcg` means a cgroup memory limit was hit; `cpuset` / `memory_policy` are NUMA/policy-driven kills. Absent on kernels older than 5.0 which did not emit the structured `oom-kill:` line.
	Constraint *BrowserSystemOomKillEventDataConstraint `json:"constraint,omitempty"`

	// MemFreeKb Free system memory in KiB at the time of the kill, derived from the `free:N` field in the kernel's Mem-Info dump. Assumes a 4 KiB page size. Does not include reclaimable caches, so a small value with a large `mem_total_kb` may still mean the system was not under hard pressure. Absent if the kernel did not emit a parseable Mem-Info section.
	MemFreeKb *int `json:"mem_free_kb,omitempty"`

	// MemTotalKb Total system memory in KiB at the time of the kill, derived from the `N pages RAM` line in the kernel's Mem-Info dump. Assumes a 4 KiB page size. Absent if the kernel did not emit a parseable Mem-Info section.
	MemTotalKb *int `json:"mem_total_kb,omitempty"`

	// Pid PID of the killed process.
	Pid int `json:"pid"`

	// ProcessName Comm of the killed process as reported by the kernel (max 15 chars, truncated by the kernel).
	ProcessName string `json:"process_name"`

	// RssKb Resident set size of the killed process in KiB (sum of anon-rss, file-rss, and shmem-rss). This is the physical memory the process was using at the time of the kill.
	RssKb int `json:"rss_kb"`

	// TopTasks Top processes by resident-set-size at the moment of the kill, sorted descending. Sourced from the kernel's `Tasks state` table. Empty if the kernel did not emit the table. Capped at 5 entries to bound payload size.
	TopTasks *[]BrowserSystemOomKillTask `json:"top_tasks,omitempty"`

	// TriggerPid PID of the triggering process. Absent if the kernel did not emit the standard `CPU: N PID: N Comm:` header line.
	TriggerPid *int `json:"trigger_pid,omitempty"`

	// TriggerProcessName Comm of the process whose allocation request caused the kernel to invoke the OOM-killer. Often the same as `process_name` (the kernel killed the requester) but can differ when the kernel chose a different victim. Max 15 chars, truncated by the kernel.
	TriggerProcessName *string `json:"trigger_process_name,omitempty"`
}

BrowserSystemOomKillEventData Per-kill payload for `system_oom_kill` events.

type BrowserSystemOomKillEventDataConstraint

type BrowserSystemOomKillEventDataConstraint string

BrowserSystemOomKillEventDataConstraint Why the kernel decided to OOM-kill. `none` means global memory exhaustion; `memcg` means a cgroup memory limit was hit; `cpuset` / `memory_policy` are NUMA/policy-driven kills. Absent on kernels older than 5.0 which did not emit the structured `oom-kill:` line.

Defines values for BrowserSystemOomKillEventDataConstraint.

func (BrowserSystemOomKillEventDataConstraint) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventDataConstraint enum.

type BrowserSystemOomKillEventType

type BrowserSystemOomKillEventType string

BrowserSystemOomKillEventType defines model for BrowserSystemOomKillEvent.Type.

const (
	SystemOomKill BrowserSystemOomKillEventType = "system_oom_kill"
)

Defines values for BrowserSystemOomKillEventType.

func (BrowserSystemOomKillEventType) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventType enum.

type BrowserSystemOomKillTask

type BrowserSystemOomKillTask struct {
	// Name Comm of the process (max 15 chars, truncated by the kernel).
	Name string `json:"name"`

	// Pid PID of the process.
	Pid int `json:"pid"`

	// RssKb Resident set size in KiB at the moment of the kill.
	RssKb int `json:"rss_kb"`
}

BrowserSystemOomKillTask A single process entry from the kernel's `Tasks state` dump.

type BrowserTargetType

type BrowserTargetType string

BrowserTargetType CDP target type of the page that produced the event.

const (
	BrowserTargetTypeBackgroundPage BrowserTargetType = "background_page"
	BrowserTargetTypeOther          BrowserTargetType = "other"
	BrowserTargetTypePage           BrowserTargetType = "page"
	BrowserTargetTypeServiceWorker  BrowserTargetType = "service_worker"
	BrowserTargetTypeSharedWorker   BrowserTargetType = "shared_worker"
)

Defines values for BrowserTargetType.

func (BrowserTargetType) Valid

func (e BrowserTargetType) Valid() bool

Valid indicates whether the value is a known member of the BrowserTargetType enum.

type BrowserTelemetryCategoriesConfig

type BrowserTelemetryCategoriesConfig struct {
	// Captcha Captcha solve attempt outcomes.
	Captcha *BrowserTelemetryCategoryConfig `json:"captcha,omitempty"`

	// Connection Client attach/detach lifecycle for the CDP proxy and live view.
	Connection *BrowserTelemetryCategoryConfig `json:"connection,omitempty"`

	// Console Console output (log, warn, error) and uncaught exceptions.
	Console *BrowserTelemetryCategoryConfig `json:"console,omitempty"`

	// Control Agent-driven actions against the browser — computer-control calls, Playwright code execution, screenshots, clipboard access, and browser-control commands sent over the CDP proxy.
	Control *BrowserTelemetryControlConfig `json:"control,omitempty"`

	// Interaction User interaction events (clicks, keydowns, scroll).
	Interaction *BrowserTelemetryCategoryConfig `json:"interaction,omitempty"`

	// Network HTTP request/response metadata.
	Network *BrowserTelemetryCategoryConfig `json:"network,omitempty"`

	// Page Page lifecycle events (navigation, load, layout shifts, LCP).
	Page *BrowserTelemetryCategoryConfig `json:"page,omitempty"`

	// Platform Calls that manage the VM rather than drive the browser (recording, filesystem, process, telemetry and browser configuration). Mostly platform-induced; off by default and opt-in.
	Platform *BrowserTelemetryCategoryConfig `json:"platform,omitempty"`

	// Screenshot Periodic base64-encoded viewport screenshots. High volume; off by default and opt-in.
	Screenshot *BrowserTelemetryCategoryConfig `json:"screenshot,omitempty"`

	// System Browser VM health, such as out-of-memory kills and managed-service crashes.
	System *BrowserTelemetryCategoryConfig `json:"system,omitempty"`
}

BrowserTelemetryCategoriesConfig Per-category telemetry capture settings for browser events.

type BrowserTelemetryCategoryConfig

type BrowserTelemetryCategoryConfig struct {
	// Enabled Whether this category is captured. In PUT requests selection is opt-in: omitting this field (or the whole category) leaves the category off, so a PUT captures exactly the categories set to true. In PATCH requests, omitting this field (or sending an empty object `{}`) is a no-op; the category retains its current state. To enable or disable a category via PATCH, you must send an explicit `true` or `false`.
	Enabled *bool `json:"enabled,omitempty"`
}

BrowserTelemetryCategoryConfig Configuration for a single telemetry category.

type BrowserTelemetryCdpControlConfig

type BrowserTelemetryCdpControlConfig struct {
	// ExcludedMethods Methods to leave out of the `cdp_command` stream. Omit the list (or send an empty one) to report every supported method. Exclusion is a telemetry setting only: an excluded command is still relayed to the browser unchanged, it simply produces no event. Use it to drop the highest-volume methods — `Input.dispatchMouseEvent` during a humanized cursor path, or `Page.captureScreenshot` under a screencast — without turning the whole category off.
	ExcludedMethods *[]BrowserCdpCommandMethod `json:"excluded_methods,omitempty"`
}

BrowserTelemetryCdpControlConfig Settings for the `cdp_command` events the DevTools proxy reports.

type BrowserTelemetryConfig

type BrowserTelemetryConfig struct {
	// Browser Per-category telemetry capture settings for browser events.
	Browser *BrowserTelemetryCategoriesConfig `json:"browser,omitempty"`

	// Export Forwarding of captured telemetry to an external destination. Independent of what is captured: export is off unless explicitly enabled here, even when an export destination is configured. In a PUT (full replace) an omitted export block resets export to off, the same as omitted categories turn off; in a PATCH an omitted field leaves the current setting unchanged.
	Export *BrowserTelemetryExportConfig `json:"export,omitempty"`
}

BrowserTelemetryConfig Telemetry configuration for a browser. Selection is opt-in. Omit the browser key (or send an empty object) to capture the default set: lightweight operational signals (control, connection, system, captcha). Within `browser`, only the categories you set enabled: true are captured; anything omitted is off. The CDP categories (console, network, page, interaction), `screenshot` and `platform` are off by default and must be opted into. A `browser` config with nothing enabled clears the telemetry configuration. The `monitor` category (CDP collector health) is not configurable here; it flows automatically whenever a CDP category is captured.

type BrowserTelemetryControlConfig

type BrowserTelemetryControlConfig struct {
	// Cdp Settings for the `cdp_command` events the DevTools proxy reports.
	Cdp *BrowserTelemetryCdpControlConfig `json:"cdp,omitempty"`

	// Enabled Whether this category is captured. In PUT requests selection is opt-in: omitting this field (or the whole category) leaves the category off, so a PUT captures exactly the categories set to true. In PATCH requests, omitting this field (or sending an empty object `{}`) is a no-op; the category retains its current state. To enable or disable a category via PATCH, you must send an explicit `true` or `false`.
	Enabled *bool `json:"enabled,omitempty"`
}

BrowserTelemetryControlConfig Configuration for the control category. Same `enabled` semantics as any other category, plus settings for the browser-control commands the CDP proxy reports.

type BrowserTelemetryExportConfig

type BrowserTelemetryExportConfig struct {
	// Otlp OTLP/HTTP export settings.
	Otlp *BrowserTelemetryOTLPExportConfig `json:"otlp,omitempty"`
}

BrowserTelemetryExportConfig Forwarding of captured telemetry to an external destination. Independent of what is captured: export is off unless explicitly enabled here, even when an export destination is configured. In a PUT (full replace) an omitted export block resets export to off, the same as omitted categories turn off; in a PATCH an omitted field leaves the current setting unchanged.

type BrowserTelemetryOTLPExportConfig

type BrowserTelemetryOTLPExportConfig struct {
	// Enabled Whether captured telemetry is forwarded to the configured OTLP destination. Off by default. Has no effect (export stays inactive) when no export destination is configured.
	Enabled *bool `json:"enabled,omitempty"`
}

BrowserTelemetryOTLPExportConfig OTLP/HTTP export settings.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type ChromiumConfigure200JSONResponse

type ChromiumConfigure200JSONResponse OkResponse

func (ChromiumConfigure200JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure200JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure400JSONResponse

type ChromiumConfigure400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ChromiumConfigure400JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure400JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure409JSONResponse

type ChromiumConfigure409JSONResponse struct{ ConflictErrorJSONResponse }

func (ChromiumConfigure409JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure409JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure500JSONResponse

type ChromiumConfigure500JSONResponse ChromiumConfigureError

func (ChromiumConfigure500JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure500JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigureError

type ChromiumConfigureError struct {
	Message string `json:"message"`

	// Phase configure_phase maps to restart/filesystem/policy/extension/profile/display work; navigate_phase is retained for compatibility.
	Phase ChromiumConfigureErrorPhase `json:"phase"`

	// Step Optional configure step that failed.
	Step *ChromiumConfigureErrorStep `json:"step,omitempty"`
}

ChromiumConfigureError Failure from batched chromium configure — includes which phase failed.

type ChromiumConfigureErrorPhase

type ChromiumConfigureErrorPhase string

ChromiumConfigureErrorPhase configure_phase maps to restart/filesystem/policy/extension/profile/display work; navigate_phase is retained for compatibility.

const (
	ConfigurePhase ChromiumConfigureErrorPhase = "configure_phase"
	NavigatePhase  ChromiumConfigureErrorPhase = "navigate_phase"
)

Defines values for ChromiumConfigureErrorPhase.

func (ChromiumConfigureErrorPhase) Valid

Valid indicates whether the value is a known member of the ChromiumConfigureErrorPhase enum.

type ChromiumConfigureErrorStep

type ChromiumConfigureErrorStep string

ChromiumConfigureErrorStep Optional configure step that failed.

const (
	ChromePolicies ChromiumConfigureErrorStep = "chrome_policies"
	ChromiumFlags  ChromiumConfigureErrorStep = "chromium_flags"
	Display        ChromiumConfigureErrorStep = "display"
	Extensions     ChromiumConfigureErrorStep = "extensions"
	Profile        ChromiumConfigureErrorStep = "profile"
	StartChromium  ChromiumConfigureErrorStep = "start_chromium"
	StopChromium   ChromiumConfigureErrorStep = "stop_chromium"
)

Defines values for ChromiumConfigureErrorStep.

func (ChromiumConfigureErrorStep) Valid

func (e ChromiumConfigureErrorStep) Valid() bool

Valid indicates whether the value is a known member of the ChromiumConfigureErrorStep enum.

type ChromiumConfigureMultipartBody

type ChromiumConfigureMultipartBody struct {
	// ChromePolicies UTF-8 JSON policy override map — same semantics as PATCH /chromium/policies.
	ChromePolicies *string `json:"chrome_policies,omitempty"`

	// ChromiumFlags UTF-8 JSON object `{"flags":["--kiosk"]}` — same semantics as PATCH /chromium/flags.
	ChromiumFlags *string `json:"chromium_flags,omitempty"`

	// Display UTF-8 JSON object matching `#/components/schemas/PatchDisplayRequest` (width/height/etc.). When combined with restart-triggering fields, the resize is applied while Chromium is stopped and Chromium is started once at the end.
	Display *string `json:"display,omitempty"`

	// Extensions Extension zips paired with consecutive extensions.name fields (same as upload-extensions-and-restart).
	Extensions *[]struct {
		Name    string             `json:"name"`
		ZipFile openapi_types.File `json:"zip_file"`
	} `json:"extensions,omitempty"`

	// ProfileArchive tar.zst archive containing the desired `/home/kernel/user-data` profile contents. Prefer archives whose root entries are the profile files/directories themselves (for example `Default/Preferences`). Use `strip_components` only when uploading an archive that includes leading wrapper directories.
	ProfileArchive *openapi_types.File `json:"profile_archive,omitempty"`

	// StartUrl URL text to navigate after configure. Bare hosts are normalized to https://, length is capped at 2048 bytes, and Chrome decides which schemes are navigable.
	StartUrl *string `json:"start_url,omitempty"`

	// StripComponents Optional number of leading path components to strip from profile_archive entries (non-negative integer as text).
	StripComponents *string `json:"strip_components,omitempty"`
}

ChromiumConfigureMultipartBody defines parameters for ChromiumConfigure.

type ChromiumConfigureMultipartRequestBody

type ChromiumConfigureMultipartRequestBody ChromiumConfigureMultipartBody

ChromiumConfigureMultipartRequestBody defines body for ChromiumConfigure for multipart/form-data ContentType.

type ChromiumConfigureParams

type ChromiumConfigureParams struct {
	// ExtensionLoadStrategy Extension activation strategy. Omit or use `restart` to preserve unconditional restart behavior for requests containing extensions. `prefer_cdp` attempts live activation for eligible unpacked extensions and falls back to one restart when required.
	ExtensionLoadStrategy *ChromiumConfigureParamsExtensionLoadStrategy `form:"extension_load_strategy,omitempty" json:"extension_load_strategy,omitempty"`
}

ChromiumConfigureParams defines parameters for ChromiumConfigure.

type ChromiumConfigureParamsExtensionLoadStrategy

type ChromiumConfigureParamsExtensionLoadStrategy string

ChromiumConfigureParamsExtensionLoadStrategy defines parameters for ChromiumConfigure.

Defines values for ChromiumConfigureParamsExtensionLoadStrategy.

func (ChromiumConfigureParamsExtensionLoadStrategy) Valid

Valid indicates whether the value is a known member of the ChromiumConfigureParamsExtensionLoadStrategy enum.

type ChromiumConfigureRequestObject

type ChromiumConfigureRequestObject struct {
	Params ChromiumConfigureParams
	Body   *multipart.Reader
}

type ChromiumConfigureResponse

type ChromiumConfigureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OkResponse
	JSON400      *BadRequestError
	JSON409      *ConflictError
	JSON500      *ChromiumConfigureError
}

func ParseChromiumConfigureResponse

func ParseChromiumConfigureResponse(rsp *http.Response) (*ChromiumConfigureResponse, error)

ParseChromiumConfigureResponse parses an HTTP response from a ChromiumConfigureWithResponse call

func (ChromiumConfigureResponse) Status

func (r ChromiumConfigureResponse) Status() string

Status returns HTTPResponse.Status

func (ChromiumConfigureResponse) StatusCode

func (r ChromiumConfigureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ChromiumConfigureResponseObject

type ChromiumConfigureResponseObject interface {
	VisitChromiumConfigureResponse(w http.ResponseWriter) error
}

type ClickMouse200Response

type ClickMouse200Response struct {
}

func (ClickMouse200Response) VisitClickMouseResponse

func (response ClickMouse200Response) VisitClickMouseResponse(w http.ResponseWriter) error

type ClickMouse400JSONResponse

type ClickMouse400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ClickMouse400JSONResponse) VisitClickMouseResponse

func (response ClickMouse400JSONResponse) VisitClickMouseResponse(w http.ResponseWriter) error

type ClickMouse500JSONResponse

type ClickMouse500JSONResponse struct{ InternalErrorJSONResponse }

func (ClickMouse500JSONResponse) VisitClickMouseResponse

func (response ClickMouse500JSONResponse) VisitClickMouseResponse(w http.ResponseWriter) error

type ClickMouseJSONRequestBody

type ClickMouseJSONRequestBody = ClickMouseRequest

ClickMouseJSONRequestBody defines body for ClickMouse for application/json ContentType.

type ClickMouseRequest

type ClickMouseRequest struct {
	// Button Mouse button to interact with
	Button *ClickMouseRequestButton `json:"button,omitempty"`

	// ClickType Type of click action
	ClickType *ClickMouseRequestClickType `json:"click_type,omitempty"`

	// HoldKeys Modifier keys to hold during the click
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// NumClicks Number of times to repeat the click
	NumClicks *int `json:"num_clicks,omitempty"`

	// X X coordinate of the click position
	X int `json:"x"`

	// Y Y coordinate of the click position
	Y int `json:"y"`
}

ClickMouseRequest defines model for ClickMouseRequest.

type ClickMouseRequestButton

type ClickMouseRequestButton string

ClickMouseRequestButton Mouse button to interact with

const (
	ClickMouseRequestButtonBack    ClickMouseRequestButton = "back"
	ClickMouseRequestButtonForward ClickMouseRequestButton = "forward"
	ClickMouseRequestButtonLeft    ClickMouseRequestButton = "left"
	ClickMouseRequestButtonMiddle  ClickMouseRequestButton = "middle"
	ClickMouseRequestButtonRight   ClickMouseRequestButton = "right"
)

Defines values for ClickMouseRequestButton.

func (ClickMouseRequestButton) Valid

func (e ClickMouseRequestButton) Valid() bool

Valid indicates whether the value is a known member of the ClickMouseRequestButton enum.

type ClickMouseRequestClickType

type ClickMouseRequestClickType string

ClickMouseRequestClickType Type of click action

const (
	Click ClickMouseRequestClickType = "click"
	Down  ClickMouseRequestClickType = "down"
	Up    ClickMouseRequestClickType = "up"
)

Defines values for ClickMouseRequestClickType.

func (ClickMouseRequestClickType) Valid

func (e ClickMouseRequestClickType) Valid() bool

Valid indicates whether the value is a known member of the ClickMouseRequestClickType enum.

type ClickMouseRequestObject

type ClickMouseRequestObject struct {
	Body *ClickMouseJSONRequestBody
}

type ClickMouseResponse

type ClickMouseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseClickMouseResponse

func ParseClickMouseResponse(rsp *http.Response) (*ClickMouseResponse, error)

ParseClickMouseResponse parses an HTTP response from a ClickMouseWithResponse call

func (ClickMouseResponse) Status

func (r ClickMouseResponse) Status() string

Status returns HTTPResponse.Status

func (ClickMouseResponse) StatusCode

func (r ClickMouseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ClickMouseResponseObject

type ClickMouseResponseObject interface {
	VisitClickMouseResponse(w http.ResponseWriter) error
}

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) BatchComputerAction

func (c *Client) BatchComputerAction(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BatchComputerActionWithBody

func (c *Client) BatchComputerActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ChromiumConfigureWithBody

func (c *Client) ChromiumConfigureWithBody(ctx context.Context, params *ChromiumConfigureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClickMouse

func (c *Client) ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClickMouseWithBody

func (c *Client) ClickMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDirectory

func (c *Client) CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDirectoryWithBody

func (c *Client) CreateDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDirectory

func (c *Client) DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDirectoryWithBody

func (c *Client) DeleteDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFile

func (c *Client) DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFileWithBody

func (c *Client) DeleteFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRecording

func (c *Client) DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRecordingWithBody

func (c *Client) DeleteRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DisableScaleToZero

func (c *Client) DisableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadDirZip

func (c *Client) DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadDirZstd

func (c *Client) DownloadDirZstd(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadRecording

func (c *Client) DownloadRecording(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DragMouse

func (c *Client) DragMouse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DragMouseWithBody

func (c *Client) DragMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableScaleToZero

func (c *Client) EnableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExecutePlaywrightCode

func (c *Client) ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExecutePlaywrightCodeWithBody

func (c *Client) ExecutePlaywrightCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FileInfo

func (c *Client) FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMousePosition

func (c *Client) GetMousePosition(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTelemetry

func (c *Client) GetTelemetry(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebMCPTools

func (c *Client) GetWebMCPTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InvokeWebMCPTool

func (c *Client) InvokeWebMCPTool(ctx context.Context, body InvokeWebMCPToolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InvokeWebMCPToolWithBody

func (c *Client) InvokeWebMCPToolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListFiles

func (c *Client) ListFiles(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRecorders

func (c *Client) ListRecorders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LogsStream

func (c *Client) LogsStream(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MarkRecording

func (c *Client) MarkRecording(ctx context.Context, body MarkRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MarkRecordingWithBody

func (c *Client) MarkRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MoveMouse

func (c *Client) MoveMouse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MoveMouseWithBody

func (c *Client) MoveMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MovePath

func (c *Client) MovePath(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MovePathWithBody

func (c *Client) MovePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumFlags

func (c *Client) PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumFlagsWithBody

func (c *Client) PatchChromiumFlagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumPolicies

func (c *Client) PatchChromiumPolicies(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumPoliciesWithBody

func (c *Client) PatchChromiumPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDisplay

func (c *Client) PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDisplayWithBody

func (c *Client) PatchDisplayWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTelemetry

func (c *Client) PatchTelemetry(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTelemetryWithBody

func (c *Client) PatchTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PressKey

func (c *Client) PressKey(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PressKeyWithBody

func (c *Client) PressKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessExec

func (c *Client) ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessExecWithBody

func (c *Client) ProcessExecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessKill

func (c *Client) ProcessKill(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessKillWithBody

func (c *Client) ProcessKillWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessResize

func (c *Client) ProcessResize(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessResizeWithBody

func (c *Client) ProcessResizeWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessSpawn

func (c *Client) ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessSpawnWithBody

func (c *Client) ProcessSpawnWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessStatus

func (c *Client) ProcessStatus(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessStdin

func (c *Client) ProcessStdin(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessStdinWithBody

func (c *Client) ProcessStdinWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessStdoutStream

func (c *Client) ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PublishTelemetryEvent

func (c *Client) PublishTelemetryEvent(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PublishTelemetryEventWithBody

func (c *Client) PublishTelemetryEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTelemetry

func (c *Client) PutTelemetry(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTelemetryWithBody

func (c *Client) PutTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadClipboard

func (c *Client) ReadClipboard(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadFile

func (c *Client) ReadFile(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Scroll

func (c *Client) Scroll(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScrollWithBody

func (c *Client) ScrollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCursor

func (c *Client) SetCursor(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCursorWithBody

func (c *Client) SetCursorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetFilePermissions

func (c *Client) SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetFilePermissionsWithBody

func (c *Client) SetFilePermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartFsWatch

func (c *Client) StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartFsWatchWithBody

func (c *Client) StartFsWatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRecording

func (c *Client) StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRecordingWithBody

func (c *Client) StartRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopFsWatch

func (c *Client) StopFsWatch(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopRecording

func (c *Client) StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopRecordingWithBody

func (c *Client) StopRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamFsEvents

func (c *Client) StreamFsEvents(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamTelemetryEvents

func (c *Client) StreamTelemetryEvents(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TakeScreenshot

func (c *Client) TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TakeScreenshotWithBody

func (c *Client) TakeScreenshotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TypeText

func (c *Client) TypeText(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TypeTextWithBody

func (c *Client) TypeTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadExtensionsAndRestartWithBody

func (c *Client) UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadExtensionsWithBody

func (c *Client) UploadExtensionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadFilesWithBody

func (c *Client) UploadFilesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadZipWithBody

func (c *Client) UploadZipWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadZstdWithBody

func (c *Client) UploadZstdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteClipboard

func (c *Client) WriteClipboard(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteClipboardWithBody

func (c *Client) WriteClipboardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteFileWithBody

func (c *Client) WriteFileWithBody(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// PatchChromiumFlagsWithBody request with any body
	PatchChromiumFlagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchChromiumPoliciesWithBody request with any body
	PatchChromiumPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchChromiumPolicies(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadExtensionsWithBody request with any body
	UploadExtensionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadExtensionsAndRestartWithBody request with any body
	UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchComputerActionWithBody request with any body
	BatchComputerActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BatchComputerAction(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClickMouseWithBody request with any body
	ClickMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadClipboard request
	ReadClipboard(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WriteClipboardWithBody request with any body
	WriteClipboardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WriteClipboard(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCursorWithBody request with any body
	SetCursorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetCursor(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DragMouseWithBody request with any body
	DragMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DragMouse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMousePosition request
	GetMousePosition(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MoveMouseWithBody request with any body
	MoveMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MoveMouse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PressKeyWithBody request with any body
	PressKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PressKey(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TakeScreenshotWithBody request with any body
	TakeScreenshotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScrollWithBody request with any body
	ScrollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	Scroll(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TypeTextWithBody request with any body
	TypeTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TypeText(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChromiumConfigureWithBody request with any body
	ChromiumConfigureWithBody(ctx context.Context, params *ChromiumConfigureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDisplayWithBody request with any body
	PatchDisplayWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDirectoryWithBody request with any body
	CreateDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDirectoryWithBody request with any body
	DeleteDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFileWithBody request with any body
	DeleteFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadDirZip request
	DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadDirZstd request
	DownloadDirZstd(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FileInfo request
	FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFiles request
	ListFiles(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MovePathWithBody request with any body
	MovePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MovePath(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadFile request
	ReadFile(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetFilePermissionsWithBody request with any body
	SetFilePermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadFilesWithBody request with any body
	UploadFilesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadZipWithBody request with any body
	UploadZipWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadZstdWithBody request with any body
	UploadZstdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartFsWatchWithBody request with any body
	StartFsWatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopFsWatch request
	StopFsWatch(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamFsEvents request
	StreamFsEvents(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WriteFileWithBody request with any body
	WriteFileWithBody(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LogsStream request
	LogsStream(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecutePlaywrightCodeWithBody request with any body
	ExecutePlaywrightCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessExecWithBody request with any body
	ProcessExecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessSpawnWithBody request with any body
	ProcessSpawnWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessKillWithBody request with any body
	ProcessKillWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProcessKill(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessResizeWithBody request with any body
	ProcessResizeWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProcessResize(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessStatus request
	ProcessStatus(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessStdinWithBody request with any body
	ProcessStdinWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ProcessStdin(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessStdoutStream request
	ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRecordingWithBody request with any body
	DeleteRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadRecording request
	DownloadRecording(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRecorders request
	ListRecorders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MarkRecordingWithBody request with any body
	MarkRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	MarkRecording(ctx context.Context, body MarkRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartRecordingWithBody request with any body
	StartRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopRecordingWithBody request with any body
	StopRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisableScaleToZero request
	DisableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableScaleToZero request
	EnableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTelemetry request
	GetTelemetry(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTelemetryWithBody request with any body
	PatchTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchTelemetry(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTelemetryWithBody request with any body
	PutTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutTelemetry(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PublishTelemetryEventWithBody request with any body
	PublishTelemetryEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PublishTelemetryEvent(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamTelemetryEvents request
	StreamTelemetryEvents(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InvokeWebMCPToolWithBody request with any body
	InvokeWebMCPToolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	InvokeWebMCPTool(ctx context.Context, body InvokeWebMCPToolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebMCPTools request
	GetWebMCPTools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) BatchComputerActionWithBodyWithResponse

func (c *ClientWithResponses) BatchComputerActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

BatchComputerActionWithBodyWithResponse request with arbitrary body returning *BatchComputerActionResponse

func (*ClientWithResponses) BatchComputerActionWithResponse

func (c *ClientWithResponses) BatchComputerActionWithResponse(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

func (*ClientWithResponses) ChromiumConfigureWithBodyWithResponse

func (c *ClientWithResponses) ChromiumConfigureWithBodyWithResponse(ctx context.Context, params *ChromiumConfigureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChromiumConfigureResponse, error)

ChromiumConfigureWithBodyWithResponse request with arbitrary body returning *ChromiumConfigureResponse

func (*ClientWithResponses) ClickMouseWithBodyWithResponse

func (c *ClientWithResponses) ClickMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)

ClickMouseWithBodyWithResponse request with arbitrary body returning *ClickMouseResponse

func (*ClientWithResponses) ClickMouseWithResponse

func (c *ClientWithResponses) ClickMouseWithResponse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)

func (*ClientWithResponses) CreateDirectoryWithBodyWithResponse

func (c *ClientWithResponses) CreateDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)

CreateDirectoryWithBodyWithResponse request with arbitrary body returning *CreateDirectoryResponse

func (*ClientWithResponses) CreateDirectoryWithResponse

func (c *ClientWithResponses) CreateDirectoryWithResponse(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)

func (*ClientWithResponses) DeleteDirectoryWithBodyWithResponse

func (c *ClientWithResponses) DeleteDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)

DeleteDirectoryWithBodyWithResponse request with arbitrary body returning *DeleteDirectoryResponse

func (*ClientWithResponses) DeleteDirectoryWithResponse

func (c *ClientWithResponses) DeleteDirectoryWithResponse(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)

func (*ClientWithResponses) DeleteFileWithBodyWithResponse

func (c *ClientWithResponses) DeleteFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)

DeleteFileWithBodyWithResponse request with arbitrary body returning *DeleteFileResponse

func (*ClientWithResponses) DeleteFileWithResponse

func (c *ClientWithResponses) DeleteFileWithResponse(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)

func (*ClientWithResponses) DeleteRecordingWithBodyWithResponse

func (c *ClientWithResponses) DeleteRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

DeleteRecordingWithBodyWithResponse request with arbitrary body returning *DeleteRecordingResponse

func (*ClientWithResponses) DeleteRecordingWithResponse

func (c *ClientWithResponses) DeleteRecordingWithResponse(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

func (*ClientWithResponses) DisableScaleToZeroWithResponse

func (c *ClientWithResponses) DisableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisableScaleToZeroResponse, error)

DisableScaleToZeroWithResponse request returning *DisableScaleToZeroResponse

func (*ClientWithResponses) DownloadDirZipWithResponse

func (c *ClientWithResponses) DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*DownloadDirZipResponse, error)

DownloadDirZipWithResponse request returning *DownloadDirZipResponse

func (*ClientWithResponses) DownloadDirZstdWithResponse

func (c *ClientWithResponses) DownloadDirZstdWithResponse(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*DownloadDirZstdResponse, error)

DownloadDirZstdWithResponse request returning *DownloadDirZstdResponse

func (*ClientWithResponses) DownloadRecordingWithResponse

func (c *ClientWithResponses) DownloadRecordingWithResponse(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*DownloadRecordingResponse, error)

DownloadRecordingWithResponse request returning *DownloadRecordingResponse

func (*ClientWithResponses) DragMouseWithBodyWithResponse

func (c *ClientWithResponses) DragMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)

DragMouseWithBodyWithResponse request with arbitrary body returning *DragMouseResponse

func (*ClientWithResponses) DragMouseWithResponse

func (c *ClientWithResponses) DragMouseWithResponse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)

func (*ClientWithResponses) EnableScaleToZeroWithResponse

func (c *ClientWithResponses) EnableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnableScaleToZeroResponse, error)

EnableScaleToZeroWithResponse request returning *EnableScaleToZeroResponse

func (*ClientWithResponses) ExecutePlaywrightCodeWithBodyWithResponse

func (c *ClientWithResponses) ExecutePlaywrightCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)

ExecutePlaywrightCodeWithBodyWithResponse request with arbitrary body returning *ExecutePlaywrightCodeResponse

func (*ClientWithResponses) ExecutePlaywrightCodeWithResponse

func (c *ClientWithResponses) ExecutePlaywrightCodeWithResponse(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)

func (*ClientWithResponses) FileInfoWithResponse

func (c *ClientWithResponses) FileInfoWithResponse(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*FileInfoResponse, error)

FileInfoWithResponse request returning *FileInfoResponse

func (*ClientWithResponses) GetMousePositionWithResponse

func (c *ClientWithResponses) GetMousePositionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMousePositionResponse, error)

GetMousePositionWithResponse request returning *GetMousePositionResponse

func (*ClientWithResponses) GetTelemetryWithResponse

func (c *ClientWithResponses) GetTelemetryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTelemetryResponse, error)

GetTelemetryWithResponse request returning *GetTelemetryResponse

func (*ClientWithResponses) GetWebMCPToolsWithResponse

func (c *ClientWithResponses) GetWebMCPToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebMCPToolsResponse, error)

GetWebMCPToolsWithResponse request returning *GetWebMCPToolsResponse

func (*ClientWithResponses) InvokeWebMCPToolWithBodyWithResponse

func (c *ClientWithResponses) InvokeWebMCPToolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeWebMCPToolResponse, error)

InvokeWebMCPToolWithBodyWithResponse request with arbitrary body returning *InvokeWebMCPToolResponse

func (*ClientWithResponses) InvokeWebMCPToolWithResponse

func (c *ClientWithResponses) InvokeWebMCPToolWithResponse(ctx context.Context, body InvokeWebMCPToolJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeWebMCPToolResponse, error)

func (*ClientWithResponses) ListFilesWithResponse

func (c *ClientWithResponses) ListFilesWithResponse(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResponse, error)

ListFilesWithResponse request returning *ListFilesResponse

func (*ClientWithResponses) ListRecordersWithResponse

func (c *ClientWithResponses) ListRecordersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecordersResponse, error)

ListRecordersWithResponse request returning *ListRecordersResponse

func (*ClientWithResponses) LogsStreamWithResponse

func (c *ClientWithResponses) LogsStreamWithResponse(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*LogsStreamResponse, error)

LogsStreamWithResponse request returning *LogsStreamResponse

func (*ClientWithResponses) MarkRecordingWithBodyWithResponse

func (c *ClientWithResponses) MarkRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkRecordingResponse, error)

MarkRecordingWithBodyWithResponse request with arbitrary body returning *MarkRecordingResponse

func (*ClientWithResponses) MarkRecordingWithResponse

func (c *ClientWithResponses) MarkRecordingWithResponse(ctx context.Context, body MarkRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkRecordingResponse, error)

func (*ClientWithResponses) MoveMouseWithBodyWithResponse

func (c *ClientWithResponses) MoveMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)

MoveMouseWithBodyWithResponse request with arbitrary body returning *MoveMouseResponse

func (*ClientWithResponses) MoveMouseWithResponse

func (c *ClientWithResponses) MoveMouseWithResponse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)

func (*ClientWithResponses) MovePathWithBodyWithResponse

func (c *ClientWithResponses) MovePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePathResponse, error)

MovePathWithBodyWithResponse request with arbitrary body returning *MovePathResponse

func (*ClientWithResponses) MovePathWithResponse

func (c *ClientWithResponses) MovePathWithResponse(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePathResponse, error)

func (*ClientWithResponses) PatchChromiumFlagsWithBodyWithResponse

func (c *ClientWithResponses) PatchChromiumFlagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)

PatchChromiumFlagsWithBodyWithResponse request with arbitrary body returning *PatchChromiumFlagsResponse

func (*ClientWithResponses) PatchChromiumFlagsWithResponse

func (c *ClientWithResponses) PatchChromiumFlagsWithResponse(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)

func (*ClientWithResponses) PatchChromiumPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PatchChromiumPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

PatchChromiumPoliciesWithBodyWithResponse request with arbitrary body returning *PatchChromiumPoliciesResponse

func (*ClientWithResponses) PatchChromiumPoliciesWithResponse

func (c *ClientWithResponses) PatchChromiumPoliciesWithResponse(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

func (*ClientWithResponses) PatchDisplayWithBodyWithResponse

func (c *ClientWithResponses) PatchDisplayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)

PatchDisplayWithBodyWithResponse request with arbitrary body returning *PatchDisplayResponse

func (*ClientWithResponses) PatchDisplayWithResponse

func (c *ClientWithResponses) PatchDisplayWithResponse(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)

func (*ClientWithResponses) PatchTelemetryWithBodyWithResponse

func (c *ClientWithResponses) PatchTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

PatchTelemetryWithBodyWithResponse request with arbitrary body returning *PatchTelemetryResponse

func (*ClientWithResponses) PatchTelemetryWithResponse

func (c *ClientWithResponses) PatchTelemetryWithResponse(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

func (*ClientWithResponses) PressKeyWithBodyWithResponse

func (c *ClientWithResponses) PressKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)

PressKeyWithBodyWithResponse request with arbitrary body returning *PressKeyResponse

func (*ClientWithResponses) PressKeyWithResponse

func (c *ClientWithResponses) PressKeyWithResponse(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)

func (*ClientWithResponses) ProcessExecWithBodyWithResponse

func (c *ClientWithResponses) ProcessExecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)

ProcessExecWithBodyWithResponse request with arbitrary body returning *ProcessExecResponse

func (*ClientWithResponses) ProcessExecWithResponse

func (c *ClientWithResponses) ProcessExecWithResponse(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)

func (*ClientWithResponses) ProcessKillWithBodyWithResponse

func (c *ClientWithResponses) ProcessKillWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)

ProcessKillWithBodyWithResponse request with arbitrary body returning *ProcessKillResponse

func (*ClientWithResponses) ProcessKillWithResponse

func (c *ClientWithResponses) ProcessKillWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)

func (*ClientWithResponses) ProcessResizeWithBodyWithResponse

func (c *ClientWithResponses) ProcessResizeWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)

ProcessResizeWithBodyWithResponse request with arbitrary body returning *ProcessResizeResponse

func (*ClientWithResponses) ProcessResizeWithResponse

func (c *ClientWithResponses) ProcessResizeWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)

func (*ClientWithResponses) ProcessSpawnWithBodyWithResponse

func (c *ClientWithResponses) ProcessSpawnWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)

ProcessSpawnWithBodyWithResponse request with arbitrary body returning *ProcessSpawnResponse

func (*ClientWithResponses) ProcessSpawnWithResponse

func (c *ClientWithResponses) ProcessSpawnWithResponse(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)

func (*ClientWithResponses) ProcessStatusWithResponse

func (c *ClientWithResponses) ProcessStatusWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStatusResponse, error)

ProcessStatusWithResponse request returning *ProcessStatusResponse

func (*ClientWithResponses) ProcessStdinWithBodyWithResponse

func (c *ClientWithResponses) ProcessStdinWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)

ProcessStdinWithBodyWithResponse request with arbitrary body returning *ProcessStdinResponse

func (*ClientWithResponses) ProcessStdinWithResponse

func (c *ClientWithResponses) ProcessStdinWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)

func (*ClientWithResponses) ProcessStdoutStreamWithResponse

func (c *ClientWithResponses) ProcessStdoutStreamWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStdoutStreamResponse, error)

ProcessStdoutStreamWithResponse request returning *ProcessStdoutStreamResponse

func (*ClientWithResponses) PublishTelemetryEventWithBodyWithResponse

func (c *ClientWithResponses) PublishTelemetryEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

PublishTelemetryEventWithBodyWithResponse request with arbitrary body returning *PublishTelemetryEventResponse

func (*ClientWithResponses) PublishTelemetryEventWithResponse

func (c *ClientWithResponses) PublishTelemetryEventWithResponse(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

func (*ClientWithResponses) PutTelemetryWithBodyWithResponse

func (c *ClientWithResponses) PutTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

PutTelemetryWithBodyWithResponse request with arbitrary body returning *PutTelemetryResponse

func (*ClientWithResponses) PutTelemetryWithResponse

func (c *ClientWithResponses) PutTelemetryWithResponse(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

func (*ClientWithResponses) ReadClipboardWithResponse

func (c *ClientWithResponses) ReadClipboardWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadClipboardResponse, error)

ReadClipboardWithResponse request returning *ReadClipboardResponse

func (*ClientWithResponses) ReadFileWithResponse

func (c *ClientWithResponses) ReadFileWithResponse(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*ReadFileResponse, error)

ReadFileWithResponse request returning *ReadFileResponse

func (*ClientWithResponses) ScrollWithBodyWithResponse

func (c *ClientWithResponses) ScrollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScrollResponse, error)

ScrollWithBodyWithResponse request with arbitrary body returning *ScrollResponse

func (*ClientWithResponses) ScrollWithResponse

func (c *ClientWithResponses) ScrollWithResponse(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*ScrollResponse, error)

func (*ClientWithResponses) SetCursorWithBodyWithResponse

func (c *ClientWithResponses) SetCursorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)

SetCursorWithBodyWithResponse request with arbitrary body returning *SetCursorResponse

func (*ClientWithResponses) SetCursorWithResponse

func (c *ClientWithResponses) SetCursorWithResponse(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)

func (*ClientWithResponses) SetFilePermissionsWithBodyWithResponse

func (c *ClientWithResponses) SetFilePermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)

SetFilePermissionsWithBodyWithResponse request with arbitrary body returning *SetFilePermissionsResponse

func (*ClientWithResponses) SetFilePermissionsWithResponse

func (c *ClientWithResponses) SetFilePermissionsWithResponse(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)

func (*ClientWithResponses) StartFsWatchWithBodyWithResponse

func (c *ClientWithResponses) StartFsWatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)

StartFsWatchWithBodyWithResponse request with arbitrary body returning *StartFsWatchResponse

func (*ClientWithResponses) StartFsWatchWithResponse

func (c *ClientWithResponses) StartFsWatchWithResponse(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)

func (*ClientWithResponses) StartRecordingWithBodyWithResponse

func (c *ClientWithResponses) StartRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)

StartRecordingWithBodyWithResponse request with arbitrary body returning *StartRecordingResponse

func (*ClientWithResponses) StartRecordingWithResponse

func (c *ClientWithResponses) StartRecordingWithResponse(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)

func (*ClientWithResponses) StopFsWatchWithResponse

func (c *ClientWithResponses) StopFsWatchWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StopFsWatchResponse, error)

StopFsWatchWithResponse request returning *StopFsWatchResponse

func (*ClientWithResponses) StopRecordingWithBodyWithResponse

func (c *ClientWithResponses) StopRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)

StopRecordingWithBodyWithResponse request with arbitrary body returning *StopRecordingResponse

func (*ClientWithResponses) StopRecordingWithResponse

func (c *ClientWithResponses) StopRecordingWithResponse(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)

func (*ClientWithResponses) StreamFsEventsWithResponse

func (c *ClientWithResponses) StreamFsEventsWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StreamFsEventsResponse, error)

StreamFsEventsWithResponse request returning *StreamFsEventsResponse

func (*ClientWithResponses) StreamTelemetryEventsWithResponse

func (c *ClientWithResponses) StreamTelemetryEventsWithResponse(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*StreamTelemetryEventsResponse, error)

StreamTelemetryEventsWithResponse request returning *StreamTelemetryEventsResponse

func (*ClientWithResponses) TakeScreenshotWithBodyWithResponse

func (c *ClientWithResponses) TakeScreenshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)

TakeScreenshotWithBodyWithResponse request with arbitrary body returning *TakeScreenshotResponse

func (*ClientWithResponses) TakeScreenshotWithResponse

func (c *ClientWithResponses) TakeScreenshotWithResponse(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)

func (*ClientWithResponses) TypeTextWithBodyWithResponse

func (c *ClientWithResponses) TypeTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)

TypeTextWithBodyWithResponse request with arbitrary body returning *TypeTextResponse

func (*ClientWithResponses) TypeTextWithResponse

func (c *ClientWithResponses) TypeTextWithResponse(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)

func (*ClientWithResponses) UploadExtensionsAndRestartWithBodyWithResponse

func (c *ClientWithResponses) UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsAndRestartResponse, error)

UploadExtensionsAndRestartWithBodyWithResponse request with arbitrary body returning *UploadExtensionsAndRestartResponse

func (*ClientWithResponses) UploadExtensionsWithBodyWithResponse

func (c *ClientWithResponses) UploadExtensionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsResponse, error)

UploadExtensionsWithBodyWithResponse request with arbitrary body returning *UploadExtensionsResponse

func (*ClientWithResponses) UploadFilesWithBodyWithResponse

func (c *ClientWithResponses) UploadFilesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFilesResponse, error)

UploadFilesWithBodyWithResponse request with arbitrary body returning *UploadFilesResponse

func (*ClientWithResponses) UploadZipWithBodyWithResponse

func (c *ClientWithResponses) UploadZipWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZipResponse, error)

UploadZipWithBodyWithResponse request with arbitrary body returning *UploadZipResponse

func (*ClientWithResponses) UploadZstdWithBodyWithResponse

func (c *ClientWithResponses) UploadZstdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZstdResponse, error)

UploadZstdWithBodyWithResponse request with arbitrary body returning *UploadZstdResponse

func (*ClientWithResponses) WriteClipboardWithBodyWithResponse

func (c *ClientWithResponses) WriteClipboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

WriteClipboardWithBodyWithResponse request with arbitrary body returning *WriteClipboardResponse

func (*ClientWithResponses) WriteClipboardWithResponse

func (c *ClientWithResponses) WriteClipboardWithResponse(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

func (*ClientWithResponses) WriteFileWithBodyWithResponse

func (c *ClientWithResponses) WriteFileWithBodyWithResponse(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteFileResponse, error)

WriteFileWithBodyWithResponse request with arbitrary body returning *WriteFileResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PatchChromiumFlagsWithBodyWithResponse request with any body
	PatchChromiumFlagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)

	PatchChromiumFlagsWithResponse(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)

	// PatchChromiumPoliciesWithBodyWithResponse request with any body
	PatchChromiumPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

	PatchChromiumPoliciesWithResponse(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

	// UploadExtensionsWithBodyWithResponse request with any body
	UploadExtensionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsResponse, error)

	// UploadExtensionsAndRestartWithBodyWithResponse request with any body
	UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsAndRestartResponse, error)

	// BatchComputerActionWithBodyWithResponse request with any body
	BatchComputerActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

	BatchComputerActionWithResponse(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

	// ClickMouseWithBodyWithResponse request with any body
	ClickMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)

	ClickMouseWithResponse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)

	// ReadClipboardWithResponse request
	ReadClipboardWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadClipboardResponse, error)

	// WriteClipboardWithBodyWithResponse request with any body
	WriteClipboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

	WriteClipboardWithResponse(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

	// SetCursorWithBodyWithResponse request with any body
	SetCursorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)

	SetCursorWithResponse(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)

	// DragMouseWithBodyWithResponse request with any body
	DragMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)

	DragMouseWithResponse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)

	// GetMousePositionWithResponse request
	GetMousePositionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMousePositionResponse, error)

	// MoveMouseWithBodyWithResponse request with any body
	MoveMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)

	MoveMouseWithResponse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)

	// PressKeyWithBodyWithResponse request with any body
	PressKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)

	PressKeyWithResponse(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)

	// TakeScreenshotWithBodyWithResponse request with any body
	TakeScreenshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)

	TakeScreenshotWithResponse(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)

	// ScrollWithBodyWithResponse request with any body
	ScrollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScrollResponse, error)

	ScrollWithResponse(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*ScrollResponse, error)

	// TypeTextWithBodyWithResponse request with any body
	TypeTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)

	TypeTextWithResponse(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)

	// ChromiumConfigureWithBodyWithResponse request with any body
	ChromiumConfigureWithBodyWithResponse(ctx context.Context, params *ChromiumConfigureParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChromiumConfigureResponse, error)

	// PatchDisplayWithBodyWithResponse request with any body
	PatchDisplayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)

	PatchDisplayWithResponse(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)

	// CreateDirectoryWithBodyWithResponse request with any body
	CreateDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)

	CreateDirectoryWithResponse(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)

	// DeleteDirectoryWithBodyWithResponse request with any body
	DeleteDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)

	DeleteDirectoryWithResponse(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)

	// DeleteFileWithBodyWithResponse request with any body
	DeleteFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)

	DeleteFileWithResponse(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)

	// DownloadDirZipWithResponse request
	DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*DownloadDirZipResponse, error)

	// DownloadDirZstdWithResponse request
	DownloadDirZstdWithResponse(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*DownloadDirZstdResponse, error)

	// FileInfoWithResponse request
	FileInfoWithResponse(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*FileInfoResponse, error)

	// ListFilesWithResponse request
	ListFilesWithResponse(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResponse, error)

	// MovePathWithBodyWithResponse request with any body
	MovePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePathResponse, error)

	MovePathWithResponse(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePathResponse, error)

	// ReadFileWithResponse request
	ReadFileWithResponse(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*ReadFileResponse, error)

	// SetFilePermissionsWithBodyWithResponse request with any body
	SetFilePermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)

	SetFilePermissionsWithResponse(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)

	// UploadFilesWithBodyWithResponse request with any body
	UploadFilesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFilesResponse, error)

	// UploadZipWithBodyWithResponse request with any body
	UploadZipWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZipResponse, error)

	// UploadZstdWithBodyWithResponse request with any body
	UploadZstdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZstdResponse, error)

	// StartFsWatchWithBodyWithResponse request with any body
	StartFsWatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)

	StartFsWatchWithResponse(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)

	// StopFsWatchWithResponse request
	StopFsWatchWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StopFsWatchResponse, error)

	// StreamFsEventsWithResponse request
	StreamFsEventsWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StreamFsEventsResponse, error)

	// WriteFileWithBodyWithResponse request with any body
	WriteFileWithBodyWithResponse(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteFileResponse, error)

	// LogsStreamWithResponse request
	LogsStreamWithResponse(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*LogsStreamResponse, error)

	// ExecutePlaywrightCodeWithBodyWithResponse request with any body
	ExecutePlaywrightCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)

	ExecutePlaywrightCodeWithResponse(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)

	// ProcessExecWithBodyWithResponse request with any body
	ProcessExecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)

	ProcessExecWithResponse(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)

	// ProcessSpawnWithBodyWithResponse request with any body
	ProcessSpawnWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)

	ProcessSpawnWithResponse(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)

	// ProcessKillWithBodyWithResponse request with any body
	ProcessKillWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)

	ProcessKillWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)

	// ProcessResizeWithBodyWithResponse request with any body
	ProcessResizeWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)

	ProcessResizeWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)

	// ProcessStatusWithResponse request
	ProcessStatusWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStatusResponse, error)

	// ProcessStdinWithBodyWithResponse request with any body
	ProcessStdinWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)

	ProcessStdinWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)

	// ProcessStdoutStreamWithResponse request
	ProcessStdoutStreamWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStdoutStreamResponse, error)

	// DeleteRecordingWithBodyWithResponse request with any body
	DeleteRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

	DeleteRecordingWithResponse(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)

	// DownloadRecordingWithResponse request
	DownloadRecordingWithResponse(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*DownloadRecordingResponse, error)

	// ListRecordersWithResponse request
	ListRecordersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecordersResponse, error)

	// MarkRecordingWithBodyWithResponse request with any body
	MarkRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkRecordingResponse, error)

	MarkRecordingWithResponse(ctx context.Context, body MarkRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkRecordingResponse, error)

	// StartRecordingWithBodyWithResponse request with any body
	StartRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)

	StartRecordingWithResponse(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)

	// StopRecordingWithBodyWithResponse request with any body
	StopRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)

	StopRecordingWithResponse(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)

	// DisableScaleToZeroWithResponse request
	DisableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisableScaleToZeroResponse, error)

	// EnableScaleToZeroWithResponse request
	EnableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnableScaleToZeroResponse, error)

	// GetTelemetryWithResponse request
	GetTelemetryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTelemetryResponse, error)

	// PatchTelemetryWithBodyWithResponse request with any body
	PatchTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

	PatchTelemetryWithResponse(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

	// PutTelemetryWithBodyWithResponse request with any body
	PutTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

	PutTelemetryWithResponse(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

	// PublishTelemetryEventWithBodyWithResponse request with any body
	PublishTelemetryEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

	PublishTelemetryEventWithResponse(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

	// StreamTelemetryEventsWithResponse request
	StreamTelemetryEventsWithResponse(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*StreamTelemetryEventsResponse, error)

	// InvokeWebMCPToolWithBodyWithResponse request with any body
	InvokeWebMCPToolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeWebMCPToolResponse, error)

	InvokeWebMCPToolWithResponse(ctx context.Context, body InvokeWebMCPToolJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeWebMCPToolResponse, error)

	// GetWebMCPToolsWithResponse request
	GetWebMCPToolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebMCPToolsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ClipboardContent

type ClipboardContent struct {
	// Text Current clipboard text content
	Text string `json:"text"`
}

ClipboardContent defines model for ClipboardContent.

type ComputerAction

type ComputerAction struct {
	ClickMouse *ClickMouseRequest `json:"click_mouse,omitempty"`
	DragMouse  *DragMouseRequest  `json:"drag_mouse,omitempty"`
	MoveMouse  *MoveMouseRequest  `json:"move_mouse,omitempty"`
	PressKey   *PressKeyRequest   `json:"press_key,omitempty"`
	Scroll     *ScrollRequest     `json:"scroll,omitempty"`
	SetCursor  *SetCursorRequest  `json:"set_cursor,omitempty"`

	// Sleep Pause execution for a specified duration.
	Sleep *SleepAction `json:"sleep,omitempty"`

	// Type The type of action to perform.
	Type     ComputerActionType `json:"type"`
	TypeText *TypeTextRequest   `json:"type_text,omitempty"`
}

ComputerAction A single computer action to execute as part of a batch. The `type` field selects which action to perform, and the corresponding field contains the action parameters. Exactly one action field matching the type must be provided.

type ComputerActionType

type ComputerActionType string

ComputerActionType The type of action to perform.

const (
	ClickMouse ComputerActionType = "click_mouse"
	DragMouse  ComputerActionType = "drag_mouse"
	MoveMouse  ComputerActionType = "move_mouse"
	PressKey   ComputerActionType = "press_key"
	Scroll     ComputerActionType = "scroll"
	SetCursor  ComputerActionType = "set_cursor"
	Sleep      ComputerActionType = "sleep"
	TypeText   ComputerActionType = "type_text"
)

Defines values for ComputerActionType.

func (ComputerActionType) Valid

func (e ComputerActionType) Valid() bool

Valid indicates whether the value is a known member of the ComputerActionType enum.

type ConflictError

type ConflictError = Error

ConflictError defines model for ConflictError.

type ConflictErrorJSONResponse

type ConflictErrorJSONResponse Error

type CreateDirectory201Response

type CreateDirectory201Response struct {
}

func (CreateDirectory201Response) VisitCreateDirectoryResponse

func (response CreateDirectory201Response) VisitCreateDirectoryResponse(w http.ResponseWriter) error

type CreateDirectory400JSONResponse

type CreateDirectory400JSONResponse struct{ BadRequestErrorJSONResponse }

func (CreateDirectory400JSONResponse) VisitCreateDirectoryResponse

func (response CreateDirectory400JSONResponse) VisitCreateDirectoryResponse(w http.ResponseWriter) error

type CreateDirectory500JSONResponse

type CreateDirectory500JSONResponse struct{ InternalErrorJSONResponse }

func (CreateDirectory500JSONResponse) VisitCreateDirectoryResponse

func (response CreateDirectory500JSONResponse) VisitCreateDirectoryResponse(w http.ResponseWriter) error

type CreateDirectoryJSONRequestBody

type CreateDirectoryJSONRequestBody = CreateDirectoryRequest

CreateDirectoryJSONRequestBody defines body for CreateDirectory for application/json ContentType.

type CreateDirectoryRequest

type CreateDirectoryRequest struct {
	// Mode Optional directory mode (octal string, e.g. 755). Defaults to 755.
	Mode *string `json:"mode,omitempty"`

	// Path Absolute directory path to create.
	Path string `json:"path"`
}

CreateDirectoryRequest defines model for CreateDirectoryRequest.

type CreateDirectoryRequestObject

type CreateDirectoryRequestObject struct {
	Body *CreateDirectoryJSONRequestBody
}

type CreateDirectoryResponse

type CreateDirectoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseCreateDirectoryResponse

func ParseCreateDirectoryResponse(rsp *http.Response) (*CreateDirectoryResponse, error)

ParseCreateDirectoryResponse parses an HTTP response from a CreateDirectoryWithResponse call

func (CreateDirectoryResponse) Status

func (r CreateDirectoryResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDirectoryResponse) StatusCode

func (r CreateDirectoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDirectoryResponseObject

type CreateDirectoryResponseObject interface {
	VisitCreateDirectoryResponse(w http.ResponseWriter) error
}

type DeleteDirectory200Response

type DeleteDirectory200Response struct {
}

func (DeleteDirectory200Response) VisitDeleteDirectoryResponse

func (response DeleteDirectory200Response) VisitDeleteDirectoryResponse(w http.ResponseWriter) error

type DeleteDirectory400JSONResponse

type DeleteDirectory400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DeleteDirectory400JSONResponse) VisitDeleteDirectoryResponse

func (response DeleteDirectory400JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error

type DeleteDirectory404JSONResponse

type DeleteDirectory404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DeleteDirectory404JSONResponse) VisitDeleteDirectoryResponse

func (response DeleteDirectory404JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error

type DeleteDirectory500JSONResponse

type DeleteDirectory500JSONResponse struct{ InternalErrorJSONResponse }

func (DeleteDirectory500JSONResponse) VisitDeleteDirectoryResponse

func (response DeleteDirectory500JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error

type DeleteDirectoryJSONRequestBody

type DeleteDirectoryJSONRequestBody = DeletePathRequest

DeleteDirectoryJSONRequestBody defines body for DeleteDirectory for application/json ContentType.

type DeleteDirectoryRequestObject

type DeleteDirectoryRequestObject struct {
	Body *DeleteDirectoryJSONRequestBody
}

type DeleteDirectoryResponse

type DeleteDirectoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDeleteDirectoryResponse

func ParseDeleteDirectoryResponse(rsp *http.Response) (*DeleteDirectoryResponse, error)

ParseDeleteDirectoryResponse parses an HTTP response from a DeleteDirectoryWithResponse call

func (DeleteDirectoryResponse) Status

func (r DeleteDirectoryResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteDirectoryResponse) StatusCode

func (r DeleteDirectoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDirectoryResponseObject

type DeleteDirectoryResponseObject interface {
	VisitDeleteDirectoryResponse(w http.ResponseWriter) error
}

type DeleteFile200Response

type DeleteFile200Response struct {
}

func (DeleteFile200Response) VisitDeleteFileResponse

func (response DeleteFile200Response) VisitDeleteFileResponse(w http.ResponseWriter) error

type DeleteFile400JSONResponse

type DeleteFile400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DeleteFile400JSONResponse) VisitDeleteFileResponse

func (response DeleteFile400JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error

type DeleteFile404JSONResponse

type DeleteFile404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DeleteFile404JSONResponse) VisitDeleteFileResponse

func (response DeleteFile404JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error

type DeleteFile500JSONResponse

type DeleteFile500JSONResponse struct{ InternalErrorJSONResponse }

func (DeleteFile500JSONResponse) VisitDeleteFileResponse

func (response DeleteFile500JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error

type DeleteFileJSONRequestBody

type DeleteFileJSONRequestBody = DeletePathRequest

DeleteFileJSONRequestBody defines body for DeleteFile for application/json ContentType.

type DeleteFileRequestObject

type DeleteFileRequestObject struct {
	Body *DeleteFileJSONRequestBody
}

type DeleteFileResponse

type DeleteFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDeleteFileResponse

func ParseDeleteFileResponse(rsp *http.Response) (*DeleteFileResponse, error)

ParseDeleteFileResponse parses an HTTP response from a DeleteFileWithResponse call

func (DeleteFileResponse) Status

func (r DeleteFileResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFileResponse) StatusCode

func (r DeleteFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFileResponseObject

type DeleteFileResponseObject interface {
	VisitDeleteFileResponse(w http.ResponseWriter) error
}

type DeletePathRequest

type DeletePathRequest struct {
	// Path Absolute path to delete.
	Path string `json:"path"`
}

DeletePathRequest defines model for DeletePathRequest.

type DeleteRecording200Response

type DeleteRecording200Response struct {
}

func (DeleteRecording200Response) VisitDeleteRecordingResponse

func (response DeleteRecording200Response) VisitDeleteRecordingResponse(w http.ResponseWriter) error

type DeleteRecording400JSONResponse

type DeleteRecording400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DeleteRecording400JSONResponse) VisitDeleteRecordingResponse

func (response DeleteRecording400JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error

type DeleteRecording404JSONResponse

type DeleteRecording404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DeleteRecording404JSONResponse) VisitDeleteRecordingResponse

func (response DeleteRecording404JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error

type DeleteRecording409JSONResponse

type DeleteRecording409JSONResponse struct{ ConflictErrorJSONResponse }

func (DeleteRecording409JSONResponse) VisitDeleteRecordingResponse

func (response DeleteRecording409JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error

type DeleteRecording500JSONResponse

type DeleteRecording500JSONResponse struct{ InternalErrorJSONResponse }

func (DeleteRecording500JSONResponse) VisitDeleteRecordingResponse

func (response DeleteRecording500JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error

type DeleteRecordingJSONRequestBody

type DeleteRecordingJSONRequestBody = DeleteRecordingRequest

DeleteRecordingJSONRequestBody defines body for DeleteRecording for application/json ContentType.

type DeleteRecordingRequest

type DeleteRecordingRequest struct {
	// Id Identifier of the recording session to delete, as passed to /recording/start. Alphanumeric or hyphen. When omitted, the default recording session is deleted.
	Id *string `json:"id,omitempty"`
}

DeleteRecordingRequest defines model for DeleteRecordingRequest.

type DeleteRecordingRequestObject

type DeleteRecordingRequestObject struct {
	Body *DeleteRecordingJSONRequestBody
}

type DeleteRecordingResponse

type DeleteRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON409      *ConflictError
	JSON500      *InternalError
}

func ParseDeleteRecordingResponse

func ParseDeleteRecordingResponse(rsp *http.Response) (*DeleteRecordingResponse, error)

ParseDeleteRecordingResponse parses an HTTP response from a DeleteRecordingWithResponse call

func (DeleteRecordingResponse) Status

func (r DeleteRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRecordingResponse) StatusCode

func (r DeleteRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRecordingResponseObject

type DeleteRecordingResponseObject interface {
	VisitDeleteRecordingResponse(w http.ResponseWriter) error
}

type DisableScaleToZero204Response

type DisableScaleToZero204Response struct {
}

func (DisableScaleToZero204Response) VisitDisableScaleToZeroResponse

func (response DisableScaleToZero204Response) VisitDisableScaleToZeroResponse(w http.ResponseWriter) error

type DisableScaleToZero500JSONResponse

type DisableScaleToZero500JSONResponse struct{ InternalErrorJSONResponse }

func (DisableScaleToZero500JSONResponse) VisitDisableScaleToZeroResponse

func (response DisableScaleToZero500JSONResponse) VisitDisableScaleToZeroResponse(w http.ResponseWriter) error

type DisableScaleToZeroRequestObject

type DisableScaleToZeroRequestObject struct {
}

type DisableScaleToZeroResponse

type DisableScaleToZeroResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *InternalError
}

func ParseDisableScaleToZeroResponse

func ParseDisableScaleToZeroResponse(rsp *http.Response) (*DisableScaleToZeroResponse, error)

ParseDisableScaleToZeroResponse parses an HTTP response from a DisableScaleToZeroWithResponse call

func (DisableScaleToZeroResponse) Status

Status returns HTTPResponse.Status

func (DisableScaleToZeroResponse) StatusCode

func (r DisableScaleToZeroResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisableScaleToZeroResponseObject

type DisableScaleToZeroResponseObject interface {
	VisitDisableScaleToZeroResponse(w http.ResponseWriter) error
}

type DisplayConfig

type DisplayConfig struct {
	// Height Current display height in pixels
	Height *int `json:"height,omitempty"`

	// RefreshRate Current display refresh rate in Hz (may be null if not detectable)
	RefreshRate *int `json:"refresh_rate,omitempty"`

	// Width Current display width in pixels
	Width *int `json:"width,omitempty"`
}

DisplayConfig defines model for DisplayConfig.

type DownloadDirZip200ApplicationzipResponse

type DownloadDirZip200ApplicationzipResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (DownloadDirZip200ApplicationzipResponse) VisitDownloadDirZipResponse

func (response DownloadDirZip200ApplicationzipResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error

type DownloadDirZip400JSONResponse

type DownloadDirZip400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DownloadDirZip400JSONResponse) VisitDownloadDirZipResponse

func (response DownloadDirZip400JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error

type DownloadDirZip404JSONResponse

type DownloadDirZip404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DownloadDirZip404JSONResponse) VisitDownloadDirZipResponse

func (response DownloadDirZip404JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error

type DownloadDirZip500JSONResponse

type DownloadDirZip500JSONResponse struct{ InternalErrorJSONResponse }

func (DownloadDirZip500JSONResponse) VisitDownloadDirZipResponse

func (response DownloadDirZip500JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error

type DownloadDirZipParams

type DownloadDirZipParams struct {
	// Path Absolute directory path to archive and download.
	Path string `form:"path" json:"path"`
}

DownloadDirZipParams defines parameters for DownloadDirZip.

type DownloadDirZipRequestObject

type DownloadDirZipRequestObject struct {
	Params DownloadDirZipParams
}

type DownloadDirZipResponse

type DownloadDirZipResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDownloadDirZipResponse

func ParseDownloadDirZipResponse(rsp *http.Response) (*DownloadDirZipResponse, error)

ParseDownloadDirZipResponse parses an HTTP response from a DownloadDirZipWithResponse call

func (DownloadDirZipResponse) Status

func (r DownloadDirZipResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadDirZipResponse) StatusCode

func (r DownloadDirZipResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadDirZipResponseObject

type DownloadDirZipResponseObject interface {
	VisitDownloadDirZipResponse(w http.ResponseWriter) error
}

type DownloadDirZstd200ApplicationzstdResponse

type DownloadDirZstd200ApplicationzstdResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (DownloadDirZstd200ApplicationzstdResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd200ApplicationzstdResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd400JSONResponse

type DownloadDirZstd400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DownloadDirZstd400JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd400JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd404JSONResponse

type DownloadDirZstd404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DownloadDirZstd404JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd404JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd500JSONResponse

type DownloadDirZstd500JSONResponse struct{ InternalErrorJSONResponse }

func (DownloadDirZstd500JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd500JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstdParams

type DownloadDirZstdParams struct {
	// Path Absolute directory path to archive and download.
	Path string `form:"path" json:"path"`

	// CompressionLevel Compression level. Higher levels produce smaller archives but take longer.
	// - fastest: ~zstd level 1, maximum speed (~300-500 MB/s)
	// - default: ~zstd level 3, balanced speed/ratio (~150 MB/s)
	// - better: ~zstd level 7, better ratio (~50-80 MB/s)
	// - best: ~zstd level 11, best ratio (~20-40 MB/s)
	CompressionLevel *DownloadDirZstdParamsCompressionLevel `form:"compression_level,omitempty" json:"compression_level,omitempty"`
}

DownloadDirZstdParams defines parameters for DownloadDirZstd.

type DownloadDirZstdParamsCompressionLevel

type DownloadDirZstdParamsCompressionLevel string

DownloadDirZstdParamsCompressionLevel defines parameters for DownloadDirZstd.

Defines values for DownloadDirZstdParamsCompressionLevel.

func (DownloadDirZstdParamsCompressionLevel) Valid

Valid indicates whether the value is a known member of the DownloadDirZstdParamsCompressionLevel enum.

type DownloadDirZstdRequestObject

type DownloadDirZstdRequestObject struct {
	Params DownloadDirZstdParams
}

type DownloadDirZstdResponse

type DownloadDirZstdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDownloadDirZstdResponse

func ParseDownloadDirZstdResponse(rsp *http.Response) (*DownloadDirZstdResponse, error)

ParseDownloadDirZstdResponse parses an HTTP response from a DownloadDirZstdWithResponse call

func (DownloadDirZstdResponse) Status

func (r DownloadDirZstdResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadDirZstdResponse) StatusCode

func (r DownloadDirZstdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadDirZstdResponseObject

type DownloadDirZstdResponseObject interface {
	VisitDownloadDirZstdResponse(w http.ResponseWriter) error
}

type DownloadRecording200ResponseHeaders

type DownloadRecording200ResponseHeaders struct {
	XRecordingFinishedAt string
	XRecordingStartedAt  string
}

type DownloadRecording200Videomp4Response

type DownloadRecording200Videomp4Response struct {
	Body          io.Reader
	Headers       DownloadRecording200ResponseHeaders
	ContentLength int64
}

func (DownloadRecording200Videomp4Response) VisitDownloadRecordingResponse

func (response DownloadRecording200Videomp4Response) VisitDownloadRecordingResponse(w http.ResponseWriter) error

type DownloadRecording202Response

type DownloadRecording202Response struct {
	Headers DownloadRecording202ResponseHeaders
}

func (DownloadRecording202Response) VisitDownloadRecordingResponse

func (response DownloadRecording202Response) VisitDownloadRecordingResponse(w http.ResponseWriter) error

type DownloadRecording202ResponseHeaders

type DownloadRecording202ResponseHeaders struct {
	RetryAfter int
}

type DownloadRecording400JSONResponse

type DownloadRecording400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DownloadRecording400JSONResponse) VisitDownloadRecordingResponse

func (response DownloadRecording400JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error

type DownloadRecording404JSONResponse

type DownloadRecording404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DownloadRecording404JSONResponse) VisitDownloadRecordingResponse

func (response DownloadRecording404JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error

type DownloadRecording500JSONResponse

type DownloadRecording500JSONResponse struct{ InternalErrorJSONResponse }

func (DownloadRecording500JSONResponse) VisitDownloadRecordingResponse

func (response DownloadRecording500JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error

type DownloadRecordingParams

type DownloadRecordingParams struct {
	// Id Identifier of the recording session to download, as passed to /recording/start. When omitted, the default recording session is downloaded.
	Id *string `form:"id,omitempty" json:"id,omitempty"`
}

DownloadRecordingParams defines parameters for DownloadRecording.

type DownloadRecordingRequestObject

type DownloadRecordingRequestObject struct {
	Params DownloadRecordingParams
}

type DownloadRecordingResponse

type DownloadRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDownloadRecordingResponse

func ParseDownloadRecordingResponse(rsp *http.Response) (*DownloadRecordingResponse, error)

ParseDownloadRecordingResponse parses an HTTP response from a DownloadRecordingWithResponse call

func (DownloadRecordingResponse) Status

func (r DownloadRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadRecordingResponse) StatusCode

func (r DownloadRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadRecordingResponseObject

type DownloadRecordingResponseObject interface {
	VisitDownloadRecordingResponse(w http.ResponseWriter) error
}

type DragMouse200Response

type DragMouse200Response struct {
}

func (DragMouse200Response) VisitDragMouseResponse

func (response DragMouse200Response) VisitDragMouseResponse(w http.ResponseWriter) error

type DragMouse400JSONResponse

type DragMouse400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DragMouse400JSONResponse) VisitDragMouseResponse

func (response DragMouse400JSONResponse) VisitDragMouseResponse(w http.ResponseWriter) error

type DragMouse500JSONResponse

type DragMouse500JSONResponse struct{ InternalErrorJSONResponse }

func (DragMouse500JSONResponse) VisitDragMouseResponse

func (response DragMouse500JSONResponse) VisitDragMouseResponse(w http.ResponseWriter) error

type DragMouseJSONRequestBody

type DragMouseJSONRequestBody = DragMouseRequest

DragMouseJSONRequestBody defines body for DragMouse for application/json ContentType.

type DragMouseRequest

type DragMouseRequest struct {
	// Button Mouse button to drag with
	Button *DragMouseRequestButton `json:"button,omitempty"`

	// Delay Delay in milliseconds between button down and starting to move along the path.
	Delay *int `json:"delay,omitempty"`

	// DurationMs Target total duration in milliseconds for the entire drag movement when smooth=true. Omit for automatic timing based on total path length.
	DurationMs *int `json:"duration_ms,omitempty"`

	// HoldKeys Modifier keys to hold during the drag
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// Path Ordered list of [x, y] coordinate pairs to move through while dragging. Must contain at least 2 points.
	Path [][]int `json:"path"`

	// Smooth Use human-like Bezier curves between path waypoints instead of linear interpolation. When true, steps_per_segment and step_delay_ms are ignored.
	Smooth *bool `json:"smooth,omitempty"`

	// StepDelayMs Delay in milliseconds between relative steps while dragging. Ignored when smooth=true.
	StepDelayMs *int `json:"step_delay_ms,omitempty"`

	// StepsPerSegment Number of relative move steps per segment in the path. Ignored when smooth=true. Minimum 1.
	StepsPerSegment *int `json:"steps_per_segment,omitempty"`
}

DragMouseRequest defines model for DragMouseRequest.

type DragMouseRequestButton

type DragMouseRequestButton string

DragMouseRequestButton Mouse button to drag with

const (
	DragMouseRequestButtonLeft   DragMouseRequestButton = "left"
	DragMouseRequestButtonMiddle DragMouseRequestButton = "middle"
	DragMouseRequestButtonRight  DragMouseRequestButton = "right"
)

Defines values for DragMouseRequestButton.

func (DragMouseRequestButton) Valid

func (e DragMouseRequestButton) Valid() bool

Valid indicates whether the value is a known member of the DragMouseRequestButton enum.

type DragMouseRequestObject

type DragMouseRequestObject struct {
	Body *DragMouseJSONRequestBody
}

type DragMouseResponse

type DragMouseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseDragMouseResponse

func ParseDragMouseResponse(rsp *http.Response) (*DragMouseResponse, error)

ParseDragMouseResponse parses an HTTP response from a DragMouseWithResponse call

func (DragMouseResponse) Status

func (r DragMouseResponse) Status() string

Status returns HTTPResponse.Status

func (DragMouseResponse) StatusCode

func (r DragMouseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DragMouseResponseObject

type DragMouseResponseObject interface {
	VisitDragMouseResponse(w http.ResponseWriter) error
}

type EnableScaleToZero204Response

type EnableScaleToZero204Response struct {
}

func (EnableScaleToZero204Response) VisitEnableScaleToZeroResponse

func (response EnableScaleToZero204Response) VisitEnableScaleToZeroResponse(w http.ResponseWriter) error

type EnableScaleToZero500JSONResponse

type EnableScaleToZero500JSONResponse struct{ InternalErrorJSONResponse }

func (EnableScaleToZero500JSONResponse) VisitEnableScaleToZeroResponse

func (response EnableScaleToZero500JSONResponse) VisitEnableScaleToZeroResponse(w http.ResponseWriter) error

type EnableScaleToZeroRequestObject

type EnableScaleToZeroRequestObject struct {
}

type EnableScaleToZeroResponse

type EnableScaleToZeroResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *InternalError
}

func ParseEnableScaleToZeroResponse

func ParseEnableScaleToZeroResponse(rsp *http.Response) (*EnableScaleToZeroResponse, error)

ParseEnableScaleToZeroResponse parses an HTTP response from a EnableScaleToZeroWithResponse call

func (EnableScaleToZeroResponse) Status

func (r EnableScaleToZeroResponse) Status() string

Status returns HTTPResponse.Status

func (EnableScaleToZeroResponse) StatusCode

func (r EnableScaleToZeroResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableScaleToZeroResponseObject

type EnableScaleToZeroResponseObject interface {
	VisitEnableScaleToZeroResponse(w http.ResponseWriter) error
}

type Error

type Error struct {
	Message string `json:"message"`
}

Error defines model for Error.

type ExecutePlaywrightCode200JSONResponse

type ExecutePlaywrightCode200JSONResponse ExecutePlaywrightResult

func (ExecutePlaywrightCode200JSONResponse) VisitExecutePlaywrightCodeResponse

func (response ExecutePlaywrightCode200JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error

type ExecutePlaywrightCode400JSONResponse

type ExecutePlaywrightCode400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ExecutePlaywrightCode400JSONResponse) VisitExecutePlaywrightCodeResponse

func (response ExecutePlaywrightCode400JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error

type ExecutePlaywrightCode500JSONResponse

type ExecutePlaywrightCode500JSONResponse struct{ InternalErrorJSONResponse }

func (ExecutePlaywrightCode500JSONResponse) VisitExecutePlaywrightCodeResponse

func (response ExecutePlaywrightCode500JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error

type ExecutePlaywrightCodeJSONRequestBody

type ExecutePlaywrightCodeJSONRequestBody = ExecutePlaywrightRequest

ExecutePlaywrightCodeJSONRequestBody defines body for ExecutePlaywrightCode for application/json ContentType.

type ExecutePlaywrightCodeRequestObject

type ExecutePlaywrightCodeRequestObject struct {
	Body *ExecutePlaywrightCodeJSONRequestBody
}

type ExecutePlaywrightCodeResponse

type ExecutePlaywrightCodeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExecutePlaywrightResult
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseExecutePlaywrightCodeResponse

func ParseExecutePlaywrightCodeResponse(rsp *http.Response) (*ExecutePlaywrightCodeResponse, error)

ParseExecutePlaywrightCodeResponse parses an HTTP response from a ExecutePlaywrightCodeWithResponse call

func (ExecutePlaywrightCodeResponse) Status

Status returns HTTPResponse.Status

func (ExecutePlaywrightCodeResponse) StatusCode

func (r ExecutePlaywrightCodeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExecutePlaywrightCodeResponseObject

type ExecutePlaywrightCodeResponseObject interface {
	VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error
}

type ExecutePlaywrightRequest

type ExecutePlaywrightRequest struct {
	// Code TypeScript/JavaScript code to execute. The code has access to 'page', 'context', and 'browser' variables.
	// Example: "await page.goto('https://example.com'); return await page.title();"
	Code string `json:"code"`

	// TimeoutSec Maximum execution time in seconds. Default is 60.
	TimeoutSec *int `json:"timeout_sec,omitempty"`
}

ExecutePlaywrightRequest Request to execute Playwright code

type ExecutePlaywrightResult

type ExecutePlaywrightResult struct {
	// Error Error message if execution failed
	Error *string `json:"error,omitempty"`

	// Result The value returned by the code (if any)
	Result interface{} `json:"result,omitempty"`

	// Stderr Standard error from the execution
	Stderr *string `json:"stderr,omitempty"`

	// Stdout Standard output from the execution
	Stdout *string `json:"stdout,omitempty"`

	// Success Whether the code executed successfully
	Success bool `json:"success"`
}

ExecutePlaywrightResult Result of Playwright code execution

type ExtensionUploadMultipart

type ExtensionUploadMultipart struct {
	// Extensions List of extensions to upload and activate
	Extensions []struct {
		// Name Folder name to place the extension under /home/kernel/extensions/<name>
		Name string `json:"name"`

		// ZipFile Zip archive containing an unpacked Chromium extension (maximum 50 MiB; must include manifest.json)
		ZipFile openapi_types.File `json:"zip_file"`
	} `json:"extensions"`
}

ExtensionUploadMultipart defines model for ExtensionUploadMultipart.

type FileInfo

type FileInfo struct {
	// IsDir Whether the path is a directory.
	IsDir bool `json:"is_dir"`

	// ModTime Last modification time.
	ModTime time.Time `json:"mod_time"`

	// Mode File mode bits (e.g., "drwxr-xr-x" or "-rw-r--r--").
	Mode string `json:"mode"`

	// Name Base name of the file or directory.
	Name string `json:"name"`

	// Path Absolute path.
	Path string `json:"path"`

	// SizeBytes Size in bytes. 0 for directories.
	SizeBytes int `json:"size_bytes"`
}

FileInfo defines model for FileInfo.

type FileInfo200JSONResponse

type FileInfo200JSONResponse FileInfo

func (FileInfo200JSONResponse) VisitFileInfoResponse

func (response FileInfo200JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error

type FileInfo400JSONResponse

type FileInfo400JSONResponse struct{ BadRequestErrorJSONResponse }

func (FileInfo400JSONResponse) VisitFileInfoResponse

func (response FileInfo400JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error

type FileInfo404JSONResponse

type FileInfo404JSONResponse struct{ NotFoundErrorJSONResponse }

func (FileInfo404JSONResponse) VisitFileInfoResponse

func (response FileInfo404JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error

type FileInfo500JSONResponse

type FileInfo500JSONResponse struct{ InternalErrorJSONResponse }

func (FileInfo500JSONResponse) VisitFileInfoResponse

func (response FileInfo500JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error

type FileInfoParams

type FileInfoParams struct {
	// Path Absolute path of the file or directory.
	Path string `form:"path" json:"path"`
}

FileInfoParams defines parameters for FileInfo.

type FileInfoRequestObject

type FileInfoRequestObject struct {
	Params FileInfoParams
}

type FileInfoResponse

type FileInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FileInfo
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseFileInfoResponse

func ParseFileInfoResponse(rsp *http.Response) (*FileInfoResponse, error)

ParseFileInfoResponse parses an HTTP response from a FileInfoWithResponse call

func (FileInfoResponse) Status

func (r FileInfoResponse) Status() string

Status returns HTTPResponse.Status

func (FileInfoResponse) StatusCode

func (r FileInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FileInfoResponseObject

type FileInfoResponseObject interface {
	VisitFileInfoResponse(w http.ResponseWriter) error
}

type FileSystemEvent

type FileSystemEvent struct {
	// IsDir Whether the affected path is a directory.
	IsDir *bool `json:"is_dir,omitempty"`

	// Name Base name of the file or directory affected.
	Name *string `json:"name,omitempty"`

	// Path Absolute path of the file or directory.
	Path string `json:"path"`

	// Type Event type.
	Type FileSystemEventType `json:"type"`
}

FileSystemEvent Filesystem change event.

type FileSystemEventType

type FileSystemEventType string

FileSystemEventType Event type.

const (
	CREATE FileSystemEventType = "CREATE"
	DELETE FileSystemEventType = "DELETE"
	RENAME FileSystemEventType = "RENAME"
	WRITE  FileSystemEventType = "WRITE"
)

Defines values for FileSystemEventType.

func (FileSystemEventType) Valid

func (e FileSystemEventType) Valid() bool

Valid indicates whether the value is a known member of the FileSystemEventType enum.

type GetMousePosition200JSONResponse

type GetMousePosition200JSONResponse MousePositionResponse

func (GetMousePosition200JSONResponse) VisitGetMousePositionResponse

func (response GetMousePosition200JSONResponse) VisitGetMousePositionResponse(w http.ResponseWriter) error

type GetMousePosition500JSONResponse

type GetMousePosition500JSONResponse struct{ InternalErrorJSONResponse }

func (GetMousePosition500JSONResponse) VisitGetMousePositionResponse

func (response GetMousePosition500JSONResponse) VisitGetMousePositionResponse(w http.ResponseWriter) error

type GetMousePositionRequestObject

type GetMousePositionRequestObject struct {
}

type GetMousePositionResponse

type GetMousePositionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MousePositionResponse
	JSON500      *InternalError
}

func ParseGetMousePositionResponse

func ParseGetMousePositionResponse(rsp *http.Response) (*GetMousePositionResponse, error)

ParseGetMousePositionResponse parses an HTTP response from a GetMousePositionWithResponse call

func (GetMousePositionResponse) Status

func (r GetMousePositionResponse) Status() string

Status returns HTTPResponse.Status

func (GetMousePositionResponse) StatusCode

func (r GetMousePositionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMousePositionResponseObject

type GetMousePositionResponseObject interface {
	VisitGetMousePositionResponse(w http.ResponseWriter) error
}

type GetTelemetry200JSONResponse

type GetTelemetry200JSONResponse TelemetryState

func (GetTelemetry200JSONResponse) VisitGetTelemetryResponse

func (response GetTelemetry200JSONResponse) VisitGetTelemetryResponse(w http.ResponseWriter) error

type GetTelemetry404JSONResponse

type GetTelemetry404JSONResponse struct{ NotFoundErrorJSONResponse }

func (GetTelemetry404JSONResponse) VisitGetTelemetryResponse

func (response GetTelemetry404JSONResponse) VisitGetTelemetryResponse(w http.ResponseWriter) error

type GetTelemetryRequestObject

type GetTelemetryRequestObject struct {
}

type GetTelemetryResponse

type GetTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON404      *NotFoundError
}

func ParseGetTelemetryResponse

func ParseGetTelemetryResponse(rsp *http.Response) (*GetTelemetryResponse, error)

ParseGetTelemetryResponse parses an HTTP response from a GetTelemetryWithResponse call

func (GetTelemetryResponse) Status

func (r GetTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (GetTelemetryResponse) StatusCode

func (r GetTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTelemetryResponseObject

type GetTelemetryResponseObject interface {
	VisitGetTelemetryResponse(w http.ResponseWriter) error
}

type GetWebMCPTools200JSONResponse

type GetWebMCPTools200JSONResponse WebMCPToolsResponse

func (GetWebMCPTools200JSONResponse) VisitGetWebMCPToolsResponse

func (response GetWebMCPTools200JSONResponse) VisitGetWebMCPToolsResponse(w http.ResponseWriter) error

type GetWebMCPTools404JSONResponse

type GetWebMCPTools404JSONResponse struct{ NotFoundErrorJSONResponse }

func (GetWebMCPTools404JSONResponse) VisitGetWebMCPToolsResponse

func (response GetWebMCPTools404JSONResponse) VisitGetWebMCPToolsResponse(w http.ResponseWriter) error

type GetWebMCPTools500JSONResponse

type GetWebMCPTools500JSONResponse struct{ InternalErrorJSONResponse }

func (GetWebMCPTools500JSONResponse) VisitGetWebMCPToolsResponse

func (response GetWebMCPTools500JSONResponse) VisitGetWebMCPToolsResponse(w http.ResponseWriter) error

type GetWebMCPToolsRequestObject

type GetWebMCPToolsRequestObject struct {
}

type GetWebMCPToolsResponse

type GetWebMCPToolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebMCPToolsResponse
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseGetWebMCPToolsResponse

func ParseGetWebMCPToolsResponse(rsp *http.Response) (*GetWebMCPToolsResponse, error)

ParseGetWebMCPToolsResponse parses an HTTP response from a GetWebMCPToolsWithResponse call

func (GetWebMCPToolsResponse) Status

func (r GetWebMCPToolsResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebMCPToolsResponse) StatusCode

func (r GetWebMCPToolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebMCPToolsResponseObject

type GetWebMCPToolsResponseObject interface {
	VisitGetWebMCPToolsResponse(w http.ResponseWriter) error
}

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InternalError

type InternalError = Error

InternalError defines model for InternalError.

type InternalErrorJSONResponse

type InternalErrorJSONResponse Error

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type InvokeWebMCPTool200JSONResponse

type InvokeWebMCPTool200JSONResponse WebMCPInvocationResult

func (InvokeWebMCPTool200JSONResponse) VisitInvokeWebMCPToolResponse

func (response InvokeWebMCPTool200JSONResponse) VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error

type InvokeWebMCPTool400JSONResponse

type InvokeWebMCPTool400JSONResponse struct{ BadRequestErrorJSONResponse }

func (InvokeWebMCPTool400JSONResponse) VisitInvokeWebMCPToolResponse

func (response InvokeWebMCPTool400JSONResponse) VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error

type InvokeWebMCPTool404JSONResponse

type InvokeWebMCPTool404JSONResponse struct{ NotFoundErrorJSONResponse }

func (InvokeWebMCPTool404JSONResponse) VisitInvokeWebMCPToolResponse

func (response InvokeWebMCPTool404JSONResponse) VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error

type InvokeWebMCPTool500JSONResponse

type InvokeWebMCPTool500JSONResponse struct{ InternalErrorJSONResponse }

func (InvokeWebMCPTool500JSONResponse) VisitInvokeWebMCPToolResponse

func (response InvokeWebMCPTool500JSONResponse) VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error

type InvokeWebMCPTool504JSONResponse

type InvokeWebMCPTool504JSONResponse WebMCPInvocationFailure

func (InvokeWebMCPTool504JSONResponse) VisitInvokeWebMCPToolResponse

func (response InvokeWebMCPTool504JSONResponse) VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error

type InvokeWebMCPToolJSONRequestBody

type InvokeWebMCPToolJSONRequestBody = WebMCPInvokeRequest

InvokeWebMCPToolJSONRequestBody defines body for InvokeWebMCPTool for application/json ContentType.

type InvokeWebMCPToolRequestObject

type InvokeWebMCPToolRequestObject struct {
	Body *InvokeWebMCPToolJSONRequestBody
}

type InvokeWebMCPToolResponse

type InvokeWebMCPToolResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebMCPInvocationResult
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
	JSON504      *WebMCPInvocationFailure
}

func ParseInvokeWebMCPToolResponse

func ParseInvokeWebMCPToolResponse(rsp *http.Response) (*InvokeWebMCPToolResponse, error)

ParseInvokeWebMCPToolResponse parses an HTTP response from a InvokeWebMCPToolWithResponse call

func (InvokeWebMCPToolResponse) Status

func (r InvokeWebMCPToolResponse) Status() string

Status returns HTTPResponse.Status

func (InvokeWebMCPToolResponse) StatusCode

func (r InvokeWebMCPToolResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InvokeWebMCPToolResponseObject

type InvokeWebMCPToolResponseObject interface {
	VisitInvokeWebMCPToolResponse(w http.ResponseWriter) error
}

type KnownBrowserTelemetryEvent

type KnownBrowserTelemetryEvent struct {
	// contains filtered or unexported fields
}

KnownBrowserTelemetryEvent Discriminated union of browser telemetry events emitted by the Kernel image. This is a structural taxonomy: any event on the telemetry stream whose `data` conforms to one of the variants below (selected by `type`) is a `KnownBrowserTelemetryEvent`, regardless of who published it. Caller-published events via POST /telemetry/events are not constrained to this union; see `TelemetryEvent` for the wire shape. Validation of caller payloads against this taxonomy is the consumer's responsibility.

func (KnownBrowserTelemetryEvent) AsBrowserApiCallEvent

func (t KnownBrowserTelemetryEvent) AsBrowserApiCallEvent() (BrowserApiCallEvent, error)

AsBrowserApiCallEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserApiCallEvent

func (KnownBrowserTelemetryEvent) AsBrowserCaptchaChallengeResultEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCaptchaChallengeResultEvent() (BrowserCaptchaChallengeResultEvent, error)

AsBrowserCaptchaChallengeResultEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCaptchaChallengeResultEvent

func (KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveResultEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveResultEvent() (BrowserCaptchaSolveResultEvent, error)

AsBrowserCaptchaSolveResultEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCaptchaSolveResultEvent

func (KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveStartedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveStartedEvent() (BrowserCaptchaSolveStartedEvent, error)

AsBrowserCaptchaSolveStartedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCaptchaSolveStartedEvent

func (KnownBrowserTelemetryEvent) AsBrowserCdpCommandEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCdpCommandEvent() (BrowserCdpCommandEvent, error)

AsBrowserCdpCommandEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCdpCommandEvent

func (KnownBrowserTelemetryEvent) AsBrowserCdpConnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCdpConnectEvent() (BrowserCdpConnectEvent, error)

AsBrowserCdpConnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCdpConnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserCdpDisconnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCdpDisconnectEvent() (BrowserCdpDisconnectEvent, error)

AsBrowserCdpDisconnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCdpDisconnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserConsoleErrorEvent

func (t KnownBrowserTelemetryEvent) AsBrowserConsoleErrorEvent() (BrowserConsoleErrorEvent, error)

AsBrowserConsoleErrorEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserConsoleErrorEvent

func (KnownBrowserTelemetryEvent) AsBrowserConsoleLogEvent

func (t KnownBrowserTelemetryEvent) AsBrowserConsoleLogEvent() (BrowserConsoleLogEvent, error)

AsBrowserConsoleLogEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserConsoleLogEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionClickEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionClickEvent() (BrowserInteractionClickEvent, error)

AsBrowserInteractionClickEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionClickEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionKeyEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionKeyEvent() (BrowserInteractionKeyEvent, error)

AsBrowserInteractionKeyEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionKeyEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionScrollSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionScrollSettledEvent() (BrowserInteractionScrollSettledEvent, error)

AsBrowserInteractionScrollSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionScrollSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserLiveViewConnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserLiveViewConnectEvent() (BrowserLiveViewConnectEvent, error)

AsBrowserLiveViewConnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserLiveViewConnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserLiveViewDisconnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserLiveViewDisconnectEvent() (BrowserLiveViewDisconnectEvent, error)

AsBrowserLiveViewDisconnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserLiveViewDisconnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorDisconnectedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorDisconnectedEvent() (BrowserMonitorDisconnectedEvent, error)

AsBrowserMonitorDisconnectedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorDisconnectedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorInitFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorInitFailedEvent() (BrowserMonitorInitFailedEvent, error)

AsBrowserMonitorInitFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorInitFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectFailedEvent() (BrowserMonitorReconnectFailedEvent, error)

AsBrowserMonitorReconnectFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorReconnectFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectedEvent() (BrowserMonitorReconnectedEvent, error)

AsBrowserMonitorReconnectedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorReconnectedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorScreenshotEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorScreenshotEvent() (BrowserMonitorScreenshotEvent, error)

AsBrowserMonitorScreenshotEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorScreenshotEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkIdleEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkIdleEvent() (BrowserNetworkIdleEvent, error)

AsBrowserNetworkIdleEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkIdleEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkLoadingFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkLoadingFailedEvent() (BrowserNetworkLoadingFailedEvent, error)

AsBrowserNetworkLoadingFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkLoadingFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkRequestEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkRequestEvent() (BrowserNetworkRequestEvent, error)

AsBrowserNetworkRequestEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkRequestEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkResponseEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkResponseEvent() (BrowserNetworkResponseEvent, error)

AsBrowserNetworkResponseEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkResponseEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageCrashedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageCrashedEvent() (BrowserPageCrashedEvent, error)

AsBrowserPageCrashedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageCrashedEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageDomContentLoadedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageDomContentLoadedEvent() (BrowserPageDomContentLoadedEvent, error)

AsBrowserPageDomContentLoadedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageDomContentLoadedEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLayoutSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLayoutSettledEvent() (BrowserPageLayoutSettledEvent, error)

AsBrowserPageLayoutSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLayoutSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLayoutShiftEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLayoutShiftEvent() (BrowserPageLayoutShiftEvent, error)

AsBrowserPageLayoutShiftEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLayoutShiftEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLcpEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLcpEvent() (BrowserPageLcpEvent, error)

AsBrowserPageLcpEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLcpEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLoadEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLoadEvent() (BrowserPageLoadEvent, error)

AsBrowserPageLoadEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLoadEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageNavigationEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageNavigationEvent() (BrowserPageNavigationEvent, error)

AsBrowserPageNavigationEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageNavigationEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageNavigationSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageNavigationSettledEvent() (BrowserPageNavigationSettledEvent, error)

AsBrowserPageNavigationSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageNavigationSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageTabOpenedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageTabOpenedEvent() (BrowserPageTabOpenedEvent, error)

AsBrowserPageTabOpenedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageTabOpenedEvent

func (KnownBrowserTelemetryEvent) AsBrowserPlatformApiCallEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPlatformApiCallEvent() (BrowserPlatformApiCallEvent, error)

AsBrowserPlatformApiCallEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPlatformApiCallEvent

func (KnownBrowserTelemetryEvent) AsBrowserProxyErrorEvent

func (t KnownBrowserTelemetryEvent) AsBrowserProxyErrorEvent() (BrowserProxyErrorEvent, error)

AsBrowserProxyErrorEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserProxyErrorEvent

func (KnownBrowserTelemetryEvent) AsBrowserServiceCrashedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserServiceCrashedEvent() (BrowserServiceCrashedEvent, error)

AsBrowserServiceCrashedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserServiceCrashedEvent

func (KnownBrowserTelemetryEvent) AsBrowserSystemOomKillEvent

func (t KnownBrowserTelemetryEvent) AsBrowserSystemOomKillEvent() (BrowserSystemOomKillEvent, error)

AsBrowserSystemOomKillEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserSystemOomKillEvent

func (KnownBrowserTelemetryEvent) Discriminator

func (t KnownBrowserTelemetryEvent) Discriminator() (string, error)

func (*KnownBrowserTelemetryEvent) FromBrowserApiCallEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserApiCallEvent(v BrowserApiCallEvent) error

FromBrowserApiCallEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserApiCallEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCaptchaChallengeResultEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCaptchaChallengeResultEvent(v BrowserCaptchaChallengeResultEvent) error

FromBrowserCaptchaChallengeResultEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCaptchaChallengeResultEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveResultEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveResultEvent(v BrowserCaptchaSolveResultEvent) error

FromBrowserCaptchaSolveResultEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCaptchaSolveResultEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveStartedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveStartedEvent(v BrowserCaptchaSolveStartedEvent) error

FromBrowserCaptchaSolveStartedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCaptchaSolveStartedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCdpCommandEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCdpCommandEvent(v BrowserCdpCommandEvent) error

FromBrowserCdpCommandEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCdpCommandEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCdpConnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCdpConnectEvent(v BrowserCdpConnectEvent) error

FromBrowserCdpConnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCdpConnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCdpDisconnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCdpDisconnectEvent(v BrowserCdpDisconnectEvent) error

FromBrowserCdpDisconnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCdpDisconnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserConsoleErrorEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserConsoleErrorEvent(v BrowserConsoleErrorEvent) error

FromBrowserConsoleErrorEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserConsoleErrorEvent

func (*KnownBrowserTelemetryEvent) FromBrowserConsoleLogEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserConsoleLogEvent(v BrowserConsoleLogEvent) error

FromBrowserConsoleLogEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserConsoleLogEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionClickEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionClickEvent(v BrowserInteractionClickEvent) error

FromBrowserInteractionClickEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionClickEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionKeyEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionKeyEvent(v BrowserInteractionKeyEvent) error

FromBrowserInteractionKeyEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionKeyEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionScrollSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionScrollSettledEvent(v BrowserInteractionScrollSettledEvent) error

FromBrowserInteractionScrollSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionScrollSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserLiveViewConnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserLiveViewConnectEvent(v BrowserLiveViewConnectEvent) error

FromBrowserLiveViewConnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserLiveViewConnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserLiveViewDisconnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserLiveViewDisconnectEvent(v BrowserLiveViewDisconnectEvent) error

FromBrowserLiveViewDisconnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserLiveViewDisconnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorDisconnectedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorDisconnectedEvent(v BrowserMonitorDisconnectedEvent) error

FromBrowserMonitorDisconnectedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorDisconnectedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorInitFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorInitFailedEvent(v BrowserMonitorInitFailedEvent) error

FromBrowserMonitorInitFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorInitFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectFailedEvent(v BrowserMonitorReconnectFailedEvent) error

FromBrowserMonitorReconnectFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorReconnectFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectedEvent(v BrowserMonitorReconnectedEvent) error

FromBrowserMonitorReconnectedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorReconnectedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorScreenshotEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorScreenshotEvent(v BrowserMonitorScreenshotEvent) error

FromBrowserMonitorScreenshotEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorScreenshotEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkIdleEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkIdleEvent(v BrowserNetworkIdleEvent) error

FromBrowserNetworkIdleEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkIdleEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkLoadingFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkLoadingFailedEvent(v BrowserNetworkLoadingFailedEvent) error

FromBrowserNetworkLoadingFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkLoadingFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkRequestEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkRequestEvent(v BrowserNetworkRequestEvent) error

FromBrowserNetworkRequestEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkRequestEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkResponseEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkResponseEvent(v BrowserNetworkResponseEvent) error

FromBrowserNetworkResponseEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkResponseEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageCrashedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageCrashedEvent(v BrowserPageCrashedEvent) error

FromBrowserPageCrashedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageCrashedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageDomContentLoadedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageDomContentLoadedEvent(v BrowserPageDomContentLoadedEvent) error

FromBrowserPageDomContentLoadedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageDomContentLoadedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLayoutSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLayoutSettledEvent(v BrowserPageLayoutSettledEvent) error

FromBrowserPageLayoutSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLayoutSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLayoutShiftEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLayoutShiftEvent(v BrowserPageLayoutShiftEvent) error

FromBrowserPageLayoutShiftEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLayoutShiftEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLcpEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLcpEvent(v BrowserPageLcpEvent) error

FromBrowserPageLcpEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLcpEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLoadEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLoadEvent(v BrowserPageLoadEvent) error

FromBrowserPageLoadEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLoadEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageNavigationEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageNavigationEvent(v BrowserPageNavigationEvent) error

FromBrowserPageNavigationEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageNavigationEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageNavigationSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageNavigationSettledEvent(v BrowserPageNavigationSettledEvent) error

FromBrowserPageNavigationSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageNavigationSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageTabOpenedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageTabOpenedEvent(v BrowserPageTabOpenedEvent) error

FromBrowserPageTabOpenedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageTabOpenedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPlatformApiCallEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPlatformApiCallEvent(v BrowserPlatformApiCallEvent) error

FromBrowserPlatformApiCallEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPlatformApiCallEvent

func (*KnownBrowserTelemetryEvent) FromBrowserProxyErrorEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserProxyErrorEvent(v BrowserProxyErrorEvent) error

FromBrowserProxyErrorEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserProxyErrorEvent

func (*KnownBrowserTelemetryEvent) FromBrowserServiceCrashedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserServiceCrashedEvent(v BrowserServiceCrashedEvent) error

FromBrowserServiceCrashedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserServiceCrashedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserSystemOomKillEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserSystemOomKillEvent(v BrowserSystemOomKillEvent) error

FromBrowserSystemOomKillEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserSystemOomKillEvent

func (KnownBrowserTelemetryEvent) MarshalJSON

func (t KnownBrowserTelemetryEvent) MarshalJSON() ([]byte, error)

func (*KnownBrowserTelemetryEvent) MergeBrowserApiCallEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserApiCallEvent(v BrowserApiCallEvent) error

MergeBrowserApiCallEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserApiCallEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCaptchaChallengeResultEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCaptchaChallengeResultEvent(v BrowserCaptchaChallengeResultEvent) error

MergeBrowserCaptchaChallengeResultEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCaptchaChallengeResultEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveResultEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveResultEvent(v BrowserCaptchaSolveResultEvent) error

MergeBrowserCaptchaSolveResultEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCaptchaSolveResultEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveStartedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveStartedEvent(v BrowserCaptchaSolveStartedEvent) error

MergeBrowserCaptchaSolveStartedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCaptchaSolveStartedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCdpCommandEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCdpCommandEvent(v BrowserCdpCommandEvent) error

MergeBrowserCdpCommandEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCdpCommandEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCdpConnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCdpConnectEvent(v BrowserCdpConnectEvent) error

MergeBrowserCdpConnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCdpConnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCdpDisconnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCdpDisconnectEvent(v BrowserCdpDisconnectEvent) error

MergeBrowserCdpDisconnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCdpDisconnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserConsoleErrorEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserConsoleErrorEvent(v BrowserConsoleErrorEvent) error

MergeBrowserConsoleErrorEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserConsoleErrorEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserConsoleLogEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserConsoleLogEvent(v BrowserConsoleLogEvent) error

MergeBrowserConsoleLogEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserConsoleLogEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionClickEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionClickEvent(v BrowserInteractionClickEvent) error

MergeBrowserInteractionClickEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionClickEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionKeyEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionKeyEvent(v BrowserInteractionKeyEvent) error

MergeBrowserInteractionKeyEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionKeyEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionScrollSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionScrollSettledEvent(v BrowserInteractionScrollSettledEvent) error

MergeBrowserInteractionScrollSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionScrollSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserLiveViewConnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserLiveViewConnectEvent(v BrowserLiveViewConnectEvent) error

MergeBrowserLiveViewConnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserLiveViewConnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserLiveViewDisconnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserLiveViewDisconnectEvent(v BrowserLiveViewDisconnectEvent) error

MergeBrowserLiveViewDisconnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserLiveViewDisconnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorDisconnectedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorDisconnectedEvent(v BrowserMonitorDisconnectedEvent) error

MergeBrowserMonitorDisconnectedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorDisconnectedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorInitFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorInitFailedEvent(v BrowserMonitorInitFailedEvent) error

MergeBrowserMonitorInitFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorInitFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectFailedEvent(v BrowserMonitorReconnectFailedEvent) error

MergeBrowserMonitorReconnectFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorReconnectFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectedEvent(v BrowserMonitorReconnectedEvent) error

MergeBrowserMonitorReconnectedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorReconnectedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorScreenshotEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorScreenshotEvent(v BrowserMonitorScreenshotEvent) error

MergeBrowserMonitorScreenshotEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorScreenshotEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkIdleEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkIdleEvent(v BrowserNetworkIdleEvent) error

MergeBrowserNetworkIdleEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkIdleEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkLoadingFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkLoadingFailedEvent(v BrowserNetworkLoadingFailedEvent) error

MergeBrowserNetworkLoadingFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkLoadingFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkRequestEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkRequestEvent(v BrowserNetworkRequestEvent) error

MergeBrowserNetworkRequestEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkRequestEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkResponseEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkResponseEvent(v BrowserNetworkResponseEvent) error

MergeBrowserNetworkResponseEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkResponseEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageCrashedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageCrashedEvent(v BrowserPageCrashedEvent) error

MergeBrowserPageCrashedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageCrashedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageDomContentLoadedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageDomContentLoadedEvent(v BrowserPageDomContentLoadedEvent) error

MergeBrowserPageDomContentLoadedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageDomContentLoadedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLayoutSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLayoutSettledEvent(v BrowserPageLayoutSettledEvent) error

MergeBrowserPageLayoutSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLayoutSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLayoutShiftEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLayoutShiftEvent(v BrowserPageLayoutShiftEvent) error

MergeBrowserPageLayoutShiftEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLayoutShiftEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLcpEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLcpEvent(v BrowserPageLcpEvent) error

MergeBrowserPageLcpEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLcpEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLoadEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLoadEvent(v BrowserPageLoadEvent) error

MergeBrowserPageLoadEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLoadEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageNavigationEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageNavigationEvent(v BrowserPageNavigationEvent) error

MergeBrowserPageNavigationEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageNavigationEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageNavigationSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageNavigationSettledEvent(v BrowserPageNavigationSettledEvent) error

MergeBrowserPageNavigationSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageNavigationSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageTabOpenedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageTabOpenedEvent(v BrowserPageTabOpenedEvent) error

MergeBrowserPageTabOpenedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageTabOpenedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPlatformApiCallEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPlatformApiCallEvent(v BrowserPlatformApiCallEvent) error

MergeBrowserPlatformApiCallEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPlatformApiCallEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserProxyErrorEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserProxyErrorEvent(v BrowserProxyErrorEvent) error

MergeBrowserProxyErrorEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserProxyErrorEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserServiceCrashedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserServiceCrashedEvent(v BrowserServiceCrashedEvent) error

MergeBrowserServiceCrashedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserServiceCrashedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserSystemOomKillEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserSystemOomKillEvent(v BrowserSystemOomKillEvent) error

MergeBrowserSystemOomKillEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserSystemOomKillEvent

func (*KnownBrowserTelemetryEvent) UnmarshalJSON

func (t *KnownBrowserTelemetryEvent) UnmarshalJSON(b []byte) error

func (KnownBrowserTelemetryEvent) ValueByDiscriminator

func (t KnownBrowserTelemetryEvent) ValueByDiscriminator() (interface{}, error)

type ListFiles

type ListFiles = []FileInfo

ListFiles Array of file or directory information entries.

type ListFiles200JSONResponse

type ListFiles200JSONResponse ListFiles

func (ListFiles200JSONResponse) VisitListFilesResponse

func (response ListFiles200JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error

type ListFiles400JSONResponse

type ListFiles400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ListFiles400JSONResponse) VisitListFilesResponse

func (response ListFiles400JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error

type ListFiles404JSONResponse

type ListFiles404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ListFiles404JSONResponse) VisitListFilesResponse

func (response ListFiles404JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error

type ListFiles500JSONResponse

type ListFiles500JSONResponse struct{ InternalErrorJSONResponse }

func (ListFiles500JSONResponse) VisitListFilesResponse

func (response ListFiles500JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error

type ListFilesParams

type ListFilesParams struct {
	// Path Absolute directory path.
	Path string `form:"path" json:"path"`
}

ListFilesParams defines parameters for ListFiles.

type ListFilesRequestObject

type ListFilesRequestObject struct {
	Params ListFilesParams
}

type ListFilesResponse

type ListFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListFiles
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseListFilesResponse

func ParseListFilesResponse(rsp *http.Response) (*ListFilesResponse, error)

ParseListFilesResponse parses an HTTP response from a ListFilesWithResponse call

func (ListFilesResponse) Status

func (r ListFilesResponse) Status() string

Status returns HTTPResponse.Status

func (ListFilesResponse) StatusCode

func (r ListFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFilesResponseObject

type ListFilesResponseObject interface {
	VisitListFilesResponse(w http.ResponseWriter) error
}

type ListRecorders200JSONResponse

type ListRecorders200JSONResponse []RecorderInfo

func (ListRecorders200JSONResponse) VisitListRecordersResponse

func (response ListRecorders200JSONResponse) VisitListRecordersResponse(w http.ResponseWriter) error

type ListRecorders500JSONResponse

type ListRecorders500JSONResponse struct{ InternalErrorJSONResponse }

func (ListRecorders500JSONResponse) VisitListRecordersResponse

func (response ListRecorders500JSONResponse) VisitListRecordersResponse(w http.ResponseWriter) error

type ListRecordersRequestObject

type ListRecordersRequestObject struct {
}

type ListRecordersResponse

type ListRecordersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RecorderInfo
	JSON500      *InternalError
}

func ParseListRecordersResponse

func ParseListRecordersResponse(rsp *http.Response) (*ListRecordersResponse, error)

ParseListRecordersResponse parses an HTTP response from a ListRecordersWithResponse call

func (ListRecordersResponse) Status

func (r ListRecordersResponse) Status() string

Status returns HTTPResponse.Status

func (ListRecordersResponse) StatusCode

func (r ListRecordersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRecordersResponseObject

type ListRecordersResponseObject interface {
	VisitListRecordersResponse(w http.ResponseWriter) error
}

type LogEvent

type LogEvent struct {
	// Message Log message text.
	Message string `json:"message"`

	// Timestamp Time the log entry was produced.
	Timestamp time.Time `json:"timestamp"`
}

LogEvent A log entry from the application.

type LogsStream200ResponseHeaders

type LogsStream200ResponseHeaders struct {
	XSSEContentType string
}

type LogsStream200TexteventStreamResponse

type LogsStream200TexteventStreamResponse struct {
	Body          io.Reader
	Headers       LogsStream200ResponseHeaders
	ContentLength int64
}

func (LogsStream200TexteventStreamResponse) VisitLogsStreamResponse

func (response LogsStream200TexteventStreamResponse) VisitLogsStreamResponse(w http.ResponseWriter) error

type LogsStreamParams

type LogsStreamParams struct {
	Source LogsStreamParamsSource `form:"source" json:"source"`
	Follow *bool                  `form:"follow,omitempty" json:"follow,omitempty"`

	// Path only required if source is path
	Path *string `form:"path,omitempty" json:"path,omitempty"`

	// SupervisorProcess only required if source is supervisor
	SupervisorProcess *string `form:"supervisor_process,omitempty" json:"supervisor_process,omitempty"`
}

LogsStreamParams defines parameters for LogsStream.

type LogsStreamParamsSource

type LogsStreamParamsSource string

LogsStreamParamsSource defines parameters for LogsStream.

const (
	Path       LogsStreamParamsSource = "path"
	Supervisor LogsStreamParamsSource = "supervisor"
)

Defines values for LogsStreamParamsSource.

func (LogsStreamParamsSource) Valid

func (e LogsStreamParamsSource) Valid() bool

Valid indicates whether the value is a known member of the LogsStreamParamsSource enum.

type LogsStreamRequestObject

type LogsStreamRequestObject struct {
	Params LogsStreamParams
}

type LogsStreamResponse

type LogsStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseLogsStreamResponse

func ParseLogsStreamResponse(rsp *http.Response) (*LogsStreamResponse, error)

ParseLogsStreamResponse parses an HTTP response from a LogsStreamWithResponse call

func (LogsStreamResponse) Status

func (r LogsStreamResponse) Status() string

Status returns HTTPResponse.Status

func (LogsStreamResponse) StatusCode

func (r LogsStreamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogsStreamResponseObject

type LogsStreamResponseObject interface {
	VisitLogsStreamResponse(w http.ResponseWriter) error
}

type MarkRecording201JSONResponse

type MarkRecording201JSONResponse MarkRecordingResult

func (MarkRecording201JSONResponse) VisitMarkRecordingResponse

func (response MarkRecording201JSONResponse) VisitMarkRecordingResponse(w http.ResponseWriter) error

type MarkRecording400JSONResponse

type MarkRecording400JSONResponse struct{ BadRequestErrorJSONResponse }

func (MarkRecording400JSONResponse) VisitMarkRecordingResponse

func (response MarkRecording400JSONResponse) VisitMarkRecordingResponse(w http.ResponseWriter) error

type MarkRecording404JSONResponse

type MarkRecording404JSONResponse struct{ NotFoundErrorJSONResponse }

func (MarkRecording404JSONResponse) VisitMarkRecordingResponse

func (response MarkRecording404JSONResponse) VisitMarkRecordingResponse(w http.ResponseWriter) error

type MarkRecording409JSONResponse

type MarkRecording409JSONResponse struct{ ConflictErrorJSONResponse }

func (MarkRecording409JSONResponse) VisitMarkRecordingResponse

func (response MarkRecording409JSONResponse) VisitMarkRecordingResponse(w http.ResponseWriter) error

type MarkRecording500JSONResponse

type MarkRecording500JSONResponse struct{ InternalErrorJSONResponse }

func (MarkRecording500JSONResponse) VisitMarkRecordingResponse

func (response MarkRecording500JSONResponse) VisitMarkRecordingResponse(w http.ResponseWriter) error

type MarkRecordingJSONRequestBody

type MarkRecordingJSONRequestBody = MarkRecordingRequest

MarkRecordingJSONRequestBody defines body for MarkRecording for application/json ContentType.

type MarkRecordingRequest

type MarkRecordingRequest struct {
	// Id Identifier of the recording session to mark, as passed to /recording/start. Alphanumeric or hyphen. When omitted, the marker is added to the default recording session.
	Id *string `json:"id,omitempty"`

	// Name Name of the marker, used as the MP4 chapter title.
	Name string `json:"name"`
}

MarkRecordingRequest defines model for MarkRecordingRequest.

type MarkRecordingRequestObject

type MarkRecordingRequestObject struct {
	Body *MarkRecordingJSONRequestBody
}

type MarkRecordingResponse

type MarkRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *MarkRecordingResult
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON409      *ConflictError
	JSON500      *InternalError
}

func ParseMarkRecordingResponse

func ParseMarkRecordingResponse(rsp *http.Response) (*MarkRecordingResponse, error)

ParseMarkRecordingResponse parses an HTTP response from a MarkRecordingWithResponse call

func (MarkRecordingResponse) Status

func (r MarkRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (MarkRecordingResponse) StatusCode

func (r MarkRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MarkRecordingResponseObject

type MarkRecordingResponseObject interface {
	VisitMarkRecordingResponse(w http.ResponseWriter) error
}

type MarkRecordingResult

type MarkRecordingResult struct {
	// Name Name of the recorded marker.
	Name string `json:"name"`

	// OffsetMs Provisional offset of the marker from the recording start, in milliseconds, measured against the start time at mark time. The authoritative offset is the chapter start written at finalize.
	OffsetMs int64 `json:"offset_ms"`
}

MarkRecordingResult defines model for MarkRecordingResult.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MousePositionResponse

type MousePositionResponse struct {
	// X X coordinate of the cursor
	X int `json:"x"`

	// Y Y coordinate of the cursor
	Y int `json:"y"`
}

MousePositionResponse defines model for MousePositionResponse.

type MoveMouse200Response

type MoveMouse200Response struct {
}

func (MoveMouse200Response) VisitMoveMouseResponse

func (response MoveMouse200Response) VisitMoveMouseResponse(w http.ResponseWriter) error

type MoveMouse400JSONResponse

type MoveMouse400JSONResponse struct{ BadRequestErrorJSONResponse }

func (MoveMouse400JSONResponse) VisitMoveMouseResponse

func (response MoveMouse400JSONResponse) VisitMoveMouseResponse(w http.ResponseWriter) error

type MoveMouse500JSONResponse

type MoveMouse500JSONResponse struct{ InternalErrorJSONResponse }

func (MoveMouse500JSONResponse) VisitMoveMouseResponse

func (response MoveMouse500JSONResponse) VisitMoveMouseResponse(w http.ResponseWriter) error

type MoveMouseJSONRequestBody

type MoveMouseJSONRequestBody = MoveMouseRequest

MoveMouseJSONRequestBody defines body for MoveMouse for application/json ContentType.

type MoveMouseRequest

type MoveMouseRequest struct {
	// DurationMs Target total duration in milliseconds for the mouse movement when smooth=true. Omit for automatic timing based on distance.
	DurationMs *int `json:"duration_ms,omitempty"`

	// HoldKeys Modifier keys to hold during the move
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// Smooth Use human-like Bezier curve path instead of instant mouse movement.
	Smooth *bool `json:"smooth,omitempty"`

	// X X coordinate to move the cursor to
	X int `json:"x"`

	// Y Y coordinate to move the cursor to
	Y int `json:"y"`
}

MoveMouseRequest defines model for MoveMouseRequest.

type MoveMouseRequestObject

type MoveMouseRequestObject struct {
	Body *MoveMouseJSONRequestBody
}

type MoveMouseResponse

type MoveMouseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseMoveMouseResponse

func ParseMoveMouseResponse(rsp *http.Response) (*MoveMouseResponse, error)

ParseMoveMouseResponse parses an HTTP response from a MoveMouseWithResponse call

func (MoveMouseResponse) Status

func (r MoveMouseResponse) Status() string

Status returns HTTPResponse.Status

func (MoveMouseResponse) StatusCode

func (r MoveMouseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MoveMouseResponseObject

type MoveMouseResponseObject interface {
	VisitMoveMouseResponse(w http.ResponseWriter) error
}

type MovePath200Response

type MovePath200Response struct {
}

func (MovePath200Response) VisitMovePathResponse

func (response MovePath200Response) VisitMovePathResponse(w http.ResponseWriter) error

type MovePath400JSONResponse

type MovePath400JSONResponse struct{ BadRequestErrorJSONResponse }

func (MovePath400JSONResponse) VisitMovePathResponse

func (response MovePath400JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error

type MovePath404JSONResponse

type MovePath404JSONResponse struct{ NotFoundErrorJSONResponse }

func (MovePath404JSONResponse) VisitMovePathResponse

func (response MovePath404JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error

type MovePath500JSONResponse

type MovePath500JSONResponse struct{ InternalErrorJSONResponse }

func (MovePath500JSONResponse) VisitMovePathResponse

func (response MovePath500JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error

type MovePathJSONRequestBody

type MovePathJSONRequestBody = MovePathRequest

MovePathJSONRequestBody defines body for MovePath for application/json ContentType.

type MovePathRequest

type MovePathRequest struct {
	// DestPath Absolute destination path.
	DestPath string `json:"dest_path"`

	// SrcPath Absolute source path.
	SrcPath string `json:"src_path"`
}

MovePathRequest defines model for MovePathRequest.

type MovePathRequestObject

type MovePathRequestObject struct {
	Body *MovePathJSONRequestBody
}

type MovePathResponse

type MovePathResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseMovePathResponse

func ParseMovePathResponse(rsp *http.Response) (*MovePathResponse, error)

ParseMovePathResponse parses an HTTP response from a MovePathWithResponse call

func (MovePathResponse) Status

func (r MovePathResponse) Status() string

Status returns HTTPResponse.Status

func (MovePathResponse) StatusCode

func (r MovePathResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MovePathResponseObject

type MovePathResponseObject interface {
	VisitMovePathResponse(w http.ResponseWriter) error
}

type NotFoundError

type NotFoundError = Error

NotFoundError defines model for NotFoundError.

type NotFoundErrorJSONResponse

type NotFoundErrorJSONResponse Error

type OkResponse

type OkResponse struct {
	// Ok Indicates success.
	Ok bool `json:"ok"`
}

OkResponse Generic OK response.

type PatchChromiumFlags200Response

type PatchChromiumFlags200Response struct {
}

func (PatchChromiumFlags200Response) VisitPatchChromiumFlagsResponse

func (response PatchChromiumFlags200Response) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error

type PatchChromiumFlags400JSONResponse

type PatchChromiumFlags400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchChromiumFlags400JSONResponse) VisitPatchChromiumFlagsResponse

func (response PatchChromiumFlags400JSONResponse) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error

type PatchChromiumFlags500JSONResponse

type PatchChromiumFlags500JSONResponse struct{ InternalErrorJSONResponse }

func (PatchChromiumFlags500JSONResponse) VisitPatchChromiumFlagsResponse

func (response PatchChromiumFlags500JSONResponse) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error

type PatchChromiumFlagsJSONBody

type PatchChromiumFlagsJSONBody struct {
	// Flags Chromium flags to merge (e.g., ["--kiosk", "--disable-gpu"])
	Flags []string `json:"flags"`
}

PatchChromiumFlagsJSONBody defines parameters for PatchChromiumFlags.

type PatchChromiumFlagsJSONRequestBody

type PatchChromiumFlagsJSONRequestBody PatchChromiumFlagsJSONBody

PatchChromiumFlagsJSONRequestBody defines body for PatchChromiumFlags for application/json ContentType.

type PatchChromiumFlagsRequestObject

type PatchChromiumFlagsRequestObject struct {
	Body *PatchChromiumFlagsJSONRequestBody
}

type PatchChromiumFlagsResponse

type PatchChromiumFlagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePatchChromiumFlagsResponse

func ParsePatchChromiumFlagsResponse(rsp *http.Response) (*PatchChromiumFlagsResponse, error)

ParsePatchChromiumFlagsResponse parses an HTTP response from a PatchChromiumFlagsWithResponse call

func (PatchChromiumFlagsResponse) Status

Status returns HTTPResponse.Status

func (PatchChromiumFlagsResponse) StatusCode

func (r PatchChromiumFlagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchChromiumFlagsResponseObject

type PatchChromiumFlagsResponseObject interface {
	VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error
}

type PatchChromiumPolicies200Response

type PatchChromiumPolicies200Response struct {
}

func (PatchChromiumPolicies200Response) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies200Response) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPolicies400JSONResponse

type PatchChromiumPolicies400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchChromiumPolicies400JSONResponse) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies400JSONResponse) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPolicies500JSONResponse

type PatchChromiumPolicies500JSONResponse struct{ InternalErrorJSONResponse }

func (PatchChromiumPolicies500JSONResponse) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies500JSONResponse) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPoliciesJSONBody

type PatchChromiumPoliciesJSONBody map[string]interface{}

PatchChromiumPoliciesJSONBody defines parameters for PatchChromiumPolicies.

type PatchChromiumPoliciesJSONRequestBody

type PatchChromiumPoliciesJSONRequestBody PatchChromiumPoliciesJSONBody

PatchChromiumPoliciesJSONRequestBody defines body for PatchChromiumPolicies for application/json ContentType.

type PatchChromiumPoliciesRequestObject

type PatchChromiumPoliciesRequestObject struct {
	Body *PatchChromiumPoliciesJSONRequestBody
}

type PatchChromiumPoliciesResponse

type PatchChromiumPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePatchChromiumPoliciesResponse

func ParsePatchChromiumPoliciesResponse(rsp *http.Response) (*PatchChromiumPoliciesResponse, error)

ParsePatchChromiumPoliciesResponse parses an HTTP response from a PatchChromiumPoliciesWithResponse call

func (PatchChromiumPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PatchChromiumPoliciesResponse) StatusCode

func (r PatchChromiumPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchChromiumPoliciesResponseObject

type PatchChromiumPoliciesResponseObject interface {
	VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error
}

type PatchDisplay200JSONResponse

type PatchDisplay200JSONResponse DisplayConfig

func (PatchDisplay200JSONResponse) VisitPatchDisplayResponse

func (response PatchDisplay200JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error

type PatchDisplay400JSONResponse

type PatchDisplay400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchDisplay400JSONResponse) VisitPatchDisplayResponse

func (response PatchDisplay400JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error

type PatchDisplay409JSONResponse

type PatchDisplay409JSONResponse struct{ ConflictErrorJSONResponse }

func (PatchDisplay409JSONResponse) VisitPatchDisplayResponse

func (response PatchDisplay409JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error

type PatchDisplay500JSONResponse

type PatchDisplay500JSONResponse struct{ InternalErrorJSONResponse }

func (PatchDisplay500JSONResponse) VisitPatchDisplayResponse

func (response PatchDisplay500JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error

type PatchDisplayJSONRequestBody

type PatchDisplayJSONRequestBody = PatchDisplayRequest

PatchDisplayJSONRequestBody defines body for PatchDisplay for application/json ContentType.

type PatchDisplayRequest

type PatchDisplayRequest struct {
	// Height Display height in pixels
	Height *int `json:"height,omitempty"`

	// RefreshRate Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.
	RefreshRate *PatchDisplayRequestRefreshRate `json:"refresh_rate,omitempty"`

	// RequireIdle If true, refuse to resize when live view or recording/replay is active.
	RequireIdle *bool `json:"require_idle,omitempty"`

	// RestartChromium If true, restart Chromium after resolution change to ensure it adapts to new size. Default is false for headful, true for headless.
	RestartChromium *bool `json:"restart_chromium,omitempty"`

	// Width Display width in pixels
	Width *int `json:"width,omitempty"`
}

PatchDisplayRequest defines model for PatchDisplayRequest.

type PatchDisplayRequestObject

type PatchDisplayRequestObject struct {
	Body *PatchDisplayJSONRequestBody
}

type PatchDisplayRequestRefreshRate

type PatchDisplayRequestRefreshRate int

PatchDisplayRequestRefreshRate Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.

Defines values for PatchDisplayRequestRefreshRate.

func (PatchDisplayRequestRefreshRate) Valid

Valid indicates whether the value is a known member of the PatchDisplayRequestRefreshRate enum.

type PatchDisplayResponse

type PatchDisplayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DisplayConfig
	JSON400      *BadRequestError
	JSON409      *ConflictError
	JSON500      *InternalError
}

func ParsePatchDisplayResponse

func ParsePatchDisplayResponse(rsp *http.Response) (*PatchDisplayResponse, error)

ParsePatchDisplayResponse parses an HTTP response from a PatchDisplayWithResponse call

func (PatchDisplayResponse) Status

func (r PatchDisplayResponse) Status() string

Status returns HTTPResponse.Status

func (PatchDisplayResponse) StatusCode

func (r PatchDisplayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchDisplayResponseObject

type PatchDisplayResponseObject interface {
	VisitPatchDisplayResponse(w http.ResponseWriter) error
}

type PatchTelemetry200JSONResponse

type PatchTelemetry200JSONResponse TelemetryState

func (PatchTelemetry200JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry200JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetry400JSONResponse

type PatchTelemetry400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchTelemetry400JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry400JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetry404JSONResponse

type PatchTelemetry404JSONResponse struct{ NotFoundErrorJSONResponse }

func (PatchTelemetry404JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry404JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetry500JSONResponse

type PatchTelemetry500JSONResponse struct{ InternalErrorJSONResponse }

func (PatchTelemetry500JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry500JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetryJSONRequestBody

type PatchTelemetryJSONRequestBody = BrowserTelemetryConfig

PatchTelemetryJSONRequestBody defines body for PatchTelemetry for application/json ContentType.

type PatchTelemetryRequestObject

type PatchTelemetryRequestObject struct {
	Body *PatchTelemetryJSONRequestBody
}

type PatchTelemetryResponse

type PatchTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParsePatchTelemetryResponse

func ParsePatchTelemetryResponse(rsp *http.Response) (*PatchTelemetryResponse, error)

ParsePatchTelemetryResponse parses an HTTP response from a PatchTelemetryWithResponse call

func (PatchTelemetryResponse) Status

func (r PatchTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (PatchTelemetryResponse) StatusCode

func (r PatchTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTelemetryResponseObject

type PatchTelemetryResponseObject interface {
	VisitPatchTelemetryResponse(w http.ResponseWriter) error
}

type PressKey200Response

type PressKey200Response struct {
}

func (PressKey200Response) VisitPressKeyResponse

func (response PressKey200Response) VisitPressKeyResponse(w http.ResponseWriter) error

type PressKey400JSONResponse

type PressKey400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PressKey400JSONResponse) VisitPressKeyResponse

func (response PressKey400JSONResponse) VisitPressKeyResponse(w http.ResponseWriter) error

type PressKey500JSONResponse

type PressKey500JSONResponse struct{ InternalErrorJSONResponse }

func (PressKey500JSONResponse) VisitPressKeyResponse

func (response PressKey500JSONResponse) VisitPressKeyResponse(w http.ResponseWriter) error

type PressKeyJSONRequestBody

type PressKeyJSONRequestBody = PressKeyRequest

PressKeyJSONRequestBody defines body for PressKey for application/json ContentType.

type PressKeyRequest

type PressKeyRequest struct {
	// Duration Duration to hold the keys down in milliseconds. If omitted or 0, keys are tapped.
	Duration *int `json:"duration,omitempty"`

	// HoldKeys Optional modifier keys to hold during the key press sequence.
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// Keys List of key symbols to press. Each item should be a key symbol supported by xdotool
	// (see X11 keysym definitions). Examples include "Return", "Shift", "Ctrl", "Alt", "F5".
	// Items in this list could also be combinations, e.g. "Ctrl+t" or "Ctrl+Shift+Tab".
	Keys []string `json:"keys"`
}

PressKeyRequest defines model for PressKeyRequest.

type PressKeyRequestObject

type PressKeyRequestObject struct {
	Body *PressKeyJSONRequestBody
}

type PressKeyResponse

type PressKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePressKeyResponse

func ParsePressKeyResponse(rsp *http.Response) (*PressKeyResponse, error)

ParsePressKeyResponse parses an HTTP response from a PressKeyWithResponse call

func (PressKeyResponse) Status

func (r PressKeyResponse) Status() string

Status returns HTTPResponse.Status

func (PressKeyResponse) StatusCode

func (r PressKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PressKeyResponseObject

type PressKeyResponseObject interface {
	VisitPressKeyResponse(w http.ResponseWriter) error
}

type ProcessExec200JSONResponse

type ProcessExec200JSONResponse ProcessExecResult

func (ProcessExec200JSONResponse) VisitProcessExecResponse

func (response ProcessExec200JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error

type ProcessExec400JSONResponse

type ProcessExec400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessExec400JSONResponse) VisitProcessExecResponse

func (response ProcessExec400JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error

type ProcessExec500JSONResponse

type ProcessExec500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessExec500JSONResponse) VisitProcessExecResponse

func (response ProcessExec500JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error

type ProcessExecJSONRequestBody

type ProcessExecJSONRequestBody = ProcessExecRequest

ProcessExecJSONRequestBody defines body for ProcessExec for application/json ContentType.

type ProcessExecRequest

type ProcessExecRequest struct {
	// Args Command arguments.
	Args *[]string `json:"args,omitempty"`

	// AsRoot Run the process with root privileges.
	AsRoot *bool `json:"as_root,omitempty"`

	// AsUser Run the process as this user.
	AsUser *string `json:"as_user,omitempty"`

	// Command Executable or shell command to run.
	Command string `json:"command"`

	// Cwd Working directory (absolute path) to run the command in.
	Cwd *string `json:"cwd,omitempty"`

	// Env Environment variables to set for the process.
	Env *map[string]string `json:"env,omitempty"`

	// TimeoutSec Maximum execution time in seconds.
	TimeoutSec *int `json:"timeout_sec,omitempty"`
}

ProcessExecRequest Request to execute a command synchronously.

type ProcessExecRequestObject

type ProcessExecRequestObject struct {
	Body *ProcessExecJSONRequestBody
}

type ProcessExecResponse

type ProcessExecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessExecResult
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseProcessExecResponse

func ParseProcessExecResponse(rsp *http.Response) (*ProcessExecResponse, error)

ParseProcessExecResponse parses an HTTP response from a ProcessExecWithResponse call

func (ProcessExecResponse) Status

func (r ProcessExecResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessExecResponse) StatusCode

func (r ProcessExecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessExecResponseObject

type ProcessExecResponseObject interface {
	VisitProcessExecResponse(w http.ResponseWriter) error
}

type ProcessExecResult

type ProcessExecResult struct {
	// DurationMs Execution duration in milliseconds.
	DurationMs *int `json:"duration_ms,omitempty"`

	// ExitCode Process exit code.
	ExitCode *int `json:"exit_code,omitempty"`

	// StderrB64 Base64-encoded stderr buffer.
	StderrB64 *string `json:"stderr_b64,omitempty"`

	// StdoutB64 Base64-encoded stdout buffer.
	StdoutB64 *string `json:"stdout_b64,omitempty"`
}

ProcessExecResult Result of a synchronous command execution.

type ProcessKill200JSONResponse

type ProcessKill200JSONResponse OkResponse

func (ProcessKill200JSONResponse) VisitProcessKillResponse

func (response ProcessKill200JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error

type ProcessKill400JSONResponse

type ProcessKill400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessKill400JSONResponse) VisitProcessKillResponse

func (response ProcessKill400JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error

type ProcessKill404JSONResponse

type ProcessKill404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ProcessKill404JSONResponse) VisitProcessKillResponse

func (response ProcessKill404JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error

type ProcessKill500JSONResponse

type ProcessKill500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessKill500JSONResponse) VisitProcessKillResponse

func (response ProcessKill500JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error

type ProcessKillJSONRequestBody

type ProcessKillJSONRequestBody = ProcessKillRequest

ProcessKillJSONRequestBody defines body for ProcessKill for application/json ContentType.

type ProcessKillRequest

type ProcessKillRequest struct {
	// Signal Signal to send.
	Signal ProcessKillRequestSignal `json:"signal"`
}

ProcessKillRequest Signal to send to the process.

type ProcessKillRequestObject

type ProcessKillRequestObject struct {
	ProcessId openapi_types.UUID `json:"process_id"`
	Body      *ProcessKillJSONRequestBody
}

type ProcessKillRequestSignal

type ProcessKillRequestSignal string

ProcessKillRequestSignal Signal to send.

const (
	HUP  ProcessKillRequestSignal = "HUP"
	INT  ProcessKillRequestSignal = "INT"
	KILL ProcessKillRequestSignal = "KILL"
	TERM ProcessKillRequestSignal = "TERM"
)

Defines values for ProcessKillRequestSignal.

func (ProcessKillRequestSignal) Valid

func (e ProcessKillRequestSignal) Valid() bool

Valid indicates whether the value is a known member of the ProcessKillRequestSignal enum.

type ProcessKillResponse

type ProcessKillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OkResponse
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseProcessKillResponse

func ParseProcessKillResponse(rsp *http.Response) (*ProcessKillResponse, error)

ParseProcessKillResponse parses an HTTP response from a ProcessKillWithResponse call

func (ProcessKillResponse) Status

func (r ProcessKillResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessKillResponse) StatusCode

func (r ProcessKillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessKillResponseObject

type ProcessKillResponseObject interface {
	VisitProcessKillResponse(w http.ResponseWriter) error
}

type ProcessResize200JSONResponse

type ProcessResize200JSONResponse OkResponse

func (ProcessResize200JSONResponse) VisitProcessResizeResponse

func (response ProcessResize200JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error

type ProcessResize400JSONResponse

type ProcessResize400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessResize400JSONResponse) VisitProcessResizeResponse

func (response ProcessResize400JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error

type ProcessResize404JSONResponse

type ProcessResize404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ProcessResize404JSONResponse) VisitProcessResizeResponse

func (response ProcessResize404JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error

type ProcessResize500JSONResponse

type ProcessResize500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessResize500JSONResponse) VisitProcessResizeResponse

func (response ProcessResize500JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error

type ProcessResizeJSONRequestBody

type ProcessResizeJSONRequestBody = ProcessResizeRequest

ProcessResizeJSONRequestBody defines body for ProcessResize for application/json ContentType.

type ProcessResizeRequest

type ProcessResizeRequest struct {
	// Cols New terminal columns.
	Cols int `json:"cols"`

	// Rows New terminal rows.
	Rows int `json:"rows"`
}

ProcessResizeRequest Resize a PTY-backed process.

type ProcessResizeRequestObject

type ProcessResizeRequestObject struct {
	ProcessId openapi_types.UUID `json:"process_id"`
	Body      *ProcessResizeJSONRequestBody
}

type ProcessResizeResponse

type ProcessResizeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OkResponse
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseProcessResizeResponse

func ParseProcessResizeResponse(rsp *http.Response) (*ProcessResizeResponse, error)

ParseProcessResizeResponse parses an HTTP response from a ProcessResizeWithResponse call

func (ProcessResizeResponse) Status

func (r ProcessResizeResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessResizeResponse) StatusCode

func (r ProcessResizeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessResizeResponseObject

type ProcessResizeResponseObject interface {
	VisitProcessResizeResponse(w http.ResponseWriter) error
}

type ProcessSpawn200JSONResponse

type ProcessSpawn200JSONResponse ProcessSpawnResult

func (ProcessSpawn200JSONResponse) VisitProcessSpawnResponse

func (response ProcessSpawn200JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error

type ProcessSpawn400JSONResponse

type ProcessSpawn400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessSpawn400JSONResponse) VisitProcessSpawnResponse

func (response ProcessSpawn400JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error

type ProcessSpawn500JSONResponse

type ProcessSpawn500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessSpawn500JSONResponse) VisitProcessSpawnResponse

func (response ProcessSpawn500JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error

type ProcessSpawnJSONRequestBody

type ProcessSpawnJSONRequestBody = ProcessSpawnRequest

ProcessSpawnJSONRequestBody defines body for ProcessSpawn for application/json ContentType.

type ProcessSpawnRequest

type ProcessSpawnRequest struct {
	// AllocateTty Allocate a pseudo-terminal (PTY) for the process to enable interactive shells.
	AllocateTty *bool `json:"allocate_tty,omitempty"`

	// Args Command arguments.
	Args *[]string `json:"args,omitempty"`

	// AsRoot Run the process with root privileges.
	AsRoot *bool `json:"as_root,omitempty"`

	// AsUser Run the process as this user.
	AsUser *string `json:"as_user,omitempty"`

	// Cols Initial terminal columns when allocate_tty is true.
	Cols *int `json:"cols,omitempty"`

	// Command Executable or shell command to run.
	Command string `json:"command"`

	// Cwd Working directory (absolute path) to run the command in.
	Cwd *string `json:"cwd,omitempty"`

	// Env Environment variables to set for the process.
	Env *map[string]string `json:"env,omitempty"`

	// Rows Initial terminal rows when allocate_tty is true.
	Rows *int `json:"rows,omitempty"`

	// TimeoutSec Maximum execution time in seconds.
	TimeoutSec *int `json:"timeout_sec,omitempty"`
}

ProcessSpawnRequest defines model for ProcessSpawnRequest.

type ProcessSpawnRequestObject

type ProcessSpawnRequestObject struct {
	Body *ProcessSpawnJSONRequestBody
}

type ProcessSpawnResponse

type ProcessSpawnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessSpawnResult
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseProcessSpawnResponse

func ParseProcessSpawnResponse(rsp *http.Response) (*ProcessSpawnResponse, error)

ParseProcessSpawnResponse parses an HTTP response from a ProcessSpawnWithResponse call

func (ProcessSpawnResponse) Status

func (r ProcessSpawnResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessSpawnResponse) StatusCode

func (r ProcessSpawnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessSpawnResponseObject

type ProcessSpawnResponseObject interface {
	VisitProcessSpawnResponse(w http.ResponseWriter) error
}

type ProcessSpawnResult

type ProcessSpawnResult struct {
	// Pid OS process ID.
	Pid *int `json:"pid,omitempty"`

	// ProcessId Server-assigned identifier for the process.
	ProcessId *openapi_types.UUID `json:"process_id,omitempty"`

	// StartedAt Timestamp when the process started.
	StartedAt *time.Time `json:"started_at,omitempty"`
}

ProcessSpawnResult Information about a spawned process.

type ProcessStatus

type ProcessStatus struct {
	// CpuPct Estimated CPU usage percentage.
	CpuPct *float32 `json:"cpu_pct,omitempty"`

	// ExitCode Exit code if the process has exited.
	ExitCode *int `json:"exit_code,omitempty"`

	// MemBytes Estimated resident memory usage in bytes.
	MemBytes *int `json:"mem_bytes,omitempty"`

	// State Process state.
	State *ProcessStatusState `json:"state,omitempty"`
}

ProcessStatus Current status of a process.

type ProcessStatus200JSONResponse

type ProcessStatus200JSONResponse ProcessStatus

func (ProcessStatus200JSONResponse) VisitProcessStatusResponse

func (response ProcessStatus200JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error

type ProcessStatus400JSONResponse

type ProcessStatus400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessStatus400JSONResponse) VisitProcessStatusResponse

func (response ProcessStatus400JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error

type ProcessStatus404JSONResponse

type ProcessStatus404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ProcessStatus404JSONResponse) VisitProcessStatusResponse

func (response ProcessStatus404JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error

type ProcessStatus500JSONResponse

type ProcessStatus500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessStatus500JSONResponse) VisitProcessStatusResponse

func (response ProcessStatus500JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error

type ProcessStatusRequestObject

type ProcessStatusRequestObject struct {
	ProcessId openapi_types.UUID `json:"process_id"`
}

type ProcessStatusResponse

type ProcessStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessStatus
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseProcessStatusResponse

func ParseProcessStatusResponse(rsp *http.Response) (*ProcessStatusResponse, error)

ParseProcessStatusResponse parses an HTTP response from a ProcessStatusWithResponse call

func (ProcessStatusResponse) Status

func (r ProcessStatusResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessStatusResponse) StatusCode

func (r ProcessStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessStatusResponseObject

type ProcessStatusResponseObject interface {
	VisitProcessStatusResponse(w http.ResponseWriter) error
}

type ProcessStatusState

type ProcessStatusState string

ProcessStatusState Process state.

const (
	ProcessStatusStateExited  ProcessStatusState = "exited"
	ProcessStatusStateRunning ProcessStatusState = "running"
)

Defines values for ProcessStatusState.

func (ProcessStatusState) Valid

func (e ProcessStatusState) Valid() bool

Valid indicates whether the value is a known member of the ProcessStatusState enum.

type ProcessStdin200JSONResponse

type ProcessStdin200JSONResponse ProcessStdinResult

func (ProcessStdin200JSONResponse) VisitProcessStdinResponse

func (response ProcessStdin200JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error

type ProcessStdin400JSONResponse

type ProcessStdin400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessStdin400JSONResponse) VisitProcessStdinResponse

func (response ProcessStdin400JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error

type ProcessStdin404JSONResponse

type ProcessStdin404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ProcessStdin404JSONResponse) VisitProcessStdinResponse

func (response ProcessStdin404JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error

type ProcessStdin500JSONResponse

type ProcessStdin500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessStdin500JSONResponse) VisitProcessStdinResponse

func (response ProcessStdin500JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error

type ProcessStdinJSONRequestBody

type ProcessStdinJSONRequestBody = ProcessStdinRequest

ProcessStdinJSONRequestBody defines body for ProcessStdin for application/json ContentType.

type ProcessStdinRequest

type ProcessStdinRequest struct {
	// DataB64 Base64-encoded data to write.
	DataB64 string `json:"data_b64"`
}

ProcessStdinRequest Data to write to the process standard input.

type ProcessStdinRequestObject

type ProcessStdinRequestObject struct {
	ProcessId openapi_types.UUID `json:"process_id"`
	Body      *ProcessStdinJSONRequestBody
}

type ProcessStdinResponse

type ProcessStdinResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProcessStdinResult
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseProcessStdinResponse

func ParseProcessStdinResponse(rsp *http.Response) (*ProcessStdinResponse, error)

ParseProcessStdinResponse parses an HTTP response from a ProcessStdinWithResponse call

func (ProcessStdinResponse) Status

func (r ProcessStdinResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessStdinResponse) StatusCode

func (r ProcessStdinResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessStdinResponseObject

type ProcessStdinResponseObject interface {
	VisitProcessStdinResponse(w http.ResponseWriter) error
}

type ProcessStdinResult

type ProcessStdinResult struct {
	// WrittenBytes Number of bytes written.
	WrittenBytes *int `json:"written_bytes,omitempty"`
}

ProcessStdinResult Result of writing to stdin.

type ProcessStdoutStream200ResponseHeaders

type ProcessStdoutStream200ResponseHeaders struct {
	XSSEContentType string
}

type ProcessStdoutStream200TexteventStreamResponse

type ProcessStdoutStream200TexteventStreamResponse struct {
	Body          io.Reader
	Headers       ProcessStdoutStream200ResponseHeaders
	ContentLength int64
}

func (ProcessStdoutStream200TexteventStreamResponse) VisitProcessStdoutStreamResponse

func (response ProcessStdoutStream200TexteventStreamResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error

type ProcessStdoutStream400JSONResponse

type ProcessStdoutStream400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ProcessStdoutStream400JSONResponse) VisitProcessStdoutStreamResponse

func (response ProcessStdoutStream400JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error

type ProcessStdoutStream404JSONResponse

type ProcessStdoutStream404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ProcessStdoutStream404JSONResponse) VisitProcessStdoutStreamResponse

func (response ProcessStdoutStream404JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error

type ProcessStdoutStream500JSONResponse

type ProcessStdoutStream500JSONResponse struct{ InternalErrorJSONResponse }

func (ProcessStdoutStream500JSONResponse) VisitProcessStdoutStreamResponse

func (response ProcessStdoutStream500JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error

type ProcessStdoutStreamRequestObject

type ProcessStdoutStreamRequestObject struct {
	ProcessId openapi_types.UUID `json:"process_id"`
}

type ProcessStdoutStreamResponse

type ProcessStdoutStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseProcessStdoutStreamResponse

func ParseProcessStdoutStreamResponse(rsp *http.Response) (*ProcessStdoutStreamResponse, error)

ParseProcessStdoutStreamResponse parses an HTTP response from a ProcessStdoutStreamWithResponse call

func (ProcessStdoutStreamResponse) Status

Status returns HTTPResponse.Status

func (ProcessStdoutStreamResponse) StatusCode

func (r ProcessStdoutStreamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessStdoutStreamResponseObject

type ProcessStdoutStreamResponseObject interface {
	VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
}

type ProcessStreamEvent

type ProcessStreamEvent struct {
	// DataB64 Base64-encoded data from the process stream.
	DataB64 *string `json:"data_b64,omitempty"`

	// Event Lifecycle event type.
	Event *ProcessStreamEventEvent `json:"event,omitempty"`

	// ExitCode Exit code when the event is "exit".
	ExitCode *int `json:"exit_code,omitempty"`

	// Stream Source stream of the data chunk.
	Stream *ProcessStreamEventStream `json:"stream,omitempty"`
}

ProcessStreamEvent SSE payload representing process output or lifecycle events.

type ProcessStreamEventEvent

type ProcessStreamEventEvent string

ProcessStreamEventEvent Lifecycle event type.

const (
	Exit ProcessStreamEventEvent = "exit"
)

Defines values for ProcessStreamEventEvent.

func (ProcessStreamEventEvent) Valid

func (e ProcessStreamEventEvent) Valid() bool

Valid indicates whether the value is a known member of the ProcessStreamEventEvent enum.

type ProcessStreamEventStream

type ProcessStreamEventStream string

ProcessStreamEventStream Source stream of the data chunk.

const (
	Stderr ProcessStreamEventStream = "stderr"
	Stdout ProcessStreamEventStream = "stdout"
)

Defines values for ProcessStreamEventStream.

func (ProcessStreamEventStream) Valid

func (e ProcessStreamEventStream) Valid() bool

Valid indicates whether the value is a known member of the ProcessStreamEventStream enum.

type PublishEventRequest

type PublishEventRequest struct {
	// Category Event category. Optional and advisory: for a known event `type` the server assigns the category authoritatively and ignores this field. It is only used for unknown custom types, where it is required.
	Category *PublishEventRequestCategory `json:"category,omitempty"`

	// Data Telemetry event payload.
	Data interface{} `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source *BrowserEventSource `json:"source,omitempty"`

	// Type Event type identifier.
	Type string `json:"type"`
}

PublishEventRequest Request body for publishing an event into the telemetry stream.

type PublishEventRequestCategory

type PublishEventRequestCategory string

PublishEventRequestCategory Event category. Optional and advisory: for a known event `type` the server assigns the category authoritatively and ignores this field. It is only used for unknown custom types, where it is required.

const (
	PublishEventRequestCategoryCaptcha     PublishEventRequestCategory = "captcha"
	PublishEventRequestCategoryConnection  PublishEventRequestCategory = "connection"
	PublishEventRequestCategoryConsole     PublishEventRequestCategory = "console"
	PublishEventRequestCategoryControl     PublishEventRequestCategory = "control"
	PublishEventRequestCategoryInteraction PublishEventRequestCategory = "interaction"
	PublishEventRequestCategoryMonitor     PublishEventRequestCategory = "monitor"
	PublishEventRequestCategoryNetwork     PublishEventRequestCategory = "network"
	PublishEventRequestCategoryPage        PublishEventRequestCategory = "page"
	PublishEventRequestCategoryPlatform    PublishEventRequestCategory = "platform"
	PublishEventRequestCategoryScreenshot  PublishEventRequestCategory = "screenshot"
	PublishEventRequestCategorySystem      PublishEventRequestCategory = "system"
)

Defines values for PublishEventRequestCategory.

func (PublishEventRequestCategory) Valid

Valid indicates whether the value is a known member of the PublishEventRequestCategory enum.

type PublishTelemetryEvent200JSONResponse

type PublishTelemetryEvent200JSONResponse TelemetryEnvelope

func (PublishTelemetryEvent200JSONResponse) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent200JSONResponse) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEvent204Response

type PublishTelemetryEvent204Response struct {
}

func (PublishTelemetryEvent204Response) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent204Response) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEvent400JSONResponse

type PublishTelemetryEvent400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PublishTelemetryEvent400JSONResponse) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent400JSONResponse) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEventJSONRequestBody

type PublishTelemetryEventJSONRequestBody = PublishEventRequest

PublishTelemetryEventJSONRequestBody defines body for PublishTelemetryEvent for application/json ContentType.

type PublishTelemetryEventRequestObject

type PublishTelemetryEventRequestObject struct {
	Body *PublishTelemetryEventJSONRequestBody
}

type PublishTelemetryEventResponse

type PublishTelemetryEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryEnvelope
	JSON400      *BadRequestError
}

func ParsePublishTelemetryEventResponse

func ParsePublishTelemetryEventResponse(rsp *http.Response) (*PublishTelemetryEventResponse, error)

ParsePublishTelemetryEventResponse parses an HTTP response from a PublishTelemetryEventWithResponse call

func (PublishTelemetryEventResponse) Status

Status returns HTTPResponse.Status

func (PublishTelemetryEventResponse) StatusCode

func (r PublishTelemetryEventResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PublishTelemetryEventResponseObject

type PublishTelemetryEventResponseObject interface {
	VisitPublishTelemetryEventResponse(w http.ResponseWriter) error
}

type PutTelemetry200JSONResponse

type PutTelemetry200JSONResponse TelemetryState

func (PutTelemetry200JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry200JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry201JSONResponse

type PutTelemetry201JSONResponse TelemetryState

func (PutTelemetry201JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry201JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry400JSONResponse

type PutTelemetry400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PutTelemetry400JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry400JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry500JSONResponse

type PutTelemetry500JSONResponse struct{ InternalErrorJSONResponse }

func (PutTelemetry500JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry500JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetryJSONRequestBody

type PutTelemetryJSONRequestBody = BrowserTelemetryConfig

PutTelemetryJSONRequestBody defines body for PutTelemetry for application/json ContentType.

type PutTelemetryRequestObject

type PutTelemetryRequestObject struct {
	Body *PutTelemetryJSONRequestBody
}

type PutTelemetryResponse

type PutTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON201      *TelemetryState
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePutTelemetryResponse

func ParsePutTelemetryResponse(rsp *http.Response) (*PutTelemetryResponse, error)

ParsePutTelemetryResponse parses an HTTP response from a PutTelemetryWithResponse call

func (PutTelemetryResponse) Status

func (r PutTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (PutTelemetryResponse) StatusCode

func (r PutTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTelemetryResponseObject

type PutTelemetryResponseObject interface {
	VisitPutTelemetryResponse(w http.ResponseWriter) error
}

type ReadClipboard200JSONResponse

type ReadClipboard200JSONResponse ClipboardContent

func (ReadClipboard200JSONResponse) VisitReadClipboardResponse

func (response ReadClipboard200JSONResponse) VisitReadClipboardResponse(w http.ResponseWriter) error

type ReadClipboard500JSONResponse

type ReadClipboard500JSONResponse struct{ InternalErrorJSONResponse }

func (ReadClipboard500JSONResponse) VisitReadClipboardResponse

func (response ReadClipboard500JSONResponse) VisitReadClipboardResponse(w http.ResponseWriter) error

type ReadClipboardRequestObject

type ReadClipboardRequestObject struct {
}

type ReadClipboardResponse

type ReadClipboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClipboardContent
	JSON500      *InternalError
}

func ParseReadClipboardResponse

func ParseReadClipboardResponse(rsp *http.Response) (*ReadClipboardResponse, error)

ParseReadClipboardResponse parses an HTTP response from a ReadClipboardWithResponse call

func (ReadClipboardResponse) Status

func (r ReadClipboardResponse) Status() string

Status returns HTTPResponse.Status

func (ReadClipboardResponse) StatusCode

func (r ReadClipboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadClipboardResponseObject

type ReadClipboardResponseObject interface {
	VisitReadClipboardResponse(w http.ResponseWriter) error
}

type ReadFile200ApplicationoctetStreamResponse

type ReadFile200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (ReadFile200ApplicationoctetStreamResponse) VisitReadFileResponse

func (response ReadFile200ApplicationoctetStreamResponse) VisitReadFileResponse(w http.ResponseWriter) error

type ReadFile400JSONResponse

type ReadFile400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ReadFile400JSONResponse) VisitReadFileResponse

func (response ReadFile400JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error

type ReadFile404JSONResponse

type ReadFile404JSONResponse struct{ NotFoundErrorJSONResponse }

func (ReadFile404JSONResponse) VisitReadFileResponse

func (response ReadFile404JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error

type ReadFile500JSONResponse

type ReadFile500JSONResponse struct{ InternalErrorJSONResponse }

func (ReadFile500JSONResponse) VisitReadFileResponse

func (response ReadFile500JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error

type ReadFileParams

type ReadFileParams struct {
	// Path Absolute file path to read.
	Path string `form:"path" json:"path"`
}

ReadFileParams defines parameters for ReadFile.

type ReadFileRequestObject

type ReadFileRequestObject struct {
	Params ReadFileParams
}

type ReadFileResponse

type ReadFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseReadFileResponse

func ParseReadFileResponse(rsp *http.Response) (*ReadFileResponse, error)

ParseReadFileResponse parses an HTTP response from a ReadFileWithResponse call

func (ReadFileResponse) Status

func (r ReadFileResponse) Status() string

Status returns HTTPResponse.Status

func (ReadFileResponse) StatusCode

func (r ReadFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadFileResponseObject

type ReadFileResponseObject interface {
	VisitReadFileResponse(w http.ResponseWriter) error
}

type RecorderInfo

type RecorderInfo struct {
	// FinishedAt Timestamp when recording finished
	FinishedAt  *time.Time `json:"finished_at,omitempty"`
	Id          string     `json:"id"`
	IsRecording bool       `json:"isRecording"`

	// StartedAt Timestamp when recording started
	StartedAt *time.Time `json:"started_at,omitempty"`
}

RecorderInfo defines model for RecorderInfo.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ScreenshotRegion

type ScreenshotRegion struct {
	// Height Height of the region in pixels
	Height int `json:"height"`

	// Width Width of the region in pixels
	Width int `json:"width"`

	// X X coordinate of the region's top-left corner
	X int `json:"x"`

	// Y Y coordinate of the region's top-left corner
	Y int `json:"y"`
}

ScreenshotRegion defines model for ScreenshotRegion.

type ScreenshotRequest

type ScreenshotRequest struct {
	Region *ScreenshotRegion `json:"region,omitempty"`
}

ScreenshotRequest defines model for ScreenshotRequest.

type Scroll200Response

type Scroll200Response struct {
}

func (Scroll200Response) VisitScrollResponse

func (response Scroll200Response) VisitScrollResponse(w http.ResponseWriter) error

type Scroll400JSONResponse

type Scroll400JSONResponse struct{ BadRequestErrorJSONResponse }

func (Scroll400JSONResponse) VisitScrollResponse

func (response Scroll400JSONResponse) VisitScrollResponse(w http.ResponseWriter) error

type Scroll500JSONResponse

type Scroll500JSONResponse struct{ InternalErrorJSONResponse }

func (Scroll500JSONResponse) VisitScrollResponse

func (response Scroll500JSONResponse) VisitScrollResponse(w http.ResponseWriter) error

type ScrollJSONRequestBody

type ScrollJSONRequestBody = ScrollRequest

ScrollJSONRequestBody defines body for Scroll for application/json ContentType.

type ScrollRequest

type ScrollRequest struct {
	// DeltaX Horizontal scroll amount. Positive scrolls right, negative scrolls left.
	DeltaX *int `json:"delta_x,omitempty"`

	// DeltaY Vertical scroll amount. Positive scrolls down, negative scrolls up.
	DeltaY *int `json:"delta_y,omitempty"`

	// HoldKeys Modifier keys to hold during the scroll
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// X X coordinate at which to perform the scroll
	X int `json:"x"`

	// Y Y coordinate at which to perform the scroll
	Y int `json:"y"`
}

ScrollRequest defines model for ScrollRequest.

type ScrollRequestObject

type ScrollRequestObject struct {
	Body *ScrollJSONRequestBody
}

type ScrollResponse

type ScrollResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseScrollResponse

func ParseScrollResponse(rsp *http.Response) (*ScrollResponse, error)

ParseScrollResponse parses an HTTP response from a ScrollWithResponse call

func (ScrollResponse) Status

func (r ScrollResponse) Status() string

Status returns HTTPResponse.Status

func (ScrollResponse) StatusCode

func (r ScrollResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScrollResponseObject

type ScrollResponseObject interface {
	VisitScrollResponse(w http.ResponseWriter) error
}

type ServerInterface

type ServerInterface interface {
	// Update Chromium launch flags and restart
	// (PATCH /chromium/flags)
	PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
	// Update Chromium enterprise policies and restart
	// (PATCH /chromium/policies)
	PatchChromiumPolicies(w http.ResponseWriter, r *http.Request)
	// Upload and activate one or more unpacked extensions
	// (POST /chromium/upload-extensions)
	UploadExtensions(w http.ResponseWriter, r *http.Request)
	// Upload one or more unpacked extensions (as zips) and restart Chromium
	// (POST /chromium/upload-extensions-and-restart)
	UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
	// Execute a batch of computer actions sequentially
	// (POST /computer/batch)
	BatchComputerAction(w http.ResponseWriter, r *http.Request)
	// Simulate a mouse click action on the host computer
	// (POST /computer/click_mouse)
	ClickMouse(w http.ResponseWriter, r *http.Request)
	// Read text from the system clipboard
	// (POST /computer/clipboard/read)
	ReadClipboard(w http.ResponseWriter, r *http.Request)
	// Write text to the system clipboard
	// (POST /computer/clipboard/write)
	WriteClipboard(w http.ResponseWriter, r *http.Request)
	// Hide or show the cursor
	// (POST /computer/cursor)
	SetCursor(w http.ResponseWriter, r *http.Request)
	// Drag the mouse along a path
	// (POST /computer/drag_mouse)
	DragMouse(w http.ResponseWriter, r *http.Request)
	// Get the current mouse cursor position on the host computer
	// (POST /computer/get_mouse_position)
	GetMousePosition(w http.ResponseWriter, r *http.Request)
	// Move the mouse cursor to the specified coordinates on the host computer
	// (POST /computer/move_mouse)
	MoveMouse(w http.ResponseWriter, r *http.Request)
	// Press one or more keys on the host computer
	// (POST /computer/press_key)
	PressKey(w http.ResponseWriter, r *http.Request)
	// Capture a screenshot of the host computer
	// (POST /computer/screenshot)
	TakeScreenshot(w http.ResponseWriter, r *http.Request)
	// Scroll the mouse wheel at a position on the host computer
	// (POST /computer/scroll)
	Scroll(w http.ResponseWriter, r *http.Request)
	// Type text on the host computer
	// (POST /computer/type)
	TypeText(w http.ResponseWriter, r *http.Request)
	// Apply batched session and browser configuration plus optional navigation
	// (POST /configure)
	ChromiumConfigure(w http.ResponseWriter, r *http.Request, params ChromiumConfigureParams)
	// Update display configuration
	// (PATCH /display)
	PatchDisplay(w http.ResponseWriter, r *http.Request)
	// Create a new directory
	// (PUT /fs/create_directory)
	CreateDirectory(w http.ResponseWriter, r *http.Request)
	// Delete a directory
	// (PUT /fs/delete_directory)
	DeleteDirectory(w http.ResponseWriter, r *http.Request)
	// Delete a file
	// (PUT /fs/delete_file)
	DeleteFile(w http.ResponseWriter, r *http.Request)
	// Download a directory as a ZIP archive
	// (GET /fs/download_dir_zip)
	DownloadDirZip(w http.ResponseWriter, r *http.Request, params DownloadDirZipParams)
	// Download a directory as a tar.zst archive
	// (GET /fs/download_dir_zstd)
	DownloadDirZstd(w http.ResponseWriter, r *http.Request, params DownloadDirZstdParams)
	// Get information about a file or directory
	// (GET /fs/file_info)
	FileInfo(w http.ResponseWriter, r *http.Request, params FileInfoParams)
	// List files in a directory
	// (GET /fs/list_files)
	ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)
	// Move or rename a file or directory
	// (PUT /fs/move)
	MovePath(w http.ResponseWriter, r *http.Request)
	// Read file contents
	// (GET /fs/read_file)
	ReadFile(w http.ResponseWriter, r *http.Request, params ReadFileParams)
	// Set file or directory permissions/ownership
	// (PUT /fs/set_file_permissions)
	SetFilePermissions(w http.ResponseWriter, r *http.Request)
	// Upload one or more files
	// (POST /fs/upload)
	UploadFiles(w http.ResponseWriter, r *http.Request)
	// Upload a zip archive and extract it
	// (POST /fs/upload_zip)
	UploadZip(w http.ResponseWriter, r *http.Request)
	// Upload a tar.zst archive and extract it
	// (POST /fs/upload_zstd)
	UploadZstd(w http.ResponseWriter, r *http.Request)
	// Watch a directory for changes
	// (POST /fs/watch)
	StartFsWatch(w http.ResponseWriter, r *http.Request)
	// Stop watching a directory
	// (DELETE /fs/watch/{watch_id})
	StopFsWatch(w http.ResponseWriter, r *http.Request, watchId string)
	// Stream filesystem events for a watch
	// (GET /fs/watch/{watch_id}/events)
	StreamFsEvents(w http.ResponseWriter, r *http.Request, watchId string)
	// Write or create a file
	// (PUT /fs/write_file)
	WriteFile(w http.ResponseWriter, r *http.Request, params WriteFileParams)
	// Stream logs over SSE
	// (GET /logs/stream)
	LogsStream(w http.ResponseWriter, r *http.Request, params LogsStreamParams)
	// Execute Playwright/TypeScript code against the browser
	// (POST /playwright/execute)
	ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
	// Execute a command synchronously
	// (POST /process/exec)
	ProcessExec(w http.ResponseWriter, r *http.Request)
	// Execute a command asynchronously
	// (POST /process/spawn)
	ProcessSpawn(w http.ResponseWriter, r *http.Request)
	// Send signal to process
	// (POST /process/{process_id}/kill)
	ProcessKill(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
	// Resize a PTY-backed process
	// (POST /process/{process_id}/resize)
	ProcessResize(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
	// Get process status
	// (GET /process/{process_id}/status)
	ProcessStatus(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
	// Write to process stdin
	// (POST /process/{process_id}/stdin)
	ProcessStdin(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
	// Stream process stdout over SSE
	// (GET /process/{process_id}/stdout/stream)
	ProcessStdoutStream(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
	// Delete a previously recorded video file
	// (POST /recording/delete)
	DeleteRecording(w http.ResponseWriter, r *http.Request)
	// Download the most recently recorded video file
	// (GET /recording/download)
	DownloadRecording(w http.ResponseWriter, r *http.Request, params DownloadRecordingParams)
	// List all recorders
	// (GET /recording/list)
	ListRecorders(w http.ResponseWriter, r *http.Request)
	// Add a named marker to an in-progress recording
	// (POST /recording/mark)
	MarkRecording(w http.ResponseWriter, r *http.Request)
	// Start a screen recording. Only one recording per ID can be registered at a time.
	// (POST /recording/start)
	StartRecording(w http.ResponseWriter, r *http.Request)
	// Stop the recording
	// (POST /recording/stop)
	StopRecording(w http.ResponseWriter, r *http.Request)
	// Idempotently disable scale to zero on this VM.
	// (POST /scaletozero/disable)
	DisableScaleToZero(w http.ResponseWriter, r *http.Request)
	// Idempotently enable scale to zero on this VM.
	// (POST /scaletozero/enable)
	EnableScaleToZero(w http.ResponseWriter, r *http.Request)
	// Get telemetry configuration
	// (GET /telemetry)
	GetTelemetry(w http.ResponseWriter, r *http.Request)
	// Update telemetry configuration
	// (PATCH /telemetry)
	PatchTelemetry(w http.ResponseWriter, r *http.Request)
	// Set telemetry configuration
	// (PUT /telemetry)
	PutTelemetry(w http.ResponseWriter, r *http.Request)
	// Publish an event into the telemetry stream
	// (POST /telemetry/events)
	PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)
	// Stream telemetry events as Server-Sent Events
	// (GET /telemetry/stream)
	StreamTelemetryEvents(w http.ResponseWriter, r *http.Request, params StreamTelemetryEventsParams)
	// Invoke a discovered WebMCP tool
	// (POST /webmcp/invoke)
	InvokeWebMCPTool(w http.ResponseWriter, r *http.Request)
	// Discover WebMCP tools across the browser
	// (GET /webmcp/tools)
	GetWebMCPTools(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) BatchComputerAction

func (siw *ServerInterfaceWrapper) BatchComputerAction(w http.ResponseWriter, r *http.Request)

BatchComputerAction operation middleware

func (*ServerInterfaceWrapper) ChromiumConfigure

func (siw *ServerInterfaceWrapper) ChromiumConfigure(w http.ResponseWriter, r *http.Request)

ChromiumConfigure operation middleware

func (*ServerInterfaceWrapper) ClickMouse

func (siw *ServerInterfaceWrapper) ClickMouse(w http.ResponseWriter, r *http.Request)

ClickMouse operation middleware

func (*ServerInterfaceWrapper) CreateDirectory

func (siw *ServerInterfaceWrapper) CreateDirectory(w http.ResponseWriter, r *http.Request)

CreateDirectory operation middleware

func (*ServerInterfaceWrapper) DeleteDirectory

func (siw *ServerInterfaceWrapper) DeleteDirectory(w http.ResponseWriter, r *http.Request)

DeleteDirectory operation middleware

func (*ServerInterfaceWrapper) DeleteFile

func (siw *ServerInterfaceWrapper) DeleteFile(w http.ResponseWriter, r *http.Request)

DeleteFile operation middleware

func (*ServerInterfaceWrapper) DeleteRecording

func (siw *ServerInterfaceWrapper) DeleteRecording(w http.ResponseWriter, r *http.Request)

DeleteRecording operation middleware

func (*ServerInterfaceWrapper) DisableScaleToZero

func (siw *ServerInterfaceWrapper) DisableScaleToZero(w http.ResponseWriter, r *http.Request)

DisableScaleToZero operation middleware

func (*ServerInterfaceWrapper) DownloadDirZip

func (siw *ServerInterfaceWrapper) DownloadDirZip(w http.ResponseWriter, r *http.Request)

DownloadDirZip operation middleware

func (*ServerInterfaceWrapper) DownloadDirZstd

func (siw *ServerInterfaceWrapper) DownloadDirZstd(w http.ResponseWriter, r *http.Request)

DownloadDirZstd operation middleware

func (*ServerInterfaceWrapper) DownloadRecording

func (siw *ServerInterfaceWrapper) DownloadRecording(w http.ResponseWriter, r *http.Request)

DownloadRecording operation middleware

func (*ServerInterfaceWrapper) DragMouse

func (siw *ServerInterfaceWrapper) DragMouse(w http.ResponseWriter, r *http.Request)

DragMouse operation middleware

func (*ServerInterfaceWrapper) EnableScaleToZero

func (siw *ServerInterfaceWrapper) EnableScaleToZero(w http.ResponseWriter, r *http.Request)

EnableScaleToZero operation middleware

func (*ServerInterfaceWrapper) ExecutePlaywrightCode

func (siw *ServerInterfaceWrapper) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)

ExecutePlaywrightCode operation middleware

func (*ServerInterfaceWrapper) FileInfo

func (siw *ServerInterfaceWrapper) FileInfo(w http.ResponseWriter, r *http.Request)

FileInfo operation middleware

func (*ServerInterfaceWrapper) GetMousePosition

func (siw *ServerInterfaceWrapper) GetMousePosition(w http.ResponseWriter, r *http.Request)

GetMousePosition operation middleware

func (*ServerInterfaceWrapper) GetTelemetry

func (siw *ServerInterfaceWrapper) GetTelemetry(w http.ResponseWriter, r *http.Request)

GetTelemetry operation middleware

func (*ServerInterfaceWrapper) GetWebMCPTools

func (siw *ServerInterfaceWrapper) GetWebMCPTools(w http.ResponseWriter, r *http.Request)

GetWebMCPTools operation middleware

func (*ServerInterfaceWrapper) InvokeWebMCPTool

func (siw *ServerInterfaceWrapper) InvokeWebMCPTool(w http.ResponseWriter, r *http.Request)

InvokeWebMCPTool operation middleware

func (*ServerInterfaceWrapper) ListFiles

func (siw *ServerInterfaceWrapper) ListFiles(w http.ResponseWriter, r *http.Request)

ListFiles operation middleware

func (*ServerInterfaceWrapper) ListRecorders

func (siw *ServerInterfaceWrapper) ListRecorders(w http.ResponseWriter, r *http.Request)

ListRecorders operation middleware

func (*ServerInterfaceWrapper) LogsStream

func (siw *ServerInterfaceWrapper) LogsStream(w http.ResponseWriter, r *http.Request)

LogsStream operation middleware

func (*ServerInterfaceWrapper) MarkRecording

func (siw *ServerInterfaceWrapper) MarkRecording(w http.ResponseWriter, r *http.Request)

MarkRecording operation middleware

func (*ServerInterfaceWrapper) MoveMouse

func (siw *ServerInterfaceWrapper) MoveMouse(w http.ResponseWriter, r *http.Request)

MoveMouse operation middleware

func (*ServerInterfaceWrapper) MovePath

func (siw *ServerInterfaceWrapper) MovePath(w http.ResponseWriter, r *http.Request)

MovePath operation middleware

func (*ServerInterfaceWrapper) PatchChromiumFlags

func (siw *ServerInterfaceWrapper) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)

PatchChromiumFlags operation middleware

func (*ServerInterfaceWrapper) PatchChromiumPolicies

func (siw *ServerInterfaceWrapper) PatchChromiumPolicies(w http.ResponseWriter, r *http.Request)

PatchChromiumPolicies operation middleware

func (*ServerInterfaceWrapper) PatchDisplay

func (siw *ServerInterfaceWrapper) PatchDisplay(w http.ResponseWriter, r *http.Request)

PatchDisplay operation middleware

func (*ServerInterfaceWrapper) PatchTelemetry

func (siw *ServerInterfaceWrapper) PatchTelemetry(w http.ResponseWriter, r *http.Request)

PatchTelemetry operation middleware

func (*ServerInterfaceWrapper) PressKey

func (siw *ServerInterfaceWrapper) PressKey(w http.ResponseWriter, r *http.Request)

PressKey operation middleware

func (*ServerInterfaceWrapper) ProcessExec

func (siw *ServerInterfaceWrapper) ProcessExec(w http.ResponseWriter, r *http.Request)

ProcessExec operation middleware

func (*ServerInterfaceWrapper) ProcessKill

func (siw *ServerInterfaceWrapper) ProcessKill(w http.ResponseWriter, r *http.Request)

ProcessKill operation middleware

func (*ServerInterfaceWrapper) ProcessResize

func (siw *ServerInterfaceWrapper) ProcessResize(w http.ResponseWriter, r *http.Request)

ProcessResize operation middleware

func (*ServerInterfaceWrapper) ProcessSpawn

func (siw *ServerInterfaceWrapper) ProcessSpawn(w http.ResponseWriter, r *http.Request)

ProcessSpawn operation middleware

func (*ServerInterfaceWrapper) ProcessStatus

func (siw *ServerInterfaceWrapper) ProcessStatus(w http.ResponseWriter, r *http.Request)

ProcessStatus operation middleware

func (*ServerInterfaceWrapper) ProcessStdin

func (siw *ServerInterfaceWrapper) ProcessStdin(w http.ResponseWriter, r *http.Request)

ProcessStdin operation middleware

func (*ServerInterfaceWrapper) ProcessStdoutStream

func (siw *ServerInterfaceWrapper) ProcessStdoutStream(w http.ResponseWriter, r *http.Request)

ProcessStdoutStream operation middleware

func (*ServerInterfaceWrapper) PublishTelemetryEvent

func (siw *ServerInterfaceWrapper) PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)

PublishTelemetryEvent operation middleware

func (*ServerInterfaceWrapper) PutTelemetry

func (siw *ServerInterfaceWrapper) PutTelemetry(w http.ResponseWriter, r *http.Request)

PutTelemetry operation middleware

func (*ServerInterfaceWrapper) ReadClipboard

func (siw *ServerInterfaceWrapper) ReadClipboard(w http.ResponseWriter, r *http.Request)

ReadClipboard operation middleware

func (*ServerInterfaceWrapper) ReadFile

func (siw *ServerInterfaceWrapper) ReadFile(w http.ResponseWriter, r *http.Request)

ReadFile operation middleware

func (*ServerInterfaceWrapper) Scroll

Scroll operation middleware

func (*ServerInterfaceWrapper) SetCursor

func (siw *ServerInterfaceWrapper) SetCursor(w http.ResponseWriter, r *http.Request)

SetCursor operation middleware

func (*ServerInterfaceWrapper) SetFilePermissions

func (siw *ServerInterfaceWrapper) SetFilePermissions(w http.ResponseWriter, r *http.Request)

SetFilePermissions operation middleware

func (*ServerInterfaceWrapper) StartFsWatch

func (siw *ServerInterfaceWrapper) StartFsWatch(w http.ResponseWriter, r *http.Request)

StartFsWatch operation middleware

func (*ServerInterfaceWrapper) StartRecording

func (siw *ServerInterfaceWrapper) StartRecording(w http.ResponseWriter, r *http.Request)

StartRecording operation middleware

func (*ServerInterfaceWrapper) StopFsWatch

func (siw *ServerInterfaceWrapper) StopFsWatch(w http.ResponseWriter, r *http.Request)

StopFsWatch operation middleware

func (*ServerInterfaceWrapper) StopRecording

func (siw *ServerInterfaceWrapper) StopRecording(w http.ResponseWriter, r *http.Request)

StopRecording operation middleware

func (*ServerInterfaceWrapper) StreamFsEvents

func (siw *ServerInterfaceWrapper) StreamFsEvents(w http.ResponseWriter, r *http.Request)

StreamFsEvents operation middleware

func (*ServerInterfaceWrapper) StreamTelemetryEvents

func (siw *ServerInterfaceWrapper) StreamTelemetryEvents(w http.ResponseWriter, r *http.Request)

StreamTelemetryEvents operation middleware

func (*ServerInterfaceWrapper) TakeScreenshot

func (siw *ServerInterfaceWrapper) TakeScreenshot(w http.ResponseWriter, r *http.Request)

TakeScreenshot operation middleware

func (*ServerInterfaceWrapper) TypeText

func (siw *ServerInterfaceWrapper) TypeText(w http.ResponseWriter, r *http.Request)

TypeText operation middleware

func (*ServerInterfaceWrapper) UploadExtensions

func (siw *ServerInterfaceWrapper) UploadExtensions(w http.ResponseWriter, r *http.Request)

UploadExtensions operation middleware

func (*ServerInterfaceWrapper) UploadExtensionsAndRestart

func (siw *ServerInterfaceWrapper) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)

UploadExtensionsAndRestart operation middleware

func (*ServerInterfaceWrapper) UploadFiles

func (siw *ServerInterfaceWrapper) UploadFiles(w http.ResponseWriter, r *http.Request)

UploadFiles operation middleware

func (*ServerInterfaceWrapper) UploadZip

func (siw *ServerInterfaceWrapper) UploadZip(w http.ResponseWriter, r *http.Request)

UploadZip operation middleware

func (*ServerInterfaceWrapper) UploadZstd

func (siw *ServerInterfaceWrapper) UploadZstd(w http.ResponseWriter, r *http.Request)

UploadZstd operation middleware

func (*ServerInterfaceWrapper) WriteClipboard

func (siw *ServerInterfaceWrapper) WriteClipboard(w http.ResponseWriter, r *http.Request)

WriteClipboard operation middleware

func (*ServerInterfaceWrapper) WriteFile

func (siw *ServerInterfaceWrapper) WriteFile(w http.ResponseWriter, r *http.Request)

WriteFile operation middleware

type SetCursor200JSONResponse

type SetCursor200JSONResponse OkResponse

func (SetCursor200JSONResponse) VisitSetCursorResponse

func (response SetCursor200JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error

type SetCursor400JSONResponse

type SetCursor400JSONResponse struct{ BadRequestErrorJSONResponse }

func (SetCursor400JSONResponse) VisitSetCursorResponse

func (response SetCursor400JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error

type SetCursor500JSONResponse

type SetCursor500JSONResponse struct{ InternalErrorJSONResponse }

func (SetCursor500JSONResponse) VisitSetCursorResponse

func (response SetCursor500JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error

type SetCursorJSONRequestBody

type SetCursorJSONRequestBody = SetCursorRequest

SetCursorJSONRequestBody defines body for SetCursor for application/json ContentType.

type SetCursorRequest

type SetCursorRequest struct {
	// Hidden Whether the cursor should be hidden
	Hidden bool `json:"hidden"`
}

SetCursorRequest defines model for SetCursorRequest.

type SetCursorRequestObject

type SetCursorRequestObject struct {
	Body *SetCursorJSONRequestBody
}

type SetCursorResponse

type SetCursorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OkResponse
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseSetCursorResponse

func ParseSetCursorResponse(rsp *http.Response) (*SetCursorResponse, error)

ParseSetCursorResponse parses an HTTP response from a SetCursorWithResponse call

func (SetCursorResponse) Status

func (r SetCursorResponse) Status() string

Status returns HTTPResponse.Status

func (SetCursorResponse) StatusCode

func (r SetCursorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetCursorResponseObject

type SetCursorResponseObject interface {
	VisitSetCursorResponse(w http.ResponseWriter) error
}

type SetFilePermissions200Response

type SetFilePermissions200Response struct {
}

func (SetFilePermissions200Response) VisitSetFilePermissionsResponse

func (response SetFilePermissions200Response) VisitSetFilePermissionsResponse(w http.ResponseWriter) error

type SetFilePermissions400JSONResponse

type SetFilePermissions400JSONResponse struct{ BadRequestErrorJSONResponse }

func (SetFilePermissions400JSONResponse) VisitSetFilePermissionsResponse

func (response SetFilePermissions400JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error

type SetFilePermissions404JSONResponse

type SetFilePermissions404JSONResponse struct{ NotFoundErrorJSONResponse }

func (SetFilePermissions404JSONResponse) VisitSetFilePermissionsResponse

func (response SetFilePermissions404JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error

type SetFilePermissions500JSONResponse

type SetFilePermissions500JSONResponse struct{ InternalErrorJSONResponse }

func (SetFilePermissions500JSONResponse) VisitSetFilePermissionsResponse

func (response SetFilePermissions500JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error

type SetFilePermissionsJSONRequestBody

type SetFilePermissionsJSONRequestBody = SetFilePermissionsRequest

SetFilePermissionsJSONRequestBody defines body for SetFilePermissions for application/json ContentType.

type SetFilePermissionsRequest

type SetFilePermissionsRequest struct {
	// Group New group name or GID.
	Group *string `json:"group,omitempty"`

	// Mode File mode bits (octal string, e.g. 644).
	Mode string `json:"mode"`

	// Owner New owner username or UID.
	Owner *string `json:"owner,omitempty"`

	// Path Absolute path whose permissions are to be changed.
	Path string `json:"path"`
}

SetFilePermissionsRequest defines model for SetFilePermissionsRequest.

type SetFilePermissionsRequestObject

type SetFilePermissionsRequestObject struct {
	Body *SetFilePermissionsJSONRequestBody
}

type SetFilePermissionsResponse

type SetFilePermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseSetFilePermissionsResponse

func ParseSetFilePermissionsResponse(rsp *http.Response) (*SetFilePermissionsResponse, error)

ParseSetFilePermissionsResponse parses an HTTP response from a SetFilePermissionsWithResponse call

func (SetFilePermissionsResponse) Status

Status returns HTTPResponse.Status

func (SetFilePermissionsResponse) StatusCode

func (r SetFilePermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetFilePermissionsResponseObject

type SetFilePermissionsResponseObject interface {
	VisitSetFilePermissionsResponse(w http.ResponseWriter) error
}

type SleepAction

type SleepAction struct {
	// DurationMs Duration to sleep in milliseconds.
	DurationMs int `json:"duration_ms"`
}

SleepAction Pause execution for a specified duration.

type StartFsWatch201JSONResponse

type StartFsWatch201JSONResponse struct {
	// WatchId Unique identifier for the directory watch
	WatchId *string `json:"watch_id,omitempty"`
}

func (StartFsWatch201JSONResponse) VisitStartFsWatchResponse

func (response StartFsWatch201JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error

type StartFsWatch400JSONResponse

type StartFsWatch400JSONResponse struct{ BadRequestErrorJSONResponse }

func (StartFsWatch400JSONResponse) VisitStartFsWatchResponse

func (response StartFsWatch400JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error

type StartFsWatch404JSONResponse

type StartFsWatch404JSONResponse struct{ NotFoundErrorJSONResponse }

func (StartFsWatch404JSONResponse) VisitStartFsWatchResponse

func (response StartFsWatch404JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error

type StartFsWatch500JSONResponse

type StartFsWatch500JSONResponse struct{ InternalErrorJSONResponse }

func (StartFsWatch500JSONResponse) VisitStartFsWatchResponse

func (response StartFsWatch500JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error

type StartFsWatchJSONRequestBody

type StartFsWatchJSONRequestBody = StartFsWatchRequest

StartFsWatchJSONRequestBody defines body for StartFsWatch for application/json ContentType.

type StartFsWatchRequest

type StartFsWatchRequest struct {
	// Path Directory to watch.
	Path string `json:"path"`

	// Recursive Whether to watch recursively.
	Recursive *bool `json:"recursive,omitempty"`
}

StartFsWatchRequest defines model for StartFsWatchRequest.

type StartFsWatchRequestObject

type StartFsWatchRequestObject struct {
	Body *StartFsWatchJSONRequestBody
}

type StartFsWatchResponse

type StartFsWatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		// WatchId Unique identifier for the directory watch
		WatchId *string `json:"watch_id,omitempty"`
	}
	JSON400 *BadRequestError
	JSON404 *NotFoundError
	JSON500 *InternalError
}

func ParseStartFsWatchResponse

func ParseStartFsWatchResponse(rsp *http.Response) (*StartFsWatchResponse, error)

ParseStartFsWatchResponse parses an HTTP response from a StartFsWatchWithResponse call

func (StartFsWatchResponse) Status

func (r StartFsWatchResponse) Status() string

Status returns HTTPResponse.Status

func (StartFsWatchResponse) StatusCode

func (r StartFsWatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StartFsWatchResponseObject

type StartFsWatchResponseObject interface {
	VisitStartFsWatchResponse(w http.ResponseWriter) error
}

type StartRecording201Response

type StartRecording201Response struct {
}

func (StartRecording201Response) VisitStartRecordingResponse

func (response StartRecording201Response) VisitStartRecordingResponse(w http.ResponseWriter) error

type StartRecording400JSONResponse

type StartRecording400JSONResponse struct{ BadRequestErrorJSONResponse }

func (StartRecording400JSONResponse) VisitStartRecordingResponse

func (response StartRecording400JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error

type StartRecording409JSONResponse

type StartRecording409JSONResponse struct{ ConflictErrorJSONResponse }

func (StartRecording409JSONResponse) VisitStartRecordingResponse

func (response StartRecording409JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error

type StartRecording500JSONResponse

type StartRecording500JSONResponse struct{ InternalErrorJSONResponse }

func (StartRecording500JSONResponse) VisitStartRecordingResponse

func (response StartRecording500JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error

type StartRecordingJSONRequestBody

type StartRecordingJSONRequestBody = StartRecordingRequest

StartRecordingJSONRequestBody defines body for StartRecording for application/json ContentType.

type StartRecordingRequest

type StartRecordingRequest struct {
	// Framerate Recording framerate in fps (overrides server default)
	Framerate *int `json:"framerate,omitempty"`

	// Id Optional identifier for this recording session, used to target it from the other /recording endpoints (stop, mark, download, delete) and allowing multiple concurrent recordings. Alphanumeric or hyphen. When omitted, the default recording session is started.
	Id *string `json:"id,omitempty"`

	// MaxDurationInSeconds Maximum recording duration in seconds (overrides server default)
	MaxDurationInSeconds *int `json:"maxDurationInSeconds,omitempty"`

	// MaxFileSizeInMB Maximum file size in MB (overrides server default)
	MaxFileSizeInMB *int `json:"maxFileSizeInMB,omitempty"`

	// RecordAudio Capture audio alongside video. Requires the server to have an audio source and PulseAudio socket configured (the image sets both by default). When false the recording is video-only.
	RecordAudio *bool `json:"recordAudio,omitempty"`
}

StartRecordingRequest defines model for StartRecordingRequest.

type StartRecordingRequestObject

type StartRecordingRequestObject struct {
	Body *StartRecordingJSONRequestBody
}

type StartRecordingResponse

type StartRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON409      *ConflictError
	JSON500      *InternalError
}

func ParseStartRecordingResponse

func ParseStartRecordingResponse(rsp *http.Response) (*StartRecordingResponse, error)

ParseStartRecordingResponse parses an HTTP response from a StartRecordingWithResponse call

func (StartRecordingResponse) Status

func (r StartRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (StartRecordingResponse) StatusCode

func (r StartRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StartRecordingResponseObject

type StartRecordingResponseObject interface {
	VisitStartRecordingResponse(w http.ResponseWriter) error
}

type StopFsWatch204Response

type StopFsWatch204Response struct {
}

func (StopFsWatch204Response) VisitStopFsWatchResponse

func (response StopFsWatch204Response) VisitStopFsWatchResponse(w http.ResponseWriter) error

type StopFsWatch400JSONResponse

type StopFsWatch400JSONResponse struct{ BadRequestErrorJSONResponse }

func (StopFsWatch400JSONResponse) VisitStopFsWatchResponse

func (response StopFsWatch400JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error

type StopFsWatch404JSONResponse

type StopFsWatch404JSONResponse struct{ NotFoundErrorJSONResponse }

func (StopFsWatch404JSONResponse) VisitStopFsWatchResponse

func (response StopFsWatch404JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error

type StopFsWatch500JSONResponse

type StopFsWatch500JSONResponse struct{ InternalErrorJSONResponse }

func (StopFsWatch500JSONResponse) VisitStopFsWatchResponse

func (response StopFsWatch500JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error

type StopFsWatchRequestObject

type StopFsWatchRequestObject struct {
	WatchId string `json:"watch_id"`
}

type StopFsWatchResponse

type StopFsWatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseStopFsWatchResponse

func ParseStopFsWatchResponse(rsp *http.Response) (*StopFsWatchResponse, error)

ParseStopFsWatchResponse parses an HTTP response from a StopFsWatchWithResponse call

func (StopFsWatchResponse) Status

func (r StopFsWatchResponse) Status() string

Status returns HTTPResponse.Status

func (StopFsWatchResponse) StatusCode

func (r StopFsWatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StopFsWatchResponseObject

type StopFsWatchResponseObject interface {
	VisitStopFsWatchResponse(w http.ResponseWriter) error
}

type StopRecording200Response

type StopRecording200Response struct {
}

func (StopRecording200Response) VisitStopRecordingResponse

func (response StopRecording200Response) VisitStopRecordingResponse(w http.ResponseWriter) error

type StopRecording400JSONResponse

type StopRecording400JSONResponse struct{ BadRequestErrorJSONResponse }

func (StopRecording400JSONResponse) VisitStopRecordingResponse

func (response StopRecording400JSONResponse) VisitStopRecordingResponse(w http.ResponseWriter) error

type StopRecording500JSONResponse

type StopRecording500JSONResponse struct{ InternalErrorJSONResponse }

func (StopRecording500JSONResponse) VisitStopRecordingResponse

func (response StopRecording500JSONResponse) VisitStopRecordingResponse(w http.ResponseWriter) error

type StopRecordingJSONRequestBody

type StopRecordingJSONRequestBody = StopRecordingRequest

StopRecordingJSONRequestBody defines body for StopRecording for application/json ContentType.

type StopRecordingRequest

type StopRecordingRequest struct {
	// ForceStop Immediately stop without graceful shutdown. This may result in a corrupted video file.
	ForceStop *bool `json:"forceStop,omitempty"`

	// Id Identifier of the recording session to stop, as passed to /recording/start. Alphanumeric or hyphen. When omitted, the default recording session is stopped.
	Id *string `json:"id,omitempty"`
}

StopRecordingRequest defines model for StopRecordingRequest.

type StopRecordingRequestObject

type StopRecordingRequestObject struct {
	Body *StopRecordingJSONRequestBody
}

type StopRecordingResponse

type StopRecordingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseStopRecordingResponse

func ParseStopRecordingResponse(rsp *http.Response) (*StopRecordingResponse, error)

ParseStopRecordingResponse parses an HTTP response from a StopRecordingWithResponse call

func (StopRecordingResponse) Status

func (r StopRecordingResponse) Status() string

Status returns HTTPResponse.Status

func (StopRecordingResponse) StatusCode

func (r StopRecordingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StopRecordingResponseObject

type StopRecordingResponseObject interface {
	VisitStopRecordingResponse(w http.ResponseWriter) error
}

type StreamFsEvents200ResponseHeaders

type StreamFsEvents200ResponseHeaders struct {
	XSSEContentType string
}

type StreamFsEvents200TexteventStreamResponse

type StreamFsEvents200TexteventStreamResponse struct {
	Body          io.Reader
	Headers       StreamFsEvents200ResponseHeaders
	ContentLength int64
}

func (StreamFsEvents200TexteventStreamResponse) VisitStreamFsEventsResponse

func (response StreamFsEvents200TexteventStreamResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error

type StreamFsEvents400JSONResponse

type StreamFsEvents400JSONResponse struct{ BadRequestErrorJSONResponse }

func (StreamFsEvents400JSONResponse) VisitStreamFsEventsResponse

func (response StreamFsEvents400JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error

type StreamFsEvents404JSONResponse

type StreamFsEvents404JSONResponse struct{ NotFoundErrorJSONResponse }

func (StreamFsEvents404JSONResponse) VisitStreamFsEventsResponse

func (response StreamFsEvents404JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error

type StreamFsEvents500JSONResponse

type StreamFsEvents500JSONResponse struct{ InternalErrorJSONResponse }

func (StreamFsEvents500JSONResponse) VisitStreamFsEventsResponse

func (response StreamFsEvents500JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error

type StreamFsEventsRequestObject

type StreamFsEventsRequestObject struct {
	WatchId string `json:"watch_id"`
}

type StreamFsEventsResponse

type StreamFsEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseStreamFsEventsResponse

func ParseStreamFsEventsResponse(rsp *http.Response) (*StreamFsEventsResponse, error)

ParseStreamFsEventsResponse parses an HTTP response from a StreamFsEventsWithResponse call

func (StreamFsEventsResponse) Status

func (r StreamFsEventsResponse) Status() string

Status returns HTTPResponse.Status

func (StreamFsEventsResponse) StatusCode

func (r StreamFsEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamFsEventsResponseObject

type StreamFsEventsResponseObject interface {
	VisitStreamFsEventsResponse(w http.ResponseWriter) error
}

type StreamTelemetryEvents200ResponseHeaders

type StreamTelemetryEvents200ResponseHeaders struct {
	XSSEContentType string
}

type StreamTelemetryEvents200TexteventStreamResponse

type StreamTelemetryEvents200TexteventStreamResponse struct {
	Body          io.Reader
	Headers       StreamTelemetryEvents200ResponseHeaders
	ContentLength int64
}

func (StreamTelemetryEvents200TexteventStreamResponse) VisitStreamTelemetryEventsResponse

func (response StreamTelemetryEvents200TexteventStreamResponse) VisitStreamTelemetryEventsResponse(w http.ResponseWriter) error

type StreamTelemetryEventsParams

type StreamTelemetryEventsParams struct {
	// Replay Pass `all` to start from the oldest retained event. Ring buffer caps at 1024; older events are evicted and surface as a first `id` greater than 1.
	Replay *StreamTelemetryEventsParamsReplay `form:"replay,omitempty" json:"replay,omitempty"`

	// LastEventID Resume after this sequence number. Omit or send 0 to start from the current position. Sequence numbers are process-monotonic, so any previous value resumes correctly from that point. Takes precedence over `replay` when both are present, so SSE auto-reconnect resumes cleanly instead of re-replaying history.
	LastEventID *string `json:"Last-Event-ID,omitempty"`
}

StreamTelemetryEventsParams defines parameters for StreamTelemetryEvents.

type StreamTelemetryEventsParamsReplay

type StreamTelemetryEventsParamsReplay string

StreamTelemetryEventsParamsReplay defines parameters for StreamTelemetryEvents.

const (
	All StreamTelemetryEventsParamsReplay = "all"
)

Defines values for StreamTelemetryEventsParamsReplay.

func (StreamTelemetryEventsParamsReplay) Valid

Valid indicates whether the value is a known member of the StreamTelemetryEventsParamsReplay enum.

type StreamTelemetryEventsRequestObject

type StreamTelemetryEventsRequestObject struct {
	Params StreamTelemetryEventsParams
}

type StreamTelemetryEventsResponse

type StreamTelemetryEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseStreamTelemetryEventsResponse

func ParseStreamTelemetryEventsResponse(rsp *http.Response) (*StreamTelemetryEventsResponse, error)

ParseStreamTelemetryEventsResponse parses an HTTP response from a StreamTelemetryEventsWithResponse call

func (StreamTelemetryEventsResponse) Status

Status returns HTTPResponse.Status

func (StreamTelemetryEventsResponse) StatusCode

func (r StreamTelemetryEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamTelemetryEventsResponseObject

type StreamTelemetryEventsResponseObject interface {
	VisitStreamTelemetryEventsResponse(w http.ResponseWriter) error
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// Update Chromium launch flags and restart
	// (PATCH /chromium/flags)
	PatchChromiumFlags(ctx context.Context, request PatchChromiumFlagsRequestObject) (PatchChromiumFlagsResponseObject, error)
	// Update Chromium enterprise policies and restart
	// (PATCH /chromium/policies)
	PatchChromiumPolicies(ctx context.Context, request PatchChromiumPoliciesRequestObject) (PatchChromiumPoliciesResponseObject, error)
	// Upload and activate one or more unpacked extensions
	// (POST /chromium/upload-extensions)
	UploadExtensions(ctx context.Context, request UploadExtensionsRequestObject) (UploadExtensionsResponseObject, error)
	// Upload one or more unpacked extensions (as zips) and restart Chromium
	// (POST /chromium/upload-extensions-and-restart)
	UploadExtensionsAndRestart(ctx context.Context, request UploadExtensionsAndRestartRequestObject) (UploadExtensionsAndRestartResponseObject, error)
	// Execute a batch of computer actions sequentially
	// (POST /computer/batch)
	BatchComputerAction(ctx context.Context, request BatchComputerActionRequestObject) (BatchComputerActionResponseObject, error)
	// Simulate a mouse click action on the host computer
	// (POST /computer/click_mouse)
	ClickMouse(ctx context.Context, request ClickMouseRequestObject) (ClickMouseResponseObject, error)
	// Read text from the system clipboard
	// (POST /computer/clipboard/read)
	ReadClipboard(ctx context.Context, request ReadClipboardRequestObject) (ReadClipboardResponseObject, error)
	// Write text to the system clipboard
	// (POST /computer/clipboard/write)
	WriteClipboard(ctx context.Context, request WriteClipboardRequestObject) (WriteClipboardResponseObject, error)
	// Hide or show the cursor
	// (POST /computer/cursor)
	SetCursor(ctx context.Context, request SetCursorRequestObject) (SetCursorResponseObject, error)
	// Drag the mouse along a path
	// (POST /computer/drag_mouse)
	DragMouse(ctx context.Context, request DragMouseRequestObject) (DragMouseResponseObject, error)
	// Get the current mouse cursor position on the host computer
	// (POST /computer/get_mouse_position)
	GetMousePosition(ctx context.Context, request GetMousePositionRequestObject) (GetMousePositionResponseObject, error)
	// Move the mouse cursor to the specified coordinates on the host computer
	// (POST /computer/move_mouse)
	MoveMouse(ctx context.Context, request MoveMouseRequestObject) (MoveMouseResponseObject, error)
	// Press one or more keys on the host computer
	// (POST /computer/press_key)
	PressKey(ctx context.Context, request PressKeyRequestObject) (PressKeyResponseObject, error)
	// Capture a screenshot of the host computer
	// (POST /computer/screenshot)
	TakeScreenshot(ctx context.Context, request TakeScreenshotRequestObject) (TakeScreenshotResponseObject, error)
	// Scroll the mouse wheel at a position on the host computer
	// (POST /computer/scroll)
	Scroll(ctx context.Context, request ScrollRequestObject) (ScrollResponseObject, error)
	// Type text on the host computer
	// (POST /computer/type)
	TypeText(ctx context.Context, request TypeTextRequestObject) (TypeTextResponseObject, error)
	// Apply batched session and browser configuration plus optional navigation
	// (POST /configure)
	ChromiumConfigure(ctx context.Context, request ChromiumConfigureRequestObject) (ChromiumConfigureResponseObject, error)
	// Update display configuration
	// (PATCH /display)
	PatchDisplay(ctx context.Context, request PatchDisplayRequestObject) (PatchDisplayResponseObject, error)
	// Create a new directory
	// (PUT /fs/create_directory)
	CreateDirectory(ctx context.Context, request CreateDirectoryRequestObject) (CreateDirectoryResponseObject, error)
	// Delete a directory
	// (PUT /fs/delete_directory)
	DeleteDirectory(ctx context.Context, request DeleteDirectoryRequestObject) (DeleteDirectoryResponseObject, error)
	// Delete a file
	// (PUT /fs/delete_file)
	DeleteFile(ctx context.Context, request DeleteFileRequestObject) (DeleteFileResponseObject, error)
	// Download a directory as a ZIP archive
	// (GET /fs/download_dir_zip)
	DownloadDirZip(ctx context.Context, request DownloadDirZipRequestObject) (DownloadDirZipResponseObject, error)
	// Download a directory as a tar.zst archive
	// (GET /fs/download_dir_zstd)
	DownloadDirZstd(ctx context.Context, request DownloadDirZstdRequestObject) (DownloadDirZstdResponseObject, error)
	// Get information about a file or directory
	// (GET /fs/file_info)
	FileInfo(ctx context.Context, request FileInfoRequestObject) (FileInfoResponseObject, error)
	// List files in a directory
	// (GET /fs/list_files)
	ListFiles(ctx context.Context, request ListFilesRequestObject) (ListFilesResponseObject, error)
	// Move or rename a file or directory
	// (PUT /fs/move)
	MovePath(ctx context.Context, request MovePathRequestObject) (MovePathResponseObject, error)
	// Read file contents
	// (GET /fs/read_file)
	ReadFile(ctx context.Context, request ReadFileRequestObject) (ReadFileResponseObject, error)
	// Set file or directory permissions/ownership
	// (PUT /fs/set_file_permissions)
	SetFilePermissions(ctx context.Context, request SetFilePermissionsRequestObject) (SetFilePermissionsResponseObject, error)
	// Upload one or more files
	// (POST /fs/upload)
	UploadFiles(ctx context.Context, request UploadFilesRequestObject) (UploadFilesResponseObject, error)
	// Upload a zip archive and extract it
	// (POST /fs/upload_zip)
	UploadZip(ctx context.Context, request UploadZipRequestObject) (UploadZipResponseObject, error)
	// Upload a tar.zst archive and extract it
	// (POST /fs/upload_zstd)
	UploadZstd(ctx context.Context, request UploadZstdRequestObject) (UploadZstdResponseObject, error)
	// Watch a directory for changes
	// (POST /fs/watch)
	StartFsWatch(ctx context.Context, request StartFsWatchRequestObject) (StartFsWatchResponseObject, error)
	// Stop watching a directory
	// (DELETE /fs/watch/{watch_id})
	StopFsWatch(ctx context.Context, request StopFsWatchRequestObject) (StopFsWatchResponseObject, error)
	// Stream filesystem events for a watch
	// (GET /fs/watch/{watch_id}/events)
	StreamFsEvents(ctx context.Context, request StreamFsEventsRequestObject) (StreamFsEventsResponseObject, error)
	// Write or create a file
	// (PUT /fs/write_file)
	WriteFile(ctx context.Context, request WriteFileRequestObject) (WriteFileResponseObject, error)
	// Stream logs over SSE
	// (GET /logs/stream)
	LogsStream(ctx context.Context, request LogsStreamRequestObject) (LogsStreamResponseObject, error)
	// Execute Playwright/TypeScript code against the browser
	// (POST /playwright/execute)
	ExecutePlaywrightCode(ctx context.Context, request ExecutePlaywrightCodeRequestObject) (ExecutePlaywrightCodeResponseObject, error)
	// Execute a command synchronously
	// (POST /process/exec)
	ProcessExec(ctx context.Context, request ProcessExecRequestObject) (ProcessExecResponseObject, error)
	// Execute a command asynchronously
	// (POST /process/spawn)
	ProcessSpawn(ctx context.Context, request ProcessSpawnRequestObject) (ProcessSpawnResponseObject, error)
	// Send signal to process
	// (POST /process/{process_id}/kill)
	ProcessKill(ctx context.Context, request ProcessKillRequestObject) (ProcessKillResponseObject, error)
	// Resize a PTY-backed process
	// (POST /process/{process_id}/resize)
	ProcessResize(ctx context.Context, request ProcessResizeRequestObject) (ProcessResizeResponseObject, error)
	// Get process status
	// (GET /process/{process_id}/status)
	ProcessStatus(ctx context.Context, request ProcessStatusRequestObject) (ProcessStatusResponseObject, error)
	// Write to process stdin
	// (POST /process/{process_id}/stdin)
	ProcessStdin(ctx context.Context, request ProcessStdinRequestObject) (ProcessStdinResponseObject, error)
	// Stream process stdout over SSE
	// (GET /process/{process_id}/stdout/stream)
	ProcessStdoutStream(ctx context.Context, request ProcessStdoutStreamRequestObject) (ProcessStdoutStreamResponseObject, error)
	// Delete a previously recorded video file
	// (POST /recording/delete)
	DeleteRecording(ctx context.Context, request DeleteRecordingRequestObject) (DeleteRecordingResponseObject, error)
	// Download the most recently recorded video file
	// (GET /recording/download)
	DownloadRecording(ctx context.Context, request DownloadRecordingRequestObject) (DownloadRecordingResponseObject, error)
	// List all recorders
	// (GET /recording/list)
	ListRecorders(ctx context.Context, request ListRecordersRequestObject) (ListRecordersResponseObject, error)
	// Add a named marker to an in-progress recording
	// (POST /recording/mark)
	MarkRecording(ctx context.Context, request MarkRecordingRequestObject) (MarkRecordingResponseObject, error)
	// Start a screen recording. Only one recording per ID can be registered at a time.
	// (POST /recording/start)
	StartRecording(ctx context.Context, request StartRecordingRequestObject) (StartRecordingResponseObject, error)
	// Stop the recording
	// (POST /recording/stop)
	StopRecording(ctx context.Context, request StopRecordingRequestObject) (StopRecordingResponseObject, error)
	// Idempotently disable scale to zero on this VM.
	// (POST /scaletozero/disable)
	DisableScaleToZero(ctx context.Context, request DisableScaleToZeroRequestObject) (DisableScaleToZeroResponseObject, error)
	// Idempotently enable scale to zero on this VM.
	// (POST /scaletozero/enable)
	EnableScaleToZero(ctx context.Context, request EnableScaleToZeroRequestObject) (EnableScaleToZeroResponseObject, error)
	// Get telemetry configuration
	// (GET /telemetry)
	GetTelemetry(ctx context.Context, request GetTelemetryRequestObject) (GetTelemetryResponseObject, error)
	// Update telemetry configuration
	// (PATCH /telemetry)
	PatchTelemetry(ctx context.Context, request PatchTelemetryRequestObject) (PatchTelemetryResponseObject, error)
	// Set telemetry configuration
	// (PUT /telemetry)
	PutTelemetry(ctx context.Context, request PutTelemetryRequestObject) (PutTelemetryResponseObject, error)
	// Publish an event into the telemetry stream
	// (POST /telemetry/events)
	PublishTelemetryEvent(ctx context.Context, request PublishTelemetryEventRequestObject) (PublishTelemetryEventResponseObject, error)
	// Stream telemetry events as Server-Sent Events
	// (GET /telemetry/stream)
	StreamTelemetryEvents(ctx context.Context, request StreamTelemetryEventsRequestObject) (StreamTelemetryEventsResponseObject, error)
	// Invoke a discovered WebMCP tool
	// (POST /webmcp/invoke)
	InvokeWebMCPTool(ctx context.Context, request InvokeWebMCPToolRequestObject) (InvokeWebMCPToolResponseObject, error)
	// Discover WebMCP tools across the browser
	// (GET /webmcp/tools)
	GetWebMCPTools(ctx context.Context, request GetWebMCPToolsRequestObject) (GetWebMCPToolsResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TakeScreenshot200ImagepngResponse

type TakeScreenshot200ImagepngResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (TakeScreenshot200ImagepngResponse) VisitTakeScreenshotResponse

func (response TakeScreenshot200ImagepngResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error

type TakeScreenshot400JSONResponse

type TakeScreenshot400JSONResponse struct{ BadRequestErrorJSONResponse }

func (TakeScreenshot400JSONResponse) VisitTakeScreenshotResponse

func (response TakeScreenshot400JSONResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error

type TakeScreenshot500JSONResponse

type TakeScreenshot500JSONResponse struct{ InternalErrorJSONResponse }

func (TakeScreenshot500JSONResponse) VisitTakeScreenshotResponse

func (response TakeScreenshot500JSONResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error

type TakeScreenshotJSONRequestBody

type TakeScreenshotJSONRequestBody = ScreenshotRequest

TakeScreenshotJSONRequestBody defines body for TakeScreenshot for application/json ContentType.

type TakeScreenshotRequestObject

type TakeScreenshotRequestObject struct {
	Body *TakeScreenshotJSONRequestBody
}

type TakeScreenshotResponse

type TakeScreenshotResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseTakeScreenshotResponse

func ParseTakeScreenshotResponse(rsp *http.Response) (*TakeScreenshotResponse, error)

ParseTakeScreenshotResponse parses an HTTP response from a TakeScreenshotWithResponse call

func (TakeScreenshotResponse) Status

func (r TakeScreenshotResponse) Status() string

Status returns HTTPResponse.Status

func (TakeScreenshotResponse) StatusCode

func (r TakeScreenshotResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TakeScreenshotResponseObject

type TakeScreenshotResponseObject interface {
	VisitTakeScreenshotResponse(w http.ResponseWriter) error
}

type TelemetryEnvelope

type TelemetryEnvelope struct {
	// Event A telemetry event. The wire-level event shape accepted by the publish endpoint and emitted on the SSE stream. Arbitrary `type` strings and `data` payloads are admitted. For browser events emitted by the Kernel image, `data` conforms to the per-type schema documented in the `Browser*Event` / `Browser*EventData` definitions, selected by `type`.
	Event TelemetryEvent `json:"event"`

	// Seq Process-monotonic sequence number assigned across the lifetime of the server. Use with Last-Event-ID to resume the SSE stream from this point.
	Seq int64 `json:"seq"`
}

TelemetryEnvelope The envelope assigned to a successfully published event.

type TelemetryEvent

type TelemetryEvent struct {
	// Category Event category.
	Category *TelemetryEventCategory `json:"category,omitempty"`

	// Data Arbitrary JSON payload. For browser events listed in `KnownBrowserTelemetryEvent`, the payload conforms to the corresponding `Browser*EventData` schema.
	Data interface{} `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source *BrowserEventSource `json:"source,omitempty"`

	// Truncated Set by the server when the data field was truncated to fit the size limit.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Unix timestamp in microseconds. Defaults to the current time when omitted.
	Ts *int64 `json:"ts,omitempty"`

	// Type Event type identifier.
	Type string `json:"type"`
}

TelemetryEvent A telemetry event. The wire-level event shape accepted by the publish endpoint and emitted on the SSE stream. Arbitrary `type` strings and `data` payloads are admitted. For browser events emitted by the Kernel image, `data` conforms to the per-type schema documented in the `Browser*Event` / `Browser*EventData` definitions, selected by `type`.

type TelemetryEventCategory

type TelemetryEventCategory string

TelemetryEventCategory Event category.

const (
	TelemetryEventCategoryCaptcha     TelemetryEventCategory = "captcha"
	TelemetryEventCategoryConnection  TelemetryEventCategory = "connection"
	TelemetryEventCategoryConsole     TelemetryEventCategory = "console"
	TelemetryEventCategoryControl     TelemetryEventCategory = "control"
	TelemetryEventCategoryInteraction TelemetryEventCategory = "interaction"
	TelemetryEventCategoryMonitor     TelemetryEventCategory = "monitor"
	TelemetryEventCategoryNetwork     TelemetryEventCategory = "network"
	TelemetryEventCategoryPage        TelemetryEventCategory = "page"
	TelemetryEventCategoryPlatform    TelemetryEventCategory = "platform"
	TelemetryEventCategoryScreenshot  TelemetryEventCategory = "screenshot"
	TelemetryEventCategorySystem      TelemetryEventCategory = "system"
)

Defines values for TelemetryEventCategory.

func (TelemetryEventCategory) Valid

func (e TelemetryEventCategory) Valid() bool

Valid indicates whether the value is a known member of the TelemetryEventCategory enum.

type TelemetryState

type TelemetryState struct {
	// AppliedAt Wall-clock time at which the current configuration was applied. Omitted when telemetry is not configured.
	AppliedAt *time.Time `json:"applied_at,omitempty"`

	// Config Telemetry configuration for a browser. Selection is opt-in. Omit the browser key (or send an empty object) to capture the default set: lightweight operational signals (control, connection, system, captcha). Within `browser`, only the categories you set enabled: true are captured; anything omitted is off. The CDP categories (console, network, page, interaction), `screenshot` and `platform` are off by default and must be opted into. A `browser` config with nothing enabled clears the telemetry configuration. The `monitor` category (CDP collector health) is not configurable here; it flows automatically whenever a CDP category is captured.
	Config BrowserTelemetryConfig `json:"config"`

	// DroppedEvents Cumulative number of buffered events a consumer missed because it fell behind the ring, summed across consumers and configuration changes. A rising count means the stream is being produced faster than it is being read; a steady one means nothing has been lost. Always present on images that report it; absent on an image predating the field, which is not the same as zero.
	DroppedEvents *int64 `json:"dropped_events,omitempty"`

	// Seq Process-monotonic sequence number of the last published event. Does not reset across configuration changes.
	Seq int64 `json:"seq"`
}

TelemetryState Current telemetry configuration.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type TypeText200Response

type TypeText200Response struct {
}

func (TypeText200Response) VisitTypeTextResponse

func (response TypeText200Response) VisitTypeTextResponse(w http.ResponseWriter) error

type TypeText400JSONResponse

type TypeText400JSONResponse struct{ BadRequestErrorJSONResponse }

func (TypeText400JSONResponse) VisitTypeTextResponse

func (response TypeText400JSONResponse) VisitTypeTextResponse(w http.ResponseWriter) error

type TypeText500JSONResponse

type TypeText500JSONResponse struct{ InternalErrorJSONResponse }

func (TypeText500JSONResponse) VisitTypeTextResponse

func (response TypeText500JSONResponse) VisitTypeTextResponse(w http.ResponseWriter) error

type TypeTextJSONRequestBody

type TypeTextJSONRequestBody = TypeTextRequest

TypeTextJSONRequestBody defines body for TypeText for application/json ContentType.

type TypeTextRequest

type TypeTextRequest struct {
	// Delay Delay in milliseconds between keystrokes. Ignored when smooth is true.
	Delay *int `json:"delay,omitempty"`

	// Smooth Use human-like variable keystroke timing instead of a fixed delay.
	// Defaults to true (same as moveMouse/dragMouse). Set to false for
	// xdotool typing with an optional fixed delay between keys (delay=0 is instant).
	// When true, text is typed in word-sized chunks with variable intra-word delays
	// and natural inter-word pauses. The delay field is ignored when smooth is true.
	Smooth *bool `json:"smooth,omitempty"`

	// Text Text to type on the host computer
	Text string `json:"text"`

	// TypoChance Per-character typo injection rate; mistakes are corrected with backspace.
	// Default 0. Only applies when smooth is true (silently ignored when
	// smooth is false).
	TypoChance *float32 `json:"typo_chance,omitempty"`
}

TypeTextRequest defines model for TypeTextRequest.

type TypeTextRequestObject

type TypeTextRequestObject struct {
	Body *TypeTextJSONRequestBody
}

type TypeTextResponse

type TypeTextResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseTypeTextResponse

func ParseTypeTextResponse(rsp *http.Response) (*TypeTextResponse, error)

ParseTypeTextResponse parses an HTTP response from a TypeTextWithResponse call

func (TypeTextResponse) Status

func (r TypeTextResponse) Status() string

Status returns HTTPResponse.Status

func (TypeTextResponse) StatusCode

func (r TypeTextResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TypeTextResponseObject

type TypeTextResponseObject interface {
	VisitTypeTextResponse(w http.ResponseWriter) error
}

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) BatchComputerAction

func (_ Unimplemented) BatchComputerAction(w http.ResponseWriter, r *http.Request)

Execute a batch of computer actions sequentially (POST /computer/batch)

func (Unimplemented) ChromiumConfigure

func (_ Unimplemented) ChromiumConfigure(w http.ResponseWriter, r *http.Request, params ChromiumConfigureParams)

Apply batched session and browser configuration plus optional navigation (POST /configure)

func (Unimplemented) ClickMouse

func (_ Unimplemented) ClickMouse(w http.ResponseWriter, r *http.Request)

Simulate a mouse click action on the host computer (POST /computer/click_mouse)

func (Unimplemented) CreateDirectory

func (_ Unimplemented) CreateDirectory(w http.ResponseWriter, r *http.Request)

Create a new directory (PUT /fs/create_directory)

func (Unimplemented) DeleteDirectory

func (_ Unimplemented) DeleteDirectory(w http.ResponseWriter, r *http.Request)

Delete a directory (PUT /fs/delete_directory)

func (Unimplemented) DeleteFile

func (_ Unimplemented) DeleteFile(w http.ResponseWriter, r *http.Request)

Delete a file (PUT /fs/delete_file)

func (Unimplemented) DeleteRecording

func (_ Unimplemented) DeleteRecording(w http.ResponseWriter, r *http.Request)

Delete a previously recorded video file (POST /recording/delete)

func (Unimplemented) DisableScaleToZero

func (_ Unimplemented) DisableScaleToZero(w http.ResponseWriter, r *http.Request)

Idempotently disable scale to zero on this VM. (POST /scaletozero/disable)

func (Unimplemented) DownloadDirZip

func (_ Unimplemented) DownloadDirZip(w http.ResponseWriter, r *http.Request, params DownloadDirZipParams)

Download a directory as a ZIP archive (GET /fs/download_dir_zip)

func (Unimplemented) DownloadDirZstd

func (_ Unimplemented) DownloadDirZstd(w http.ResponseWriter, r *http.Request, params DownloadDirZstdParams)

Download a directory as a tar.zst archive (GET /fs/download_dir_zstd)

func (Unimplemented) DownloadRecording

func (_ Unimplemented) DownloadRecording(w http.ResponseWriter, r *http.Request, params DownloadRecordingParams)

Download the most recently recorded video file (GET /recording/download)

func (Unimplemented) DragMouse

func (_ Unimplemented) DragMouse(w http.ResponseWriter, r *http.Request)

Drag the mouse along a path (POST /computer/drag_mouse)

func (Unimplemented) EnableScaleToZero

func (_ Unimplemented) EnableScaleToZero(w http.ResponseWriter, r *http.Request)

Idempotently enable scale to zero on this VM. (POST /scaletozero/enable)

func (Unimplemented) ExecutePlaywrightCode

func (_ Unimplemented) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)

Execute Playwright/TypeScript code against the browser (POST /playwright/execute)

func (Unimplemented) FileInfo

func (_ Unimplemented) FileInfo(w http.ResponseWriter, r *http.Request, params FileInfoParams)

Get information about a file or directory (GET /fs/file_info)

func (Unimplemented) GetMousePosition

func (_ Unimplemented) GetMousePosition(w http.ResponseWriter, r *http.Request)

Get the current mouse cursor position on the host computer (POST /computer/get_mouse_position)

func (Unimplemented) GetTelemetry

func (_ Unimplemented) GetTelemetry(w http.ResponseWriter, r *http.Request)

Get telemetry configuration (GET /telemetry)

func (Unimplemented) GetWebMCPTools

func (_ Unimplemented) GetWebMCPTools(w http.ResponseWriter, r *http.Request)

Discover WebMCP tools across the browser (GET /webmcp/tools)

func (Unimplemented) InvokeWebMCPTool

func (_ Unimplemented) InvokeWebMCPTool(w http.ResponseWriter, r *http.Request)

Invoke a discovered WebMCP tool (POST /webmcp/invoke)

func (Unimplemented) ListFiles

func (_ Unimplemented) ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)

List files in a directory (GET /fs/list_files)

func (Unimplemented) ListRecorders

func (_ Unimplemented) ListRecorders(w http.ResponseWriter, r *http.Request)

List all recorders (GET /recording/list)

func (Unimplemented) LogsStream

func (_ Unimplemented) LogsStream(w http.ResponseWriter, r *http.Request, params LogsStreamParams)

Stream logs over SSE (GET /logs/stream)

func (Unimplemented) MarkRecording

func (_ Unimplemented) MarkRecording(w http.ResponseWriter, r *http.Request)

Add a named marker to an in-progress recording (POST /recording/mark)

func (Unimplemented) MoveMouse

func (_ Unimplemented) MoveMouse(w http.ResponseWriter, r *http.Request)

Move the mouse cursor to the specified coordinates on the host computer (POST /computer/move_mouse)

func (Unimplemented) MovePath

func (_ Unimplemented) MovePath(w http.ResponseWriter, r *http.Request)

Move or rename a file or directory (PUT /fs/move)

func (Unimplemented) PatchChromiumFlags

func (_ Unimplemented) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)

Update Chromium launch flags and restart (PATCH /chromium/flags)

func (Unimplemented) PatchChromiumPolicies

func (_ Unimplemented) PatchChromiumPolicies(w http.ResponseWriter, r *http.Request)

Update Chromium enterprise policies and restart (PATCH /chromium/policies)

func (Unimplemented) PatchDisplay

func (_ Unimplemented) PatchDisplay(w http.ResponseWriter, r *http.Request)

Update display configuration (PATCH /display)

func (Unimplemented) PatchTelemetry

func (_ Unimplemented) PatchTelemetry(w http.ResponseWriter, r *http.Request)

Update telemetry configuration (PATCH /telemetry)

func (Unimplemented) PressKey

func (_ Unimplemented) PressKey(w http.ResponseWriter, r *http.Request)

Press one or more keys on the host computer (POST /computer/press_key)

func (Unimplemented) ProcessExec

func (_ Unimplemented) ProcessExec(w http.ResponseWriter, r *http.Request)

Execute a command synchronously (POST /process/exec)

func (Unimplemented) ProcessKill

func (_ Unimplemented) ProcessKill(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)

Send signal to process (POST /process/{process_id}/kill)

func (Unimplemented) ProcessResize

func (_ Unimplemented) ProcessResize(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)

Resize a PTY-backed process (POST /process/{process_id}/resize)

func (Unimplemented) ProcessSpawn

func (_ Unimplemented) ProcessSpawn(w http.ResponseWriter, r *http.Request)

Execute a command asynchronously (POST /process/spawn)

func (Unimplemented) ProcessStatus

func (_ Unimplemented) ProcessStatus(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)

Get process status (GET /process/{process_id}/status)

func (Unimplemented) ProcessStdin

func (_ Unimplemented) ProcessStdin(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)

Write to process stdin (POST /process/{process_id}/stdin)

func (Unimplemented) ProcessStdoutStream

func (_ Unimplemented) ProcessStdoutStream(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)

Stream process stdout over SSE (GET /process/{process_id}/stdout/stream)

func (Unimplemented) PublishTelemetryEvent

func (_ Unimplemented) PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)

Publish an event into the telemetry stream (POST /telemetry/events)

func (Unimplemented) PutTelemetry

func (_ Unimplemented) PutTelemetry(w http.ResponseWriter, r *http.Request)

Set telemetry configuration (PUT /telemetry)

func (Unimplemented) ReadClipboard

func (_ Unimplemented) ReadClipboard(w http.ResponseWriter, r *http.Request)

Read text from the system clipboard (POST /computer/clipboard/read)

func (Unimplemented) ReadFile

func (_ Unimplemented) ReadFile(w http.ResponseWriter, r *http.Request, params ReadFileParams)

Read file contents (GET /fs/read_file)

func (Unimplemented) Scroll

func (_ Unimplemented) Scroll(w http.ResponseWriter, r *http.Request)

Scroll the mouse wheel at a position on the host computer (POST /computer/scroll)

func (Unimplemented) SetCursor

func (_ Unimplemented) SetCursor(w http.ResponseWriter, r *http.Request)

Hide or show the cursor (POST /computer/cursor)

func (Unimplemented) SetFilePermissions

func (_ Unimplemented) SetFilePermissions(w http.ResponseWriter, r *http.Request)

Set file or directory permissions/ownership (PUT /fs/set_file_permissions)

func (Unimplemented) StartFsWatch

func (_ Unimplemented) StartFsWatch(w http.ResponseWriter, r *http.Request)

Watch a directory for changes (POST /fs/watch)

func (Unimplemented) StartRecording

func (_ Unimplemented) StartRecording(w http.ResponseWriter, r *http.Request)

Start a screen recording. Only one recording per ID can be registered at a time. (POST /recording/start)

func (Unimplemented) StopFsWatch

func (_ Unimplemented) StopFsWatch(w http.ResponseWriter, r *http.Request, watchId string)

Stop watching a directory (DELETE /fs/watch/{watch_id})

func (Unimplemented) StopRecording

func (_ Unimplemented) StopRecording(w http.ResponseWriter, r *http.Request)

Stop the recording (POST /recording/stop)

func (Unimplemented) StreamFsEvents

func (_ Unimplemented) StreamFsEvents(w http.ResponseWriter, r *http.Request, watchId string)

Stream filesystem events for a watch (GET /fs/watch/{watch_id}/events)

func (Unimplemented) StreamTelemetryEvents

func (_ Unimplemented) StreamTelemetryEvents(w http.ResponseWriter, r *http.Request, params StreamTelemetryEventsParams)

Stream telemetry events as Server-Sent Events (GET /telemetry/stream)

func (Unimplemented) TakeScreenshot

func (_ Unimplemented) TakeScreenshot(w http.ResponseWriter, r *http.Request)

Capture a screenshot of the host computer (POST /computer/screenshot)

func (Unimplemented) TypeText

func (_ Unimplemented) TypeText(w http.ResponseWriter, r *http.Request)

Type text on the host computer (POST /computer/type)

func (Unimplemented) UploadExtensions

func (_ Unimplemented) UploadExtensions(w http.ResponseWriter, r *http.Request)

Upload and activate one or more unpacked extensions (POST /chromium/upload-extensions)

func (Unimplemented) UploadExtensionsAndRestart

func (_ Unimplemented) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)

Upload one or more unpacked extensions (as zips) and restart Chromium (POST /chromium/upload-extensions-and-restart)

func (Unimplemented) UploadFiles

func (_ Unimplemented) UploadFiles(w http.ResponseWriter, r *http.Request)

Upload one or more files (POST /fs/upload)

func (Unimplemented) UploadZip

func (_ Unimplemented) UploadZip(w http.ResponseWriter, r *http.Request)

Upload a zip archive and extract it (POST /fs/upload_zip)

func (Unimplemented) UploadZstd

func (_ Unimplemented) UploadZstd(w http.ResponseWriter, r *http.Request)

Upload a tar.zst archive and extract it (POST /fs/upload_zstd)

func (Unimplemented) WriteClipboard

func (_ Unimplemented) WriteClipboard(w http.ResponseWriter, r *http.Request)

Write text to the system clipboard (POST /computer/clipboard/write)

func (Unimplemented) WriteFile

func (_ Unimplemented) WriteFile(w http.ResponseWriter, r *http.Request, params WriteFileParams)

Write or create a file (PUT /fs/write_file)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UploadExtensions201Response

type UploadExtensions201Response struct {
}

func (UploadExtensions201Response) VisitUploadExtensionsResponse

func (response UploadExtensions201Response) VisitUploadExtensionsResponse(w http.ResponseWriter) error

type UploadExtensions400JSONResponse

type UploadExtensions400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadExtensions400JSONResponse) VisitUploadExtensionsResponse

func (response UploadExtensions400JSONResponse) VisitUploadExtensionsResponse(w http.ResponseWriter) error

type UploadExtensions500JSONResponse

type UploadExtensions500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadExtensions500JSONResponse) VisitUploadExtensionsResponse

func (response UploadExtensions500JSONResponse) VisitUploadExtensionsResponse(w http.ResponseWriter) error

type UploadExtensionsAndRestart201Response

type UploadExtensionsAndRestart201Response struct {
}

func (UploadExtensionsAndRestart201Response) VisitUploadExtensionsAndRestartResponse

func (response UploadExtensionsAndRestart201Response) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error

type UploadExtensionsAndRestart400JSONResponse

type UploadExtensionsAndRestart400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadExtensionsAndRestart400JSONResponse) VisitUploadExtensionsAndRestartResponse

func (response UploadExtensionsAndRestart400JSONResponse) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error

type UploadExtensionsAndRestart500JSONResponse

type UploadExtensionsAndRestart500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadExtensionsAndRestart500JSONResponse) VisitUploadExtensionsAndRestartResponse

func (response UploadExtensionsAndRestart500JSONResponse) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error

type UploadExtensionsAndRestartMultipartRequestBody

type UploadExtensionsAndRestartMultipartRequestBody = ExtensionUploadMultipart

UploadExtensionsAndRestartMultipartRequestBody defines body for UploadExtensionsAndRestart for multipart/form-data ContentType.

type UploadExtensionsAndRestartRequestObject

type UploadExtensionsAndRestartRequestObject struct {
	Body *multipart.Reader
}

type UploadExtensionsAndRestartResponse

type UploadExtensionsAndRestartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseUploadExtensionsAndRestartResponse

func ParseUploadExtensionsAndRestartResponse(rsp *http.Response) (*UploadExtensionsAndRestartResponse, error)

ParseUploadExtensionsAndRestartResponse parses an HTTP response from a UploadExtensionsAndRestartWithResponse call

func (UploadExtensionsAndRestartResponse) Status

Status returns HTTPResponse.Status

func (UploadExtensionsAndRestartResponse) StatusCode

func (r UploadExtensionsAndRestartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadExtensionsAndRestartResponseObject

type UploadExtensionsAndRestartResponseObject interface {
	VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error
}

type UploadExtensionsMultipartRequestBody

type UploadExtensionsMultipartRequestBody = ExtensionUploadMultipart

UploadExtensionsMultipartRequestBody defines body for UploadExtensions for multipart/form-data ContentType.

type UploadExtensionsRequestObject

type UploadExtensionsRequestObject struct {
	Body *multipart.Reader
}

type UploadExtensionsResponse

type UploadExtensionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseUploadExtensionsResponse

func ParseUploadExtensionsResponse(rsp *http.Response) (*UploadExtensionsResponse, error)

ParseUploadExtensionsResponse parses an HTTP response from a UploadExtensionsWithResponse call

func (UploadExtensionsResponse) Status

func (r UploadExtensionsResponse) Status() string

Status returns HTTPResponse.Status

func (UploadExtensionsResponse) StatusCode

func (r UploadExtensionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadExtensionsResponseObject

type UploadExtensionsResponseObject interface {
	VisitUploadExtensionsResponse(w http.ResponseWriter) error
}

type UploadFiles201Response

type UploadFiles201Response struct {
}

func (UploadFiles201Response) VisitUploadFilesResponse

func (response UploadFiles201Response) VisitUploadFilesResponse(w http.ResponseWriter) error

type UploadFiles400JSONResponse

type UploadFiles400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadFiles400JSONResponse) VisitUploadFilesResponse

func (response UploadFiles400JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error

type UploadFiles404JSONResponse

type UploadFiles404JSONResponse struct{ NotFoundErrorJSONResponse }

func (UploadFiles404JSONResponse) VisitUploadFilesResponse

func (response UploadFiles404JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error

type UploadFiles500JSONResponse

type UploadFiles500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadFiles500JSONResponse) VisitUploadFilesResponse

func (response UploadFiles500JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error

type UploadFilesMultipartBody

type UploadFilesMultipartBody struct {
	Files []struct {
		// DestPath Absolute destination path to write the file.
		DestPath string             `json:"dest_path"`
		File     openapi_types.File `json:"file"`
	} `json:"files"`
}

UploadFilesMultipartBody defines parameters for UploadFiles.

type UploadFilesMultipartRequestBody

type UploadFilesMultipartRequestBody UploadFilesMultipartBody

UploadFilesMultipartRequestBody defines body for UploadFiles for multipart/form-data ContentType.

type UploadFilesRequestObject

type UploadFilesRequestObject struct {
	Body *multipart.Reader
}

type UploadFilesResponse

type UploadFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseUploadFilesResponse

func ParseUploadFilesResponse(rsp *http.Response) (*UploadFilesResponse, error)

ParseUploadFilesResponse parses an HTTP response from a UploadFilesWithResponse call

func (UploadFilesResponse) Status

func (r UploadFilesResponse) Status() string

Status returns HTTPResponse.Status

func (UploadFilesResponse) StatusCode

func (r UploadFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadFilesResponseObject

type UploadFilesResponseObject interface {
	VisitUploadFilesResponse(w http.ResponseWriter) error
}

type UploadZip201Response

type UploadZip201Response struct {
}

func (UploadZip201Response) VisitUploadZipResponse

func (response UploadZip201Response) VisitUploadZipResponse(w http.ResponseWriter) error

type UploadZip400JSONResponse

type UploadZip400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadZip400JSONResponse) VisitUploadZipResponse

func (response UploadZip400JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error

type UploadZip404JSONResponse

type UploadZip404JSONResponse struct{ NotFoundErrorJSONResponse }

func (UploadZip404JSONResponse) VisitUploadZipResponse

func (response UploadZip404JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error

type UploadZip500JSONResponse

type UploadZip500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadZip500JSONResponse) VisitUploadZipResponse

func (response UploadZip500JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error

type UploadZipMultipartBody

type UploadZipMultipartBody struct {
	// DestPath Absolute destination directory to extract the archive to.
	DestPath string             `json:"dest_path"`
	ZipFile  openapi_types.File `json:"zip_file"`
}

UploadZipMultipartBody defines parameters for UploadZip.

type UploadZipMultipartRequestBody

type UploadZipMultipartRequestBody UploadZipMultipartBody

UploadZipMultipartRequestBody defines body for UploadZip for multipart/form-data ContentType.

type UploadZipRequestObject

type UploadZipRequestObject struct {
	Body *multipart.Reader
}

type UploadZipResponse

type UploadZipResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseUploadZipResponse

func ParseUploadZipResponse(rsp *http.Response) (*UploadZipResponse, error)

ParseUploadZipResponse parses an HTTP response from a UploadZipWithResponse call

func (UploadZipResponse) Status

func (r UploadZipResponse) Status() string

Status returns HTTPResponse.Status

func (UploadZipResponse) StatusCode

func (r UploadZipResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadZipResponseObject

type UploadZipResponseObject interface {
	VisitUploadZipResponse(w http.ResponseWriter) error
}

type UploadZstd201Response

type UploadZstd201Response struct {
}

func (UploadZstd201Response) VisitUploadZstdResponse

func (response UploadZstd201Response) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd400JSONResponse

type UploadZstd400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadZstd400JSONResponse) VisitUploadZstdResponse

func (response UploadZstd400JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd404JSONResponse

type UploadZstd404JSONResponse struct{ NotFoundErrorJSONResponse }

func (UploadZstd404JSONResponse) VisitUploadZstdResponse

func (response UploadZstd404JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd500JSONResponse

type UploadZstd500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadZstd500JSONResponse) VisitUploadZstdResponse

func (response UploadZstd500JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstdMultipartBody

type UploadZstdMultipartBody struct {
	// Archive The tar.zst archive file.
	Archive openapi_types.File `json:"archive"`

	// DestPath Absolute destination directory to extract the archive to.
	DestPath string `json:"dest_path"`

	// StripComponents Number of leading path components to strip during extraction (like tar --strip-components).
	StripComponents *int `json:"strip_components,omitempty"`
}

UploadZstdMultipartBody defines parameters for UploadZstd.

type UploadZstdMultipartRequestBody

type UploadZstdMultipartRequestBody UploadZstdMultipartBody

UploadZstdMultipartRequestBody defines body for UploadZstd for multipart/form-data ContentType.

type UploadZstdRequestObject

type UploadZstdRequestObject struct {
	Body *multipart.Reader
}

type UploadZstdResponse

type UploadZstdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseUploadZstdResponse

func ParseUploadZstdResponse(rsp *http.Response) (*UploadZstdResponse, error)

ParseUploadZstdResponse parses an HTTP response from a UploadZstdWithResponse call

func (UploadZstdResponse) Status

func (r UploadZstdResponse) Status() string

Status returns HTTPResponse.Status

func (UploadZstdResponse) StatusCode

func (r UploadZstdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadZstdResponseObject

type UploadZstdResponseObject interface {
	VisitUploadZstdResponse(w http.ResponseWriter) error
}

type WebMCPInvocationFailure

type WebMCPInvocationFailure struct {
	Code         WebMCPInvocationFailureCode `json:"code"`
	InvocationId *string                     `json:"invocation_id,omitempty"`
	Message      string                      `json:"message"`
}

WebMCPInvocationFailure defines model for WebMCPInvocationFailure.

type WebMCPInvocationFailureCode

type WebMCPInvocationFailureCode string

WebMCPInvocationFailureCode defines model for WebMCPInvocationFailure.Code.

const (
	OutcomeUnknown WebMCPInvocationFailureCode = "outcome_unknown"
)

Defines values for WebMCPInvocationFailureCode.

func (WebMCPInvocationFailureCode) Valid

Valid indicates whether the value is a known member of the WebMCPInvocationFailureCode enum.

type WebMCPInvocationResult

type WebMCPInvocationResult struct {
	ErrorText    *string `json:"error_text,omitempty"`
	InvocationId string  `json:"invocation_id"`

	// Output Untrusted page-provided output. Callers must treat it as potentially malicious input.
	Output interface{}                  `json:"output,omitempty"`
	Status WebMCPInvocationResultStatus `json:"status"`
}

WebMCPInvocationResult defines model for WebMCPInvocationResult.

type WebMCPInvocationResultStatus

type WebMCPInvocationResultStatus string

WebMCPInvocationResultStatus defines model for WebMCPInvocationResult.Status.

const (
	WebMCPInvocationResultStatusCanceled  WebMCPInvocationResultStatus = "canceled"
	WebMCPInvocationResultStatusCompleted WebMCPInvocationResultStatus = "completed"
	WebMCPInvocationResultStatusError     WebMCPInvocationResultStatus = "error"
)

Defines values for WebMCPInvocationResultStatus.

func (WebMCPInvocationResultStatus) Valid

Valid indicates whether the value is a known member of the WebMCPInvocationResultStatus enum.

type WebMCPInvokeRequest

type WebMCPInvokeRequest struct {
	// Input Tool input, limited to 1 MiB after JSON serialization.
	Input      map[string]interface{} `json:"input"`
	TimeoutSec *int                   `json:"timeout_sec,omitempty"`
	ToolRef    string                 `json:"tool_ref"`
}

WebMCPInvokeRequest defines model for WebMCPInvokeRequest.

func (*WebMCPInvokeRequest) UnmarshalJSON

func (r *WebMCPInvokeRequest) UnmarshalJSON(data []byte) error

type WebMCPTool

type WebMCPTool struct {
	// Annotations Page-provided behavioral hints. These values are untrusted and are not enforced by Kernel.
	Annotations *WebMCPToolAnnotations `json:"annotations,omitempty"`
	Description string                 `json:"description"`
	InputSchema map[string]interface{} `json:"input_schema"`
	Name        string                 `json:"name"`
	Source      WebMCPToolSource       `json:"source"`

	// ToolRef Opaque reference for invoking this exact live registration. It becomes invalid when its document or browser process is replaced.
	ToolRef string `json:"tool_ref"`
}

WebMCPTool defines model for WebMCPTool.

type WebMCPToolAnnotations

type WebMCPToolAnnotations struct {
	Autosubmit       bool `json:"autosubmit"`
	Consequential    bool `json:"consequential"`
	ReadOnly         bool `json:"read_only"`
	UntrustedContent bool `json:"untrusted_content"`
}

WebMCPToolAnnotations Page-provided behavioral hints. These values are untrusted and are not enforced by Kernel.

type WebMCPToolFrame

type WebMCPToolFrame struct {
	// FrameId Monotonically increasing identifier for this embedded frame during the current browser process.
	FrameId int `json:"frame_id"`

	// Url Current frame URL with the fragment omitted.
	Url string `json:"url"`
}

WebMCPToolFrame defines model for WebMCPToolFrame.

type WebMCPToolSource

type WebMCPToolSource struct {
	// Frame Embedded frame that registered the tool, or null when the top-level page registered it.
	Frame *WebMCPToolFrame `json:"frame"`

	// PageTitle Current title of the top-level page.
	PageTitle string `json:"page_title"`

	// PageUrl Current URL of the top-level page with the fragment omitted.
	PageUrl string `json:"page_url"`

	// TabId Monotonically increasing identifier for the tab during the current browser process.
	TabId int `json:"tab_id"`

	// WindowId Monotonically increasing identifier for the browser window during the current browser process.
	WindowId int `json:"window_id"`
}

WebMCPToolSource defines model for WebMCPToolSource.

type WebMCPToolsResponse

type WebMCPToolsResponse struct {
	Tools []WebMCPTool `json:"tools"`
}

WebMCPToolsResponse defines model for WebMCPToolsResponse.

type WriteClipboard200Response

type WriteClipboard200Response struct {
}

func (WriteClipboard200Response) VisitWriteClipboardResponse

func (response WriteClipboard200Response) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboard400JSONResponse

type WriteClipboard400JSONResponse struct{ BadRequestErrorJSONResponse }

func (WriteClipboard400JSONResponse) VisitWriteClipboardResponse

func (response WriteClipboard400JSONResponse) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboard500JSONResponse

type WriteClipboard500JSONResponse struct{ InternalErrorJSONResponse }

func (WriteClipboard500JSONResponse) VisitWriteClipboardResponse

func (response WriteClipboard500JSONResponse) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboardJSONRequestBody

type WriteClipboardJSONRequestBody = WriteClipboardRequest

WriteClipboardJSONRequestBody defines body for WriteClipboard for application/json ContentType.

type WriteClipboardRequest

type WriteClipboardRequest struct {
	// Text Text to write to the system clipboard
	Text string `json:"text"`
}

WriteClipboardRequest defines model for WriteClipboardRequest.

type WriteClipboardRequestObject

type WriteClipboardRequestObject struct {
	Body *WriteClipboardJSONRequestBody
}

type WriteClipboardResponse

type WriteClipboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseWriteClipboardResponse

func ParseWriteClipboardResponse(rsp *http.Response) (*WriteClipboardResponse, error)

ParseWriteClipboardResponse parses an HTTP response from a WriteClipboardWithResponse call

func (WriteClipboardResponse) Status

func (r WriteClipboardResponse) Status() string

Status returns HTTPResponse.Status

func (WriteClipboardResponse) StatusCode

func (r WriteClipboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WriteClipboardResponseObject

type WriteClipboardResponseObject interface {
	VisitWriteClipboardResponse(w http.ResponseWriter) error
}

type WriteFile201Response

type WriteFile201Response struct {
}

func (WriteFile201Response) VisitWriteFileResponse

func (response WriteFile201Response) VisitWriteFileResponse(w http.ResponseWriter) error

type WriteFile400JSONResponse

type WriteFile400JSONResponse struct{ BadRequestErrorJSONResponse }

func (WriteFile400JSONResponse) VisitWriteFileResponse

func (response WriteFile400JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error

type WriteFile404JSONResponse

type WriteFile404JSONResponse struct{ NotFoundErrorJSONResponse }

func (WriteFile404JSONResponse) VisitWriteFileResponse

func (response WriteFile404JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error

type WriteFile500JSONResponse

type WriteFile500JSONResponse struct{ InternalErrorJSONResponse }

func (WriteFile500JSONResponse) VisitWriteFileResponse

func (response WriteFile500JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error

type WriteFileParams

type WriteFileParams struct {
	// Path Destination absolute file path.
	Path string `form:"path" json:"path"`

	// Mode Optional file mode (octal string, e.g. 644). Defaults to 644.
	Mode *string `form:"mode,omitempty" json:"mode,omitempty"`
}

WriteFileParams defines parameters for WriteFile.

type WriteFileRequestObject

type WriteFileRequestObject struct {
	Params WriteFileParams
	Body   io.Reader
}

type WriteFileResponse

type WriteFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseWriteFileResponse

func ParseWriteFileResponse(rsp *http.Response) (*WriteFileResponse, error)

ParseWriteFileResponse parses an HTTP response from a WriteFileWithResponse call

func (WriteFileResponse) Status

func (r WriteFileResponse) Status() string

Status returns HTTPResponse.Status

func (WriteFileResponse) StatusCode

func (r WriteFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WriteFileResponseObject

type WriteFileResponseObject interface {
	VisitWriteFileResponse(w http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL