constant

package
v0.159.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueOf

func ValueOf[T Constant[T]]() T

ValueOf gives the default value of a constant from its type. It's helpful when constructing constants as variants in a one-of. Note that empty structs are marshalled by default. Usage: constant.ValueOf[constant.Foo]()

Types

type APICall added in v0.64.0

type APICall string // Always "api_call"

func (APICall) Default added in v0.64.0

func (c APICall) Default() APICall

func (APICall) MarshalJSON added in v0.64.0

func (c APICall) MarshalJSON() ([]byte, error)

type Agentcard added in v0.99.0

type Agentcard string // Always "agentcard"

func (Agentcard) Default added in v0.99.0

func (c Agentcard) Default() Agentcard

func (Agentcard) MarshalJSON added in v0.99.0

func (c Agentcard) MarshalJSON() ([]byte, error)

type AppVersionSummary

type AppVersionSummary string // Always "app_version_summary"

func (AppVersionSummary) Default

func (AppVersionSummary) MarshalJSON

func (c AppVersionSummary) MarshalJSON() ([]byte, error)

type Auto added in v0.111.0

type Auto string // Always "auto"

func (Auto) Default added in v0.111.0

func (c Auto) Default() Auto

func (Auto) MarshalJSON added in v0.111.0

func (c Auto) MarshalJSON() ([]byte, error)

type AutofillTrigger added in v0.94.0

type AutofillTrigger string // Always "Autofill.trigger"

func (AutofillTrigger) Default added in v0.94.0

func (c AutofillTrigger) Default() AutofillTrigger

func (AutofillTrigger) MarshalJSON added in v0.94.0

func (c AutofillTrigger) MarshalJSON() ([]byte, error)

type AwsUsEast1a

type AwsUsEast1a string // Always "aws.us-east-1a"

func (AwsUsEast1a) Default

func (c AwsUsEast1a) Default() AwsUsEast1a

func (AwsUsEast1a) MarshalJSON

func (c AwsUsEast1a) MarshalJSON() ([]byte, error)

type Brave added in v0.111.0

type Brave string // Always "brave"

func (Brave) Default added in v0.111.0

func (c Brave) Default() Brave

func (Brave) MarshalJSON added in v0.111.0

func (c Brave) MarshalJSON() ([]byte, error)

type BrowserCancelDownload added in v0.94.0

type BrowserCancelDownload string // Always "Browser.cancelDownload"

func (BrowserCancelDownload) Default added in v0.94.0

func (BrowserCancelDownload) MarshalJSON added in v0.94.0

func (c BrowserCancelDownload) MarshalJSON() ([]byte, error)

type BrowserClose added in v0.94.0

type BrowserClose string // Always "Browser.close"

func (BrowserClose) Default added in v0.94.0

func (c BrowserClose) Default() BrowserClose

func (BrowserClose) MarshalJSON added in v0.94.0

func (c BrowserClose) MarshalJSON() ([]byte, error)

type BrowserSetContentsSize added in v0.94.0

type BrowserSetContentsSize string // Always "Browser.setContentsSize"

func (BrowserSetContentsSize) Default added in v0.94.0

func (BrowserSetContentsSize) MarshalJSON added in v0.94.0

func (c BrowserSetContentsSize) MarshalJSON() ([]byte, error)

type BrowserSetWindowBounds added in v0.94.0

type BrowserSetWindowBounds string // Always "Browser.setWindowBounds"

func (BrowserSetWindowBounds) Default added in v0.94.0

func (BrowserSetWindowBounds) MarshalJSON added in v0.94.0

func (c BrowserSetWindowBounds) MarshalJSON() ([]byte, error)

type Captcha added in v0.64.0

type Captcha string // Always "captcha"

func (Captcha) Default added in v0.64.0

func (c Captcha) Default() Captcha

func (Captcha) MarshalJSON added in v0.64.0

func (c Captcha) MarshalJSON() ([]byte, error)

type CaptchaChallengeResult added in v0.97.0

type CaptchaChallengeResult string // Always "captcha_challenge_result"

func (CaptchaChallengeResult) Default added in v0.97.0

func (CaptchaChallengeResult) MarshalJSON added in v0.97.0

func (c CaptchaChallengeResult) MarshalJSON() ([]byte, error)

type CaptchaSolveResult added in v0.64.0

type CaptchaSolveResult string // Always "captcha_solve_result"

func (CaptchaSolveResult) Default added in v0.64.0

func (CaptchaSolveResult) MarshalJSON added in v0.64.0

func (c CaptchaSolveResult) MarshalJSON() ([]byte, error)

type CaptchaSolveStarted added in v0.97.0

type CaptchaSolveStarted string // Always "captcha_solve_started"

func (CaptchaSolveStarted) Default added in v0.97.0

func (CaptchaSolveStarted) MarshalJSON added in v0.97.0

func (c CaptchaSolveStarted) MarshalJSON() ([]byte, error)

type Card added in v0.99.0

type Card string // Always "card"

func (Card) Default added in v0.99.0

func (c Card) Default() Card

func (Card) MarshalJSON added in v0.99.0

func (c Card) MarshalJSON() ([]byte, error)

type CardEnrollment added in v0.99.0

type CardEnrollment string // Always "card_enrollment"

func (CardEnrollment) Default added in v0.99.0

func (c CardEnrollment) Default() CardEnrollment

func (CardEnrollment) MarshalJSON added in v0.99.0

func (c CardEnrollment) MarshalJSON() ([]byte, error)

type CdpCommand added in v0.94.0

type CdpCommand string // Always "cdp_command"

func (CdpCommand) Default added in v0.94.0

func (c CdpCommand) Default() CdpCommand

func (CdpCommand) MarshalJSON added in v0.94.0

func (c CdpCommand) MarshalJSON() ([]byte, error)

type CdpConnect added in v0.64.0

type CdpConnect string // Always "cdp_connect"

func (CdpConnect) Default added in v0.64.0

func (c CdpConnect) Default() CdpConnect

func (CdpConnect) MarshalJSON added in v0.64.0

func (c CdpConnect) MarshalJSON() ([]byte, error)

type CdpDisconnect added in v0.64.0

type CdpDisconnect string // Always "cdp_disconnect"

func (CdpDisconnect) Default added in v0.64.0

func (c CdpDisconnect) Default() CdpDisconnect

func (CdpDisconnect) MarshalJSON added in v0.64.0

func (c CdpDisconnect) MarshalJSON() ([]byte, error)

type Collect added in v0.99.0

type Collect string // Always "collect"

func (Collect) Default added in v0.99.0

func (c Collect) Default() Collect

func (Collect) MarshalJSON added in v0.99.0

func (c Collect) MarshalJSON() ([]byte, error)

type Connection added in v0.64.0

type Connection string // Always "connection"

func (Connection) Default added in v0.64.0

func (c Connection) Default() Connection

func (Connection) MarshalJSON added in v0.64.0

func (c Connection) MarshalJSON() ([]byte, error)

type Console added in v0.59.0

type Console string // Always "console"

func (Console) Default added in v0.59.0

func (c Console) Default() Console

func (Console) MarshalJSON added in v0.59.0

func (c Console) MarshalJSON() ([]byte, error)

type ConsoleError added in v0.57.0

type ConsoleError string // Always "console_error"

func (ConsoleError) Default added in v0.57.0

func (c ConsoleError) Default() ConsoleError

func (ConsoleError) MarshalJSON added in v0.57.0

func (c ConsoleError) MarshalJSON() ([]byte, error)

type ConsoleLog added in v0.57.0

type ConsoleLog string // Always "console_log"

func (ConsoleLog) Default added in v0.57.0

func (c ConsoleLog) Default() ConsoleLog

func (ConsoleLog) MarshalJSON added in v0.57.0

func (c ConsoleLog) MarshalJSON() ([]byte, error)

type Constant

type Constant[T any] interface {
	Default() T
}

type Context added in v0.111.0

type Context string // Always "context"

func (Context) Default added in v0.111.0

func (c Context) Default() Context

func (Context) MarshalJSON added in v0.111.0

func (c Context) MarshalJSON() ([]byte, error)

type Control added in v0.64.0

type Control string // Always "control"

func (Control) Default added in v0.64.0

func (c Control) Default() Control

func (Control) MarshalJSON added in v0.64.0

func (c Control) MarshalJSON() ([]byte, error)

type CustomerManaged added in v0.101.0

type CustomerManaged string // Always "customer_managed"

func (CustomerManaged) Default added in v0.101.0

func (c CustomerManaged) Default() CustomerManaged

func (CustomerManaged) MarshalJSON added in v0.101.0

func (c CustomerManaged) MarshalJSON() ([]byte, error)

type DeploymentState

type DeploymentState string // Always "deployment_state"

func (DeploymentState) Default

func (c DeploymentState) Default() DeploymentState

func (DeploymentState) MarshalJSON

func (c DeploymentState) MarshalJSON() ([]byte, error)

type Direct added in v0.94.0

type Direct string // Always "direct"

func (Direct) Default added in v0.94.0

func (c Direct) Default() Direct

func (Direct) MarshalJSON added in v0.94.0

func (c Direct) MarshalJSON() ([]byte, error)

type DomFocus added in v0.94.0

type DomFocus string // Always "DOM.focus"

func (DomFocus) Default added in v0.94.0

func (c DomFocus) Default() DomFocus

func (DomFocus) MarshalJSON added in v0.94.0

func (c DomFocus) MarshalJSON() ([]byte, error)

type DomScrollIntoViewIfNeeded added in v0.94.0

type DomScrollIntoViewIfNeeded string // Always "DOM.scrollIntoViewIfNeeded"

func (DomScrollIntoViewIfNeeded) Default added in v0.94.0

func (DomScrollIntoViewIfNeeded) MarshalJSON added in v0.94.0

func (c DomScrollIntoViewIfNeeded) MarshalJSON() ([]byte, error)

type DomSetFileInputFiles added in v0.94.0

type DomSetFileInputFiles string // Always "DOM.setFileInputFiles"

func (DomSetFileInputFiles) Default added in v0.94.0

func (DomSetFileInputFiles) MarshalJSON added in v0.94.0

func (c DomSetFileInputFiles) MarshalJSON() ([]byte, error)

type EmbeddedCeremony added in v0.99.0

type EmbeddedCeremony string // Always "embedded_ceremony"

func (EmbeddedCeremony) Default added in v0.99.0

func (c EmbeddedCeremony) Default() EmbeddedCeremony

func (EmbeddedCeremony) MarshalJSON added in v0.99.0

func (c EmbeddedCeremony) MarshalJSON() ([]byte, error)

type Error

type Error string // Always "error"

func (Error) Default

func (c Error) Default() Error

func (Error) MarshalJSON

func (c Error) MarshalJSON() ([]byte, error)

type Exa added in v0.111.0

type Exa string // Always "exa"

func (Exa) Default added in v0.111.0

func (c Exa) Default() Exa

func (Exa) MarshalJSON added in v0.111.0

func (c Exa) MarshalJSON() ([]byte, error)

type Fallback added in v0.111.0

type Fallback string // Always "fallback"

func (Fallback) Default added in v0.111.0

func (c Fallback) Default() Fallback

func (Fallback) MarshalJSON added in v0.111.0

func (c Fallback) MarshalJSON() ([]byte, error)

type InputCancelDragging added in v0.94.0

type InputCancelDragging string // Always "Input.cancelDragging"

func (InputCancelDragging) Default added in v0.94.0

func (InputCancelDragging) MarshalJSON added in v0.94.0

func (c InputCancelDragging) MarshalJSON() ([]byte, error)

type InputDispatchDragEvent added in v0.94.0

type InputDispatchDragEvent string // Always "Input.dispatchDragEvent"

func (InputDispatchDragEvent) Default added in v0.94.0

func (InputDispatchDragEvent) MarshalJSON added in v0.94.0

func (c InputDispatchDragEvent) MarshalJSON() ([]byte, error)

type InputDispatchKeyEvent added in v0.94.0

type InputDispatchKeyEvent string // Always "Input.dispatchKeyEvent"

func (InputDispatchKeyEvent) Default added in v0.94.0

func (InputDispatchKeyEvent) MarshalJSON added in v0.94.0

func (c InputDispatchKeyEvent) MarshalJSON() ([]byte, error)

type InputDispatchMouseEvent added in v0.94.0

type InputDispatchMouseEvent string // Always "Input.dispatchMouseEvent"

func (InputDispatchMouseEvent) Default added in v0.94.0

func (InputDispatchMouseEvent) MarshalJSON added in v0.94.0

func (c InputDispatchMouseEvent) MarshalJSON() ([]byte, error)

type InputDispatchTouchEvent added in v0.94.0

type InputDispatchTouchEvent string // Always "Input.dispatchTouchEvent"

func (InputDispatchTouchEvent) Default added in v0.94.0

func (InputDispatchTouchEvent) MarshalJSON added in v0.94.0

func (c InputDispatchTouchEvent) MarshalJSON() ([]byte, error)

type InputEmulateTouchFromMouseEvent added in v0.94.0

type InputEmulateTouchFromMouseEvent string // Always "Input.emulateTouchFromMouseEvent"

func (InputEmulateTouchFromMouseEvent) Default added in v0.94.0

func (InputEmulateTouchFromMouseEvent) MarshalJSON added in v0.94.0

func (c InputEmulateTouchFromMouseEvent) MarshalJSON() ([]byte, error)

type InputImeSetComposition added in v0.94.0

type InputImeSetComposition string // Always "Input.imeSetComposition"

func (InputImeSetComposition) Default added in v0.94.0

func (InputImeSetComposition) MarshalJSON added in v0.94.0

func (c InputImeSetComposition) MarshalJSON() ([]byte, error)

type InputInsertText added in v0.94.0

type InputInsertText string // Always "Input.insertText"

func (InputInsertText) Default added in v0.94.0

func (c InputInsertText) Default() InputInsertText

func (InputInsertText) MarshalJSON added in v0.94.0

func (c InputInsertText) MarshalJSON() ([]byte, error)

type InputSynthesizePinchGesture added in v0.94.0

type InputSynthesizePinchGesture string // Always "Input.synthesizePinchGesture"

func (InputSynthesizePinchGesture) Default added in v0.94.0

func (InputSynthesizePinchGesture) MarshalJSON added in v0.94.0

func (c InputSynthesizePinchGesture) MarshalJSON() ([]byte, error)

type InputSynthesizeScrollGesture added in v0.94.0

type InputSynthesizeScrollGesture string // Always "Input.synthesizeScrollGesture"

func (InputSynthesizeScrollGesture) Default added in v0.94.0

func (InputSynthesizeScrollGesture) MarshalJSON added in v0.94.0

func (c InputSynthesizeScrollGesture) MarshalJSON() ([]byte, error)

type InputSynthesizeTapGesture added in v0.94.0

type InputSynthesizeTapGesture string // Always "Input.synthesizeTapGesture"

func (InputSynthesizeTapGesture) Default added in v0.94.0

func (InputSynthesizeTapGesture) MarshalJSON added in v0.94.0

func (c InputSynthesizeTapGesture) MarshalJSON() ([]byte, error)

type Interaction added in v0.59.0

type Interaction string // Always "interaction"

func (Interaction) Default added in v0.59.0

func (c Interaction) Default() Interaction

func (Interaction) MarshalJSON added in v0.59.0

func (c Interaction) MarshalJSON() ([]byte, error)

type InteractionClick added in v0.57.0

type InteractionClick string // Always "interaction_click"

func (InteractionClick) Default added in v0.57.0

func (c InteractionClick) Default() InteractionClick

func (InteractionClick) MarshalJSON added in v0.57.0

func (c InteractionClick) MarshalJSON() ([]byte, error)

type InteractionKey added in v0.57.0

type InteractionKey string // Always "interaction_key"

func (InteractionKey) Default added in v0.57.0

func (c InteractionKey) Default() InteractionKey

func (InteractionKey) MarshalJSON added in v0.57.0

func (c InteractionKey) MarshalJSON() ([]byte, error)

type InteractionScrollSettled added in v0.57.0

type InteractionScrollSettled string // Always "interaction_scroll_settled"

func (InteractionScrollSettled) Default added in v0.57.0

func (InteractionScrollSettled) MarshalJSON added in v0.57.0

func (c InteractionScrollSettled) MarshalJSON() ([]byte, error)

type InvocationState

type InvocationState string // Always "invocation_state"

func (InvocationState) Default

func (c InvocationState) Default() InvocationState

func (InvocationState) MarshalJSON

func (c InvocationState) MarshalJSON() ([]byte, error)

type KernelManaged added in v0.101.0

type KernelManaged string // Always "kernel_managed"

func (KernelManaged) Default added in v0.101.0

func (c KernelManaged) Default() KernelManaged

func (KernelManaged) MarshalJSON added in v0.101.0

func (c KernelManaged) MarshalJSON() ([]byte, error)
type Link string // Always "link"

func (Link) Default added in v0.99.0

func (c Link) Default() Link

func (Link) MarshalJSON added in v0.99.0

func (c Link) MarshalJSON() ([]byte, error)

type LinkOAuth added in v0.99.0

type LinkOAuth string // Always "link_oauth"

func (LinkOAuth) Default added in v0.99.0

func (c LinkOAuth) Default() LinkOAuth

func (LinkOAuth) MarshalJSON added in v0.99.0

func (c LinkOAuth) MarshalJSON() ([]byte, error)

type LiveViewConnect added in v0.64.0

type LiveViewConnect string // Always "live_view_connect"

func (LiveViewConnect) Default added in v0.64.0

func (c LiveViewConnect) Default() LiveViewConnect

func (LiveViewConnect) MarshalJSON added in v0.64.0

func (c LiveViewConnect) MarshalJSON() ([]byte, error)

type LiveViewDisconnect added in v0.64.0

type LiveViewDisconnect string // Always "live_view_disconnect"

func (LiveViewDisconnect) Default added in v0.64.0

func (LiveViewDisconnect) MarshalJSON added in v0.64.0

func (c LiveViewDisconnect) MarshalJSON() ([]byte, error)

type Log

type Log string // Always "log"

func (Log) Default

func (c Log) Default() Log

func (Log) MarshalJSON

func (c Log) MarshalJSON() ([]byte, error)

type Managed added in v0.94.0

type Managed string // Always "managed"

func (Managed) Default added in v0.94.0

func (c Managed) Default() Managed

func (Managed) MarshalJSON added in v0.94.0

func (c Managed) MarshalJSON() ([]byte, error)

type ManagedAuthState added in v0.31.1

type ManagedAuthState string // Always "managed_auth_state"

func (ManagedAuthState) Default added in v0.31.1

func (c ManagedAuthState) Default() ManagedAuthState

func (ManagedAuthState) MarshalJSON added in v0.31.1

func (c ManagedAuthState) MarshalJSON() ([]byte, error)

type Mfa added in v0.99.0

type Mfa string // Always "mfa"

func (Mfa) Default added in v0.99.0

func (c Mfa) Default() Mfa

func (Mfa) MarshalJSON added in v0.99.0

func (c Mfa) MarshalJSON() ([]byte, error)

type Monitor added in v0.64.0

type Monitor string // Always "monitor"

func (Monitor) Default added in v0.64.0

func (c Monitor) Default() Monitor

func (Monitor) MarshalJSON added in v0.64.0

func (c Monitor) MarshalJSON() ([]byte, error)

type MonitorDisconnected added in v0.57.0

type MonitorDisconnected string // Always "monitor_disconnected"

func (MonitorDisconnected) Default added in v0.57.0

func (MonitorDisconnected) MarshalJSON added in v0.57.0

func (c MonitorDisconnected) MarshalJSON() ([]byte, error)

type MonitorInitFailed added in v0.57.0

type MonitorInitFailed string // Always "monitor_init_failed"

func (MonitorInitFailed) Default added in v0.57.0

func (MonitorInitFailed) MarshalJSON added in v0.57.0

func (c MonitorInitFailed) MarshalJSON() ([]byte, error)

type MonitorReconnectFailed added in v0.57.0

type MonitorReconnectFailed string // Always "monitor_reconnect_failed"

func (MonitorReconnectFailed) Default added in v0.57.0

func (MonitorReconnectFailed) MarshalJSON added in v0.57.0

func (c MonitorReconnectFailed) MarshalJSON() ([]byte, error)

type MonitorReconnected added in v0.57.0

type MonitorReconnected string // Always "monitor_reconnected"

func (MonitorReconnected) Default added in v0.57.0

func (MonitorReconnected) MarshalJSON added in v0.57.0

func (c MonitorReconnected) MarshalJSON() ([]byte, error)

type MonitorScreenshot added in v0.57.0

type MonitorScreenshot string // Always "monitor_screenshot"

func (MonitorScreenshot) Default added in v0.57.0

func (MonitorScreenshot) MarshalJSON added in v0.57.0

func (c MonitorScreenshot) MarshalJSON() ([]byte, error)

type Network added in v0.59.0

type Network string // Always "network"

func (Network) Default added in v0.59.0

func (c Network) Default() Network

func (Network) MarshalJSON added in v0.59.0

func (c Network) MarshalJSON() ([]byte, error)

type NetworkIdle added in v0.57.0

type NetworkIdle string // Always "network_idle"

func (NetworkIdle) Default added in v0.57.0

func (c NetworkIdle) Default() NetworkIdle

func (NetworkIdle) MarshalJSON added in v0.57.0

func (c NetworkIdle) MarshalJSON() ([]byte, error)

type NetworkLoadingFailed added in v0.57.0

type NetworkLoadingFailed string // Always "network_loading_failed"

func (NetworkLoadingFailed) Default added in v0.57.0

func (NetworkLoadingFailed) MarshalJSON added in v0.57.0

func (c NetworkLoadingFailed) MarshalJSON() ([]byte, error)

type NetworkRequest added in v0.57.0

type NetworkRequest string // Always "network_request"

func (NetworkRequest) Default added in v0.57.0

func (c NetworkRequest) Default() NetworkRequest

func (NetworkRequest) MarshalJSON added in v0.57.0

func (c NetworkRequest) MarshalJSON() ([]byte, error)

type NetworkResponse added in v0.57.0

type NetworkResponse string // Always "network_response"

func (NetworkResponse) Default added in v0.57.0

func (c NetworkResponse) Default() NetworkResponse

func (NetworkResponse) MarshalJSON added in v0.57.0

func (c NetworkResponse) MarshalJSON() ([]byte, error)

type NoRecommendation added in v0.94.0

type NoRecommendation string // Always "no_recommendation"

func (NoRecommendation) Default added in v0.94.0

func (c NoRecommendation) Default() NoRecommendation

func (NoRecommendation) MarshalJSON added in v0.94.0

func (c NoRecommendation) MarshalJSON() ([]byte, error)

type Octen added in v0.111.0

type Octen string // Always "octen"

func (Octen) Default added in v0.111.0

func (c Octen) Default() Octen

func (Octen) MarshalJSON added in v0.111.0

func (c Octen) MarshalJSON() ([]byte, error)

type Page added in v0.59.0

type Page string // Always "page"

func (Page) Default added in v0.59.0

func (c Page) Default() Page

func (Page) MarshalJSON added in v0.59.0

func (c Page) MarshalJSON() ([]byte, error)

type PageBringToFront added in v0.94.0

type PageBringToFront string // Always "Page.bringToFront"

func (PageBringToFront) Default added in v0.94.0

func (c PageBringToFront) Default() PageBringToFront

func (PageBringToFront) MarshalJSON added in v0.94.0

func (c PageBringToFront) MarshalJSON() ([]byte, error)

type PageCaptureScreenshot added in v0.94.0

type PageCaptureScreenshot string // Always "Page.captureScreenshot"

func (PageCaptureScreenshot) Default added in v0.94.0

func (PageCaptureScreenshot) MarshalJSON added in v0.94.0

func (c PageCaptureScreenshot) MarshalJSON() ([]byte, error)

type PageCaptureSnapshot added in v0.94.0

type PageCaptureSnapshot string // Always "Page.captureSnapshot"

func (PageCaptureSnapshot) Default added in v0.94.0

func (PageCaptureSnapshot) MarshalJSON added in v0.94.0

func (c PageCaptureSnapshot) MarshalJSON() ([]byte, error)

type PageClose added in v0.94.0

type PageClose string // Always "Page.close"

func (PageClose) Default added in v0.94.0

func (c PageClose) Default() PageClose

func (PageClose) MarshalJSON added in v0.94.0

func (c PageClose) MarshalJSON() ([]byte, error)

type PageCrashed added in v0.94.0

type PageCrashed string // Always "page_crashed"

func (PageCrashed) Default added in v0.94.0

func (c PageCrashed) Default() PageCrashed

func (PageCrashed) MarshalJSON added in v0.94.0

func (c PageCrashed) MarshalJSON() ([]byte, error)

type PageDomContentLoaded added in v0.57.0

type PageDomContentLoaded string // Always "page_dom_content_loaded"

func (PageDomContentLoaded) Default added in v0.57.0

func (PageDomContentLoaded) MarshalJSON added in v0.57.0

func (c PageDomContentLoaded) MarshalJSON() ([]byte, error)

type PageHandleJavaScriptDialog added in v0.94.0

type PageHandleJavaScriptDialog string // Always "Page.handleJavaScriptDialog"

func (PageHandleJavaScriptDialog) Default added in v0.94.0

func (PageHandleJavaScriptDialog) MarshalJSON added in v0.94.0

func (c PageHandleJavaScriptDialog) MarshalJSON() ([]byte, error)

type PageLayoutSettled added in v0.57.0

type PageLayoutSettled string // Always "page_layout_settled"

func (PageLayoutSettled) Default added in v0.57.0

func (PageLayoutSettled) MarshalJSON added in v0.57.0

func (c PageLayoutSettled) MarshalJSON() ([]byte, error)

type PageLayoutShift added in v0.57.0

type PageLayoutShift string // Always "page_layout_shift"

func (PageLayoutShift) Default added in v0.57.0

func (c PageLayoutShift) Default() PageLayoutShift

func (PageLayoutShift) MarshalJSON added in v0.57.0

func (c PageLayoutShift) MarshalJSON() ([]byte, error)

type PageLcp added in v0.57.0

type PageLcp string // Always "page_lcp"

func (PageLcp) Default added in v0.57.0

func (c PageLcp) Default() PageLcp

func (PageLcp) MarshalJSON added in v0.57.0

func (c PageLcp) MarshalJSON() ([]byte, error)

type PageLoad added in v0.57.0

type PageLoad string // Always "page_load"

func (PageLoad) Default added in v0.57.0

func (c PageLoad) Default() PageLoad

func (PageLoad) MarshalJSON added in v0.57.0

func (c PageLoad) MarshalJSON() ([]byte, error)
type PageNavigate string // Always "Page.navigate"
func (c PageNavigate) Default() PageNavigate
func (c PageNavigate) MarshalJSON() ([]byte, error)
type PageNavigateToHistoryEntry string // Always "Page.navigateToHistoryEntry"
func (c PageNavigateToHistoryEntry) MarshalJSON() ([]byte, error)
type PageNavigation string // Always "page_navigation"
func (c PageNavigation) Default() PageNavigation
func (c PageNavigation) MarshalJSON() ([]byte, error)
type PageNavigationSettled string // Always "page_navigation_settled"
func (c PageNavigationSettled) MarshalJSON() ([]byte, error)

type PagePrintToPdf added in v0.94.0

type PagePrintToPdf string // Always "Page.printToPDF"

func (PagePrintToPdf) Default added in v0.94.0

func (c PagePrintToPdf) Default() PagePrintToPdf

func (PagePrintToPdf) MarshalJSON added in v0.94.0

func (c PagePrintToPdf) MarshalJSON() ([]byte, error)

type PageReload added in v0.94.0

type PageReload string // Always "Page.reload"

func (PageReload) Default added in v0.94.0

func (c PageReload) Default() PageReload

func (PageReload) MarshalJSON added in v0.94.0

func (c PageReload) MarshalJSON() ([]byte, error)

type PageSetWebLifecycleState added in v0.94.0

type PageSetWebLifecycleState string // Always "Page.setWebLifecycleState"

func (PageSetWebLifecycleState) Default added in v0.94.0

func (PageSetWebLifecycleState) MarshalJSON added in v0.94.0

func (c PageSetWebLifecycleState) MarshalJSON() ([]byte, error)

type PageStartScreencast added in v0.94.0

type PageStartScreencast string // Always "Page.startScreencast"

func (PageStartScreencast) Default added in v0.94.0

func (PageStartScreencast) MarshalJSON added in v0.94.0

func (c PageStartScreencast) MarshalJSON() ([]byte, error)

type PageStopLoading added in v0.94.0

type PageStopLoading string // Always "Page.stopLoading"

func (PageStopLoading) Default added in v0.94.0

func (c PageStopLoading) Default() PageStopLoading

func (PageStopLoading) MarshalJSON added in v0.94.0

func (c PageStopLoading) MarshalJSON() ([]byte, error)

type PageStopScreencast added in v0.94.0

type PageStopScreencast string // Always "Page.stopScreencast"

func (PageStopScreencast) Default added in v0.94.0

func (PageStopScreencast) MarshalJSON added in v0.94.0

func (c PageStopScreencast) MarshalJSON() ([]byte, error)

type PageTabOpened added in v0.57.0

type PageTabOpened string // Always "page_tab_opened"

func (PageTabOpened) Default added in v0.57.0

func (c PageTabOpened) Default() PageTabOpened

func (PageTabOpened) MarshalJSON added in v0.57.0

func (c PageTabOpened) MarshalJSON() ([]byte, error)

type Parallel added in v0.111.0

type Parallel string // Always "parallel"

func (Parallel) Default added in v0.111.0

func (c Parallel) Default() Parallel

func (Parallel) MarshalJSON added in v0.111.0

func (c Parallel) MarshalJSON() ([]byte, error)

type PaymentRequest added in v0.133.0

type PaymentRequest string // Always "payment_request"

func (PaymentRequest) Default added in v0.133.0

func (c PaymentRequest) Default() PaymentRequest

func (PaymentRequest) MarshalJSON added in v0.133.0

func (c PaymentRequest) MarshalJSON() ([]byte, error)

type Perplexity added in v0.111.0

type Perplexity string // Always "perplexity"

func (Perplexity) Default added in v0.111.0

func (c Perplexity) Default() Perplexity

func (Perplexity) MarshalJSON added in v0.111.0

func (c Perplexity) MarshalJSON() ([]byte, error)

type Pinned added in v0.111.0

type Pinned string // Always "pinned"

func (Pinned) Default added in v0.111.0

func (c Pinned) Default() Pinned

func (Pinned) MarshalJSON added in v0.111.0

func (c Pinned) MarshalJSON() ([]byte, error)

type Platform added in v0.94.0

type Platform string // Always "platform"

func (Platform) Default added in v0.94.0

func (c Platform) Default() Platform

func (Platform) MarshalJSON added in v0.94.0

func (c Platform) MarshalJSON() ([]byte, error)

type PlatformAPICall added in v0.94.0

type PlatformAPICall string // Always "platform_api_call"

func (PlatformAPICall) Default added in v0.94.0

func (c PlatformAPICall) Default() PlatformAPICall

func (PlatformAPICall) MarshalJSON added in v0.94.0

func (c PlatformAPICall) MarshalJSON() ([]byte, error)

type ProxyError added in v0.93.0

type ProxyError string // Always "proxy_error"

func (ProxyError) Default added in v0.93.0

func (c ProxyError) Default() ProxyError

func (ProxyError) MarshalJSON added in v0.93.0

func (c ProxyError) MarshalJSON() ([]byte, error)

type PushApproval added in v0.99.0

type PushApproval string // Always "push_approval"

func (PushApproval) Default added in v0.99.0

func (c PushApproval) Default() PushApproval

func (PushApproval) MarshalJSON added in v0.99.0

func (c PushApproval) MarshalJSON() ([]byte, error)

type Recommendation added in v0.94.0

type Recommendation string // Always "recommendation"

func (Recommendation) Default added in v0.94.0

func (c Recommendation) Default() Recommendation

func (Recommendation) MarshalJSON added in v0.94.0

func (c Recommendation) MarshalJSON() ([]byte, error)

type Screenshot added in v0.64.0

type Screenshot string // Always "screenshot"

func (Screenshot) Default added in v0.64.0

func (c Screenshot) Default() Screenshot

func (Screenshot) MarshalJSON added in v0.64.0

func (c Screenshot) MarshalJSON() ([]byte, error)

type ServiceCrashed added in v0.64.0

type ServiceCrashed string // Always "service_crashed"

func (ServiceCrashed) Default added in v0.64.0

func (c ServiceCrashed) Default() ServiceCrashed

func (ServiceCrashed) MarshalJSON added in v0.64.0

func (c ServiceCrashed) MarshalJSON() ([]byte, error)

type ShopPayOAuth added in v0.136.0

type ShopPayOAuth string // Always "shop_pay_oauth"

func (ShopPayOAuth) Default added in v0.136.0

func (c ShopPayOAuth) Default() ShopPayOAuth

func (ShopPayOAuth) MarshalJSON added in v0.136.0

func (c ShopPayOAuth) MarshalJSON() ([]byte, error)

type SpendApproval added in v0.99.0

type SpendApproval string // Always "spend_approval"

func (SpendApproval) Default added in v0.99.0

func (c SpendApproval) Default() SpendApproval

func (SpendApproval) MarshalJSON added in v0.99.0

func (c SpendApproval) MarshalJSON() ([]byte, error)

type SseHeartbeat

type SseHeartbeat string // Always "sse_heartbeat"

func (SseHeartbeat) Default

func (c SseHeartbeat) Default() SseHeartbeat

func (SseHeartbeat) MarshalJSON

func (c SseHeartbeat) MarshalJSON() ([]byte, error)

type String1passwordAccessApproval added in v0.114.0

type String1passwordAccessApproval string // Always "1password_access_approval"

func (String1passwordAccessApproval) Default added in v0.114.0

func (String1passwordAccessApproval) MarshalJSON added in v0.114.0

func (c String1passwordAccessApproval) MarshalJSON() ([]byte, error)

type String1pwAccessRequestStatus added in v0.114.0

type String1pwAccessRequestStatus string // Always "1pw_access_request_status"

func (String1pwAccessRequestStatus) Default added in v0.114.0

func (String1pwAccessRequestStatus) MarshalJSON added in v0.114.0

func (c String1pwAccessRequestStatus) MarshalJSON() ([]byte, error)

type String1pwDisconnect added in v0.149.0

type String1pwDisconnect string // Always "1pw_disconnect"

func (String1pwDisconnect) Default added in v0.149.0

func (String1pwDisconnect) MarshalJSON added in v0.149.0

func (c String1pwDisconnect) MarshalJSON() ([]byte, error)

type String1pwUpdateAccessToken added in v0.114.0

type String1pwUpdateAccessToken string // Always "1pw_update_access_token"

func (String1pwUpdateAccessToken) Default added in v0.114.0

func (String1pwUpdateAccessToken) MarshalJSON added in v0.114.0

func (c String1pwUpdateAccessToken) MarshalJSON() ([]byte, error)

type System added in v0.59.0

type System string // Always "system"

func (System) Default added in v0.59.0

func (c System) Default() System

func (System) MarshalJSON added in v0.59.0

func (c System) MarshalJSON() ([]byte, error)

type SystemOomKill added in v0.64.0

type SystemOomKill string // Always "system_oom_kill"

func (SystemOomKill) Default added in v0.64.0

func (c SystemOomKill) Default() SystemOomKill

func (SystemOomKill) MarshalJSON added in v0.64.0

func (c SystemOomKill) MarshalJSON() ([]byte, error)

type TargetActivateTarget added in v0.94.0

type TargetActivateTarget string // Always "Target.activateTarget"

func (TargetActivateTarget) Default added in v0.94.0

func (TargetActivateTarget) MarshalJSON added in v0.94.0

func (c TargetActivateTarget) MarshalJSON() ([]byte, error)

type TargetCloseTarget added in v0.94.0

type TargetCloseTarget string // Always "Target.closeTarget"

func (TargetCloseTarget) Default added in v0.94.0

func (TargetCloseTarget) MarshalJSON added in v0.94.0

func (c TargetCloseTarget) MarshalJSON() ([]byte, error)

type TargetCreateBrowserContext added in v0.94.0

type TargetCreateBrowserContext string // Always "Target.createBrowserContext"

func (TargetCreateBrowserContext) Default added in v0.94.0

func (TargetCreateBrowserContext) MarshalJSON added in v0.94.0

func (c TargetCreateBrowserContext) MarshalJSON() ([]byte, error)

type TargetCreateTarget added in v0.94.0

type TargetCreateTarget string // Always "Target.createTarget"

func (TargetCreateTarget) Default added in v0.94.0

func (TargetCreateTarget) MarshalJSON added in v0.94.0

func (c TargetCreateTarget) MarshalJSON() ([]byte, error)

type TargetDisposeBrowserContext added in v0.94.0

type TargetDisposeBrowserContext string // Always "Target.disposeBrowserContext"

func (TargetDisposeBrowserContext) Default added in v0.94.0

func (TargetDisposeBrowserContext) MarshalJSON added in v0.94.0

func (c TargetDisposeBrowserContext) MarshalJSON() ([]byte, error)

type TargetOpenDevTools added in v0.94.0

type TargetOpenDevTools string // Always "Target.openDevTools"

func (TargetOpenDevTools) Default added in v0.94.0

func (TargetOpenDevTools) MarshalJSON added in v0.94.0

func (c TargetOpenDevTools) MarshalJSON() ([]byte, error)

type Tavily added in v0.111.0

type Tavily string // Always "tavily"

func (Tavily) Default added in v0.111.0

func (c Tavily) Default() Tavily

func (Tavily) MarshalJSON added in v0.111.0

func (c Tavily) MarshalJSON() ([]byte, error)

type UpdateAccessToken added in v0.139.0

type UpdateAccessToken string // Always "update_access_token"

func (UpdateAccessToken) Default added in v0.139.0

func (UpdateAccessToken) MarshalJSON added in v0.139.0

func (c UpdateAccessToken) MarshalJSON() ([]byte, error)

type Vgs added in v0.141.0

type Vgs string // Always "vgs"

func (Vgs) Default added in v0.141.0

func (c Vgs) Default() Vgs

func (Vgs) MarshalJSON added in v0.141.0

func (c Vgs) MarshalJSON() ([]byte, error)

type Wallet added in v0.99.0

type Wallet string // Always "wallet"

func (Wallet) Default added in v0.99.0

func (c Wallet) Default() Wallet

func (Wallet) MarshalJSON added in v0.99.0

func (c Wallet) MarshalJSON() ([]byte, error)

type You added in v0.111.0

type You string // Always "you"

func (You) Default added in v0.111.0

func (c You) Default() You

func (You) MarshalJSON added in v0.111.0

func (c You) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL