package page
Import Path
github.com/chromedp/cdproto/page (on go.dev)
Dependency Relation
imports 13 packages, and imported by 4 packages
Involved Source Files
easyjson.go
events.go
Package page provides the Chrome DevTools Protocol
commands, types, and events for the Page domain.
Actions and events related to the inspected page belong to the page
domain.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 128)
AddCompilationCacheParams seeds compilation cache for given url.
Compilation cache does not survive cross-process navigation.
// Base64-encoded data
URL string
Do executes Page.addCompilationCache against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*AddCompilationCacheParams : github.com/chromedp/chromedp.Action
*AddCompilationCacheParams : github.com/chromedp/chromedp.CallAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.EmulateAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.EvaluateAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.KeyAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.MouseAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.NavigateAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.PollAction
*AddCompilationCacheParams : github.com/chromedp/chromedp.QueryAction
AddCompilationCacheParams : github.com/goccy/go-json.Marshaler
*AddCompilationCacheParams : github.com/goccy/go-json.Unmarshaler
AddCompilationCacheParams : github.com/mailru/easyjson.Marshaler
*AddCompilationCacheParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*AddCompilationCacheParams : github.com/mailru/easyjson.Unmarshaler
AddCompilationCacheParams : encoding/json.Marshaler
*AddCompilationCacheParams : encoding/json.Unmarshaler
func AddCompilationCache(url string, data string) *AddCompilationCacheParams
AddScriptToEvaluateOnNewDocumentParams evaluates given script in every
frame upon creation (before loading frame's scripts).
// Specifies whether command line API should be available to the script, defaults to false.
// If true, runs the script immediately on existing execution contexts or worlds. Default: false.
Source string
// If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted.
Do executes Page.addScriptToEvaluateOnNewDocument against the provided context.
returns:
identifier - Identifier of the added script.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithIncludeCommandLineAPI specifies whether command line API should be
available to the script, defaults to false.
WithRunImmediately if true, runs the script immediately on existing
execution contexts or worlds. Default: false.
WithWorldName if specified, creates an isolated world with the given name
and evaluates given script in it. This world name will be used as the
ExecutionContextDescription::name when the corresponding event is emitted.
AddScriptToEvaluateOnNewDocumentParams : github.com/goccy/go-json.Marshaler
*AddScriptToEvaluateOnNewDocumentParams : github.com/goccy/go-json.Unmarshaler
AddScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.Marshaler
*AddScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*AddScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.Unmarshaler
AddScriptToEvaluateOnNewDocumentParams : encoding/json.Marshaler
*AddScriptToEvaluateOnNewDocumentParams : encoding/json.Unmarshaler
func AddScriptToEvaluateOnNewDocument(source string) *AddScriptToEvaluateOnNewDocumentParams
func AddScriptToEvaluateOnNewDocumentParams.WithIncludeCommandLineAPI(includeCommandLineAPI bool) *AddScriptToEvaluateOnNewDocumentParams
func AddScriptToEvaluateOnNewDocumentParams.WithRunImmediately(runImmediately bool) *AddScriptToEvaluateOnNewDocumentParams
func AddScriptToEvaluateOnNewDocumentParams.WithWorldName(worldName string) *AddScriptToEvaluateOnNewDocumentParams
AddScriptToEvaluateOnNewDocumentReturns return values.
// Identifier of the added script.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
AddScriptToEvaluateOnNewDocumentReturns : github.com/goccy/go-json.Marshaler
*AddScriptToEvaluateOnNewDocumentReturns : github.com/goccy/go-json.Unmarshaler
AddScriptToEvaluateOnNewDocumentReturns : github.com/mailru/easyjson.Marshaler
*AddScriptToEvaluateOnNewDocumentReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*AddScriptToEvaluateOnNewDocumentReturns : github.com/mailru/easyjson.Unmarshaler
AddScriptToEvaluateOnNewDocumentReturns : encoding/json.Marshaler
*AddScriptToEvaluateOnNewDocumentReturns : encoding/json.Unmarshaler
AdScriptID identifies the bottom-most script which caused the frame to be
labelled as an ad.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-AdScriptId
// Id of adScriptId's debugger.
// Script Id of the bottom-most script which caused the frame to be labelled as an ad.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
AdScriptID : github.com/goccy/go-json.Marshaler
*AdScriptID : github.com/goccy/go-json.Unmarshaler
AdScriptID : github.com/mailru/easyjson.Marshaler
*AdScriptID : github.com/mailru/easyjson.MarshalerUnmarshaler
*AdScriptID : github.com/mailru/easyjson.Unmarshaler
AdScriptID : encoding/json.Marshaler
*AdScriptID : encoding/json.Unmarshaler
func (*GetAdScriptIDParams).Do(ctx context.Context) (adScriptID *AdScriptID, err error)
AppManifestError error while paring app manifest.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-AppManifestError
// Error column.
// If criticial, this is a non-recoverable parse error.
// Error line.
// Error message.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
AppManifestError : github.com/goccy/go-json.Marshaler
*AppManifestError : github.com/goccy/go-json.Unmarshaler
AppManifestError : github.com/mailru/easyjson.Marshaler
*AppManifestError : github.com/mailru/easyjson.MarshalerUnmarshaler
*AppManifestError : github.com/mailru/easyjson.Unmarshaler
AppManifestError : encoding/json.Marshaler
*AppManifestError : encoding/json.Unmarshaler
func (*GetAppManifestParams).Do(ctx context.Context) (url string, errors []*AppManifestError, data string, parsed *AppManifestParsedProperties, err error)
AppManifestParsedProperties parsed app manifest properties.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-AppManifestParsedProperties
// Computed scope value
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
AppManifestParsedProperties : github.com/goccy/go-json.Marshaler
*AppManifestParsedProperties : github.com/goccy/go-json.Unmarshaler
AppManifestParsedProperties : github.com/mailru/easyjson.Marshaler
*AppManifestParsedProperties : github.com/mailru/easyjson.MarshalerUnmarshaler
*AppManifestParsedProperties : github.com/mailru/easyjson.Unmarshaler
AppManifestParsedProperties : encoding/json.Marshaler
*AppManifestParsedProperties : encoding/json.Unmarshaler
func (*GetAppManifestParams).Do(ctx context.Context) (url string, errors []*AppManifestError, data string, parsed *AppManifestParsedProperties, err error)
AutoResponseMode enum of possible auto-response for permissions / prompt
dialogs.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-AutoResponseMode
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the AutoResponseMode as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
AutoResponseMode : github.com/goccy/go-json.Marshaler
*AutoResponseMode : github.com/goccy/go-json.Unmarshaler
AutoResponseMode : github.com/mailru/easyjson.Marshaler
*AutoResponseMode : github.com/mailru/easyjson.MarshalerUnmarshaler
*AutoResponseMode : github.com/mailru/easyjson.Unmarshaler
AutoResponseMode : encoding/json.Marshaler
*AutoResponseMode : encoding/json.Unmarshaler
AutoResponseMode : expvar.Var
AutoResponseMode : fmt.Stringer
func SetRPHRegistrationMode(mode AutoResponseMode) *SetRPHRegistrationModeParams
func SetSPCTransactionMode(mode AutoResponseMode) *SetSPCTransactionModeParams
const AutoResponseModeAutoAccept
const AutoResponseModeAutoOptOut
const AutoResponseModeAutoReject
const AutoResponseModeNone
BackForwardCacheNotRestoredExplanation [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-BackForwardCacheNotRestoredExplanation
// Context associated with the reason. The meaning of this context is dependent on the reason: - EmbedderExtensionSentMessageToCachedFrame: the extension ID.
// Not restored reason
// Type of the reason
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
BackForwardCacheNotRestoredExplanation : github.com/goccy/go-json.Marshaler
*BackForwardCacheNotRestoredExplanation : github.com/goccy/go-json.Unmarshaler
BackForwardCacheNotRestoredExplanation : github.com/mailru/easyjson.Marshaler
*BackForwardCacheNotRestoredExplanation : github.com/mailru/easyjson.MarshalerUnmarshaler
*BackForwardCacheNotRestoredExplanation : github.com/mailru/easyjson.Unmarshaler
BackForwardCacheNotRestoredExplanation : encoding/json.Marshaler
*BackForwardCacheNotRestoredExplanation : encoding/json.Unmarshaler
BackForwardCacheNotRestoredExplanationTree [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-BackForwardCacheNotRestoredExplanationTree
// Array of children frame
// Not restored reasons of each frame
// URL of each frame
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
BackForwardCacheNotRestoredExplanationTree : github.com/goccy/go-json.Marshaler
*BackForwardCacheNotRestoredExplanationTree : github.com/goccy/go-json.Unmarshaler
BackForwardCacheNotRestoredExplanationTree : github.com/mailru/easyjson.Marshaler
*BackForwardCacheNotRestoredExplanationTree : github.com/mailru/easyjson.MarshalerUnmarshaler
*BackForwardCacheNotRestoredExplanationTree : github.com/mailru/easyjson.Unmarshaler
BackForwardCacheNotRestoredExplanationTree : encoding/json.Marshaler
*BackForwardCacheNotRestoredExplanationTree : encoding/json.Unmarshaler
BackForwardCacheNotRestoredReason list of not restored reasons for
back-forward cache.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-BackForwardCacheNotRestoredReason
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the BackForwardCacheNotRestoredReason as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
BackForwardCacheNotRestoredReason : github.com/goccy/go-json.Marshaler
*BackForwardCacheNotRestoredReason : github.com/goccy/go-json.Unmarshaler
BackForwardCacheNotRestoredReason : github.com/mailru/easyjson.Marshaler
*BackForwardCacheNotRestoredReason : github.com/mailru/easyjson.MarshalerUnmarshaler
*BackForwardCacheNotRestoredReason : github.com/mailru/easyjson.Unmarshaler
BackForwardCacheNotRestoredReason : encoding/json.Marshaler
*BackForwardCacheNotRestoredReason : encoding/json.Unmarshaler
BackForwardCacheNotRestoredReason : expvar.Var
BackForwardCacheNotRestoredReason : fmt.Stringer
const BackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug1234857
const BackForwardCacheNotRestoredReasonAppBanner
const BackForwardCacheNotRestoredReasonBackForwardCacheDisabled
const BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByCommandLine
const BackForwardCacheNotRestoredReasonBackForwardCacheDisabledByLowMemory
const BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForDelegate
const BackForwardCacheNotRestoredReasonBackForwardCacheDisabledForPrerender
const BackForwardCacheNotRestoredReasonBroadcastChannel
const BackForwardCacheNotRestoredReasonBrowsingInstanceNotSwapped
const BackForwardCacheNotRestoredReasonCacheControlNoStore
const BackForwardCacheNotRestoredReasonCacheControlNoStoreCookieModified
const BackForwardCacheNotRestoredReasonCacheControlNoStoreHTTPOnlyCookieModified
const BackForwardCacheNotRestoredReasonCacheFlushed
const BackForwardCacheNotRestoredReasonCacheLimit
const BackForwardCacheNotRestoredReasonConflictingBrowsingInstance
const BackForwardCacheNotRestoredReasonContainsPlugins
const BackForwardCacheNotRestoredReasonContentFileChooser
const BackForwardCacheNotRestoredReasonContentFileSystemAccess
const BackForwardCacheNotRestoredReasonContentMediaDevicesDispatcherHost
const BackForwardCacheNotRestoredReasonContentMediaSessionService
const BackForwardCacheNotRestoredReasonContentScreenReader
const BackForwardCacheNotRestoredReasonContentSecurityHandler
const BackForwardCacheNotRestoredReasonContentSerial
const BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI
const BackForwardCacheNotRestoredReasonContentWebBluetooth
const BackForwardCacheNotRestoredReasonContentWebUSB
const BackForwardCacheNotRestoredReasonCookieDisabled
const BackForwardCacheNotRestoredReasonCookieFlushed
const BackForwardCacheNotRestoredReasonDedicatedWorkerOrWorklet
const BackForwardCacheNotRestoredReasonDisableForRenderFrameHostCalled
const BackForwardCacheNotRestoredReasonDocumentLoaded
const BackForwardCacheNotRestoredReasonDomainNotAllowed
const BackForwardCacheNotRestoredReasonDummy
const BackForwardCacheNotRestoredReasonEmbedderAppBannerManager
const BackForwardCacheNotRestoredReasonEmbedderChromePasswordManagerClientBindCredentialManager
const BackForwardCacheNotRestoredReasonEmbedderDomDistillerSelfDeletingRequestDelegate
const BackForwardCacheNotRestoredReasonEmbedderDomDistillerViewerSource
const BackForwardCacheNotRestoredReasonEmbedderExtensionMessaging
const BackForwardCacheNotRestoredReasonEmbedderExtensionMessagingForOpenPort
const BackForwardCacheNotRestoredReasonEmbedderExtensions
const BackForwardCacheNotRestoredReasonEmbedderExtensionSentMessageToCachedFrame
const BackForwardCacheNotRestoredReasonEmbedderModalDialog
const BackForwardCacheNotRestoredReasonEmbedderOfflinePage
const BackForwardCacheNotRestoredReasonEmbedderOomInterventionTabHelper
const BackForwardCacheNotRestoredReasonEmbedderPermissionRequestManager
const BackForwardCacheNotRestoredReasonEmbedderPopupBlockerTabHelper
const BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingThreatDetails
const BackForwardCacheNotRestoredReasonEmbedderSafeBrowsingTriggeredPopupBlocker
const BackForwardCacheNotRestoredReasonEnteredBackForwardCacheBeforeServiceWorkerHostAdded
const BackForwardCacheNotRestoredReasonErrorDocument
const BackForwardCacheNotRestoredReasonFencedFramesEmbedder
const BackForwardCacheNotRestoredReasonForegroundCacheLimit
const BackForwardCacheNotRestoredReasonHaveInnerContents
const BackForwardCacheNotRestoredReasonHTTPAuthRequired
const BackForwardCacheNotRestoredReasonHTTPMethodNotGET
const BackForwardCacheNotRestoredReasonHTTPSTatusNotOK
const BackForwardCacheNotRestoredReasonIdleManager
const BackForwardCacheNotRestoredReasonIgnoreEventAndEvict
const BackForwardCacheNotRestoredReasonIndexedDBEvent
const BackForwardCacheNotRestoredReasonInjectedJavascript
const BackForwardCacheNotRestoredReasonInjectedStyleSheet
const BackForwardCacheNotRestoredReasonJavaScriptExecution
const BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoStoreResource
const BackForwardCacheNotRestoredReasonKeepaliveRequest
const BackForwardCacheNotRestoredReasonKeyboardLock
const BackForwardCacheNotRestoredReasonLoading
const BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoCache
const BackForwardCacheNotRestoredReasonMainResourceHasCacheControlNoStore
const BackForwardCacheNotRestoredReasonNavigationCancelledWhileRestoring
const BackForwardCacheNotRestoredReasonNetworkExceedsBufferLimit
const BackForwardCacheNotRestoredReasonNetworkRequestDatapipeDrainedAsBytesConsumer
const BackForwardCacheNotRestoredReasonNetworkRequestRedirected
const BackForwardCacheNotRestoredReasonNetworkRequestTimeout
const BackForwardCacheNotRestoredReasonNoResponseHead
const BackForwardCacheNotRestoredReasonNotMostRecentNavigationEntry
const BackForwardCacheNotRestoredReasonNotPrimaryMainFrame
const BackForwardCacheNotRestoredReasonOutstandingNetworkRequestDirectSocket
const BackForwardCacheNotRestoredReasonOutstandingNetworkRequestFetch
const BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers
const BackForwardCacheNotRestoredReasonOutstandingNetworkRequestXHR
const BackForwardCacheNotRestoredReasonPaymentManager
const BackForwardCacheNotRestoredReasonPictureInPicture
const BackForwardCacheNotRestoredReasonPortal
const BackForwardCacheNotRestoredReasonPrinting
const BackForwardCacheNotRestoredReasonRelatedActiveContentsExist
const BackForwardCacheNotRestoredReasonRendererProcessCrashed
const BackForwardCacheNotRestoredReasonRendererProcessKilled
const BackForwardCacheNotRestoredReasonRenderFrameHostReusedCrossSite
const BackForwardCacheNotRestoredReasonRenderFrameHostReusedSameSite
const BackForwardCacheNotRestoredReasonRequestedAudioCapturePermission
const BackForwardCacheNotRestoredReasonRequestedBackForwardCacheBlockedSensors
const BackForwardCacheNotRestoredReasonRequestedBackgroundWorkPermission
const BackForwardCacheNotRestoredReasonRequestedMIDIPermission
const BackForwardCacheNotRestoredReasonRequestedStorageAccessGrant
const BackForwardCacheNotRestoredReasonRequestedVideoCapturePermission
const BackForwardCacheNotRestoredReasonSchedulerTrackedFeatureUsed
const BackForwardCacheNotRestoredReasonSchemeNotHTTPOrHTTPS
const BackForwardCacheNotRestoredReasonServiceWorkerClaim
const BackForwardCacheNotRestoredReasonServiceWorkerPostMessage
const BackForwardCacheNotRestoredReasonServiceWorkerUnregistration
const BackForwardCacheNotRestoredReasonServiceWorkerVersionActivation
const BackForwardCacheNotRestoredReasonSessionRestored
const BackForwardCacheNotRestoredReasonSharedWorker
const BackForwardCacheNotRestoredReasonSpeechRecognizer
const BackForwardCacheNotRestoredReasonSpeechSynthesis
const BackForwardCacheNotRestoredReasonSubframeIsNavigating
const BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoCache
const BackForwardCacheNotRestoredReasonSubresourceHasCacheControlNoStore
const BackForwardCacheNotRestoredReasonTimeout
const BackForwardCacheNotRestoredReasonTimeoutPuttingInCache
const BackForwardCacheNotRestoredReasonUnknown
const BackForwardCacheNotRestoredReasonUnloadHandlerExistsInMainFrame
const BackForwardCacheNotRestoredReasonUnloadHandlerExistsInSubFrame
const BackForwardCacheNotRestoredReasonUserAgentOverrideDiffers
const BackForwardCacheNotRestoredReasonWasGrantedMediaAccess
const BackForwardCacheNotRestoredReasonWebDatabase
const BackForwardCacheNotRestoredReasonWebHID
const BackForwardCacheNotRestoredReasonWebLocks
const BackForwardCacheNotRestoredReasonWebNfc
const BackForwardCacheNotRestoredReasonWebOTPService
const BackForwardCacheNotRestoredReasonWebRTC
const BackForwardCacheNotRestoredReasonWebRTCSticky
const BackForwardCacheNotRestoredReasonWebShare
const BackForwardCacheNotRestoredReasonWebSocket
const BackForwardCacheNotRestoredReasonWebSocketSticky
const BackForwardCacheNotRestoredReasonWebTransport
const BackForwardCacheNotRestoredReasonWebTransportSticky
const BackForwardCacheNotRestoredReasonWebXR
BackForwardCacheNotRestoredReasonType types of not restored reasons for
back-forward cache.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-BackForwardCacheNotRestoredReasonType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the BackForwardCacheNotRestoredReasonType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
BackForwardCacheNotRestoredReasonType : github.com/goccy/go-json.Marshaler
*BackForwardCacheNotRestoredReasonType : github.com/goccy/go-json.Unmarshaler
BackForwardCacheNotRestoredReasonType : github.com/mailru/easyjson.Marshaler
*BackForwardCacheNotRestoredReasonType : github.com/mailru/easyjson.MarshalerUnmarshaler
*BackForwardCacheNotRestoredReasonType : github.com/mailru/easyjson.Unmarshaler
BackForwardCacheNotRestoredReasonType : encoding/json.Marshaler
*BackForwardCacheNotRestoredReasonType : encoding/json.Unmarshaler
BackForwardCacheNotRestoredReasonType : expvar.Var
BackForwardCacheNotRestoredReasonType : fmt.Stringer
const BackForwardCacheNotRestoredReasonTypeCircumstantial
const BackForwardCacheNotRestoredReasonTypePageSupportNeeded
const BackForwardCacheNotRestoredReasonTypeSupportPending
BringToFrontParams brings page to front (activates tab).
Do executes Page.bringToFront against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*BringToFrontParams : github.com/chromedp/chromedp.Action
*BringToFrontParams : github.com/chromedp/chromedp.CallAction
*BringToFrontParams : github.com/chromedp/chromedp.EmulateAction
*BringToFrontParams : github.com/chromedp/chromedp.EvaluateAction
*BringToFrontParams : github.com/chromedp/chromedp.KeyAction
*BringToFrontParams : github.com/chromedp/chromedp.MouseAction
*BringToFrontParams : github.com/chromedp/chromedp.NavigateAction
*BringToFrontParams : github.com/chromedp/chromedp.PollAction
*BringToFrontParams : github.com/chromedp/chromedp.QueryAction
BringToFrontParams : github.com/goccy/go-json.Marshaler
*BringToFrontParams : github.com/goccy/go-json.Unmarshaler
BringToFrontParams : github.com/mailru/easyjson.Marshaler
*BringToFrontParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*BringToFrontParams : github.com/mailru/easyjson.Unmarshaler
BringToFrontParams : encoding/json.Marshaler
*BringToFrontParams : encoding/json.Unmarshaler
func BringToFront() *BringToFrontParams
CaptureScreenshotFormat image compression format (defaults to png).
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-captureScreenshot
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the CaptureScreenshotFormat as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
CaptureScreenshotFormat : github.com/goccy/go-json.Marshaler
*CaptureScreenshotFormat : github.com/goccy/go-json.Unmarshaler
CaptureScreenshotFormat : github.com/mailru/easyjson.Marshaler
*CaptureScreenshotFormat : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureScreenshotFormat : github.com/mailru/easyjson.Unmarshaler
CaptureScreenshotFormat : encoding/json.Marshaler
*CaptureScreenshotFormat : encoding/json.Unmarshaler
CaptureScreenshotFormat : expvar.Var
CaptureScreenshotFormat : fmt.Stringer
func CaptureScreenshotParams.WithFormat(format CaptureScreenshotFormat) *CaptureScreenshotParams
const CaptureScreenshotFormatJpeg
const CaptureScreenshotFormatPng
const CaptureScreenshotFormatWebp
CaptureScreenshotParams capture page screenshot.
// Capture the screenshot beyond the viewport. Defaults to false.
// Capture the screenshot of a given region only.
// Image compression format (defaults to png).
// Capture the screenshot from the surface, rather than the view. Defaults to true.
// Optimize image encoding for speed, not for resulting size (defaults to false)
// Compression quality from range [0..100] (jpeg only).
Do executes Page.captureScreenshot against the provided context.
returns:
data - Base64-encoded image data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCaptureBeyondViewport capture the screenshot beyond the viewport.
Defaults to false.
WithClip capture the screenshot of a given region only.
WithFormat image compression format (defaults to png).
WithFromSurface capture the screenshot from the surface, rather than the
view. Defaults to true.
WithOptimizeForSpeed optimize image encoding for speed, not for resulting
size (defaults to false).
WithQuality compression quality from range [0..100] (jpeg only).
CaptureScreenshotParams : github.com/goccy/go-json.Marshaler
*CaptureScreenshotParams : github.com/goccy/go-json.Unmarshaler
CaptureScreenshotParams : github.com/mailru/easyjson.Marshaler
*CaptureScreenshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureScreenshotParams : github.com/mailru/easyjson.Unmarshaler
CaptureScreenshotParams : encoding/json.Marshaler
*CaptureScreenshotParams : encoding/json.Unmarshaler
func CaptureScreenshot() *CaptureScreenshotParams
func CaptureScreenshotParams.WithCaptureBeyondViewport(captureBeyondViewport bool) *CaptureScreenshotParams
func CaptureScreenshotParams.WithClip(clip *Viewport) *CaptureScreenshotParams
func CaptureScreenshotParams.WithFormat(format CaptureScreenshotFormat) *CaptureScreenshotParams
func CaptureScreenshotParams.WithFromSurface(fromSurface bool) *CaptureScreenshotParams
func CaptureScreenshotParams.WithOptimizeForSpeed(optimizeForSpeed bool) *CaptureScreenshotParams
func CaptureScreenshotParams.WithQuality(quality int64) *CaptureScreenshotParams
CaptureScreenshotReturns return values.
// Base64-encoded image data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CaptureScreenshotReturns : github.com/goccy/go-json.Marshaler
*CaptureScreenshotReturns : github.com/goccy/go-json.Unmarshaler
CaptureScreenshotReturns : github.com/mailru/easyjson.Marshaler
*CaptureScreenshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureScreenshotReturns : github.com/mailru/easyjson.Unmarshaler
CaptureScreenshotReturns : encoding/json.Marshaler
*CaptureScreenshotReturns : encoding/json.Unmarshaler
CaptureSnapshotFormat format (defaults to mhtml).
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-captureSnapshot
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the CaptureSnapshotFormat as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
CaptureSnapshotFormat : github.com/goccy/go-json.Marshaler
*CaptureSnapshotFormat : github.com/goccy/go-json.Unmarshaler
CaptureSnapshotFormat : github.com/mailru/easyjson.Marshaler
*CaptureSnapshotFormat : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureSnapshotFormat : github.com/mailru/easyjson.Unmarshaler
CaptureSnapshotFormat : encoding/json.Marshaler
*CaptureSnapshotFormat : encoding/json.Unmarshaler
CaptureSnapshotFormat : expvar.Var
CaptureSnapshotFormat : fmt.Stringer
func CaptureSnapshotParams.WithFormat(format CaptureSnapshotFormat) *CaptureSnapshotParams
const CaptureSnapshotFormatMhtml
CaptureSnapshotParams returns a snapshot of the page as a string. For
MHTML format, the serialization includes iframes, shadow DOM, external
resources, and element-inline styles.
// Format (defaults to mhtml).
Do executes Page.captureSnapshot against the provided context.
returns:
data - Serialized page data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithFormat format (defaults to mhtml).
CaptureSnapshotParams : github.com/goccy/go-json.Marshaler
*CaptureSnapshotParams : github.com/goccy/go-json.Unmarshaler
CaptureSnapshotParams : github.com/mailru/easyjson.Marshaler
*CaptureSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureSnapshotParams : github.com/mailru/easyjson.Unmarshaler
CaptureSnapshotParams : encoding/json.Marshaler
*CaptureSnapshotParams : encoding/json.Unmarshaler
func CaptureSnapshot() *CaptureSnapshotParams
func CaptureSnapshotParams.WithFormat(format CaptureSnapshotFormat) *CaptureSnapshotParams
CaptureSnapshotReturns return values.
// Base64-encoded image data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CaptureSnapshotReturns : github.com/goccy/go-json.Marshaler
*CaptureSnapshotReturns : github.com/goccy/go-json.Unmarshaler
CaptureSnapshotReturns : github.com/mailru/easyjson.Marshaler
*CaptureSnapshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CaptureSnapshotReturns : github.com/mailru/easyjson.Unmarshaler
CaptureSnapshotReturns : encoding/json.Marshaler
*CaptureSnapshotReturns : encoding/json.Unmarshaler
ClearCompilationCacheParams clears seeded compilation cache.
Do executes Page.clearCompilationCache against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ClearCompilationCacheParams : github.com/chromedp/chromedp.Action
*ClearCompilationCacheParams : github.com/chromedp/chromedp.CallAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.EmulateAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.EvaluateAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.KeyAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.MouseAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.NavigateAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.PollAction
*ClearCompilationCacheParams : github.com/chromedp/chromedp.QueryAction
ClearCompilationCacheParams : github.com/goccy/go-json.Marshaler
*ClearCompilationCacheParams : github.com/goccy/go-json.Unmarshaler
ClearCompilationCacheParams : github.com/mailru/easyjson.Marshaler
*ClearCompilationCacheParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ClearCompilationCacheParams : github.com/mailru/easyjson.Unmarshaler
ClearCompilationCacheParams : encoding/json.Marshaler
*ClearCompilationCacheParams : encoding/json.Unmarshaler
func ClearCompilationCache() *ClearCompilationCacheParams
CloseParams tries to close page, running its beforeunload hooks, if any.
Do executes Page.close against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*CloseParams : github.com/chromedp/chromedp.Action
*CloseParams : github.com/chromedp/chromedp.CallAction
*CloseParams : github.com/chromedp/chromedp.EmulateAction
*CloseParams : github.com/chromedp/chromedp.EvaluateAction
*CloseParams : github.com/chromedp/chromedp.KeyAction
*CloseParams : github.com/chromedp/chromedp.MouseAction
*CloseParams : github.com/chromedp/chromedp.NavigateAction
*CloseParams : github.com/chromedp/chromedp.PollAction
*CloseParams : github.com/chromedp/chromedp.QueryAction
CloseParams : github.com/goccy/go-json.Marshaler
*CloseParams : github.com/goccy/go-json.Unmarshaler
CloseParams : github.com/mailru/easyjson.Marshaler
*CloseParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CloseParams : github.com/mailru/easyjson.Unmarshaler
CloseParams : encoding/json.Marshaler
*CloseParams : encoding/json.Unmarshaler
func Close() *CloseParams
CompilationCacheParams per-script compilation cache parameters for
Page.produceCompilationCache.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-CompilationCacheParams
// A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion).
// The URL of the script to produce a compilation cache entry for.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CompilationCacheParams : github.com/goccy/go-json.Marshaler
*CompilationCacheParams : github.com/goccy/go-json.Unmarshaler
CompilationCacheParams : github.com/mailru/easyjson.Marshaler
*CompilationCacheParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CompilationCacheParams : github.com/mailru/easyjson.Unmarshaler
CompilationCacheParams : encoding/json.Marshaler
*CompilationCacheParams : encoding/json.Unmarshaler
func ProduceCompilationCache(scripts []*CompilationCacheParams) *ProduceCompilationCacheParams
CrashParams crashes renderer on the IO thread, generates minidumps.
Do executes Page.crash against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*CrashParams : github.com/chromedp/chromedp.Action
*CrashParams : github.com/chromedp/chromedp.CallAction
*CrashParams : github.com/chromedp/chromedp.EmulateAction
*CrashParams : github.com/chromedp/chromedp.EvaluateAction
*CrashParams : github.com/chromedp/chromedp.KeyAction
*CrashParams : github.com/chromedp/chromedp.MouseAction
*CrashParams : github.com/chromedp/chromedp.NavigateAction
*CrashParams : github.com/chromedp/chromedp.PollAction
*CrashParams : github.com/chromedp/chromedp.QueryAction
CrashParams : github.com/goccy/go-json.Marshaler
*CrashParams : github.com/goccy/go-json.Unmarshaler
CrashParams : github.com/mailru/easyjson.Marshaler
*CrashParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CrashParams : github.com/mailru/easyjson.Unmarshaler
CrashParams : encoding/json.Marshaler
*CrashParams : encoding/json.Unmarshaler
func Crash() *CrashParams
CreateIsolatedWorldParams creates an isolated world for the given frame.
// Id of the frame in which the isolated world should be created.
// Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution.
// An optional name which is reported in the Execution Context.
Do executes Page.createIsolatedWorld against the provided context.
returns:
executionContextID - Execution context of the isolated world.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithGrantUniveralAccess whether or not universal access should be granted
to the isolated world. This is a powerful option, use with caution.
WithWorldName an optional name which is reported in the Execution Context.
CreateIsolatedWorldParams : github.com/goccy/go-json.Marshaler
*CreateIsolatedWorldParams : github.com/goccy/go-json.Unmarshaler
CreateIsolatedWorldParams : github.com/mailru/easyjson.Marshaler
*CreateIsolatedWorldParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CreateIsolatedWorldParams : github.com/mailru/easyjson.Unmarshaler
CreateIsolatedWorldParams : encoding/json.Marshaler
*CreateIsolatedWorldParams : encoding/json.Unmarshaler
func CreateIsolatedWorld(frameID cdp.FrameID) *CreateIsolatedWorldParams
func CreateIsolatedWorldParams.WithGrantUniveralAccess(grantUniveralAccess bool) *CreateIsolatedWorldParams
func CreateIsolatedWorldParams.WithWorldName(worldName string) *CreateIsolatedWorldParams
CreateIsolatedWorldReturns return values.
// Specifies in which execution context to lookup global scope variables.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CreateIsolatedWorldReturns : github.com/goccy/go-json.Marshaler
*CreateIsolatedWorldReturns : github.com/goccy/go-json.Unmarshaler
CreateIsolatedWorldReturns : github.com/mailru/easyjson.Marshaler
*CreateIsolatedWorldReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CreateIsolatedWorldReturns : github.com/mailru/easyjson.Unmarshaler
CreateIsolatedWorldReturns : encoding/json.Marshaler
*CreateIsolatedWorldReturns : encoding/json.Unmarshaler
DialogType javascript dialog type.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-DialogType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the DialogType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
DialogType : github.com/goccy/go-json.Marshaler
*DialogType : github.com/goccy/go-json.Unmarshaler
DialogType : github.com/mailru/easyjson.Marshaler
*DialogType : github.com/mailru/easyjson.MarshalerUnmarshaler
*DialogType : github.com/mailru/easyjson.Unmarshaler
DialogType : encoding/json.Marshaler
*DialogType : encoding/json.Unmarshaler
DialogType : expvar.Var
DialogType : fmt.Stringer
const DialogTypeAlert
const DialogTypeBeforeunload
const DialogTypeConfirm
const DialogTypePrompt
DisableParams disables page domain notifications.
Do executes Page.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
EnableParams enables page domain notifications.
Do executes Page.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
EventBackForwardCacheNotUsed fired for failed bfcache history navigations
if BackForwardCache feature is enabled. Do not assume any ordering with the
Page.frameNavigated event. This event is fired only for main-frame history
navigation where the document changes (non-same-document navigations), when
bfcache navigation fails.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-backForwardCacheNotUsed
// The frame id of the associated frame.
// The loader id for the associated navgation.
// Array of reasons why the page could not be cached. This must not be empty.
// Tree structure of reasons why the page could not be cached for each frame.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventBackForwardCacheNotUsed : github.com/goccy/go-json.Marshaler
*EventBackForwardCacheNotUsed : github.com/goccy/go-json.Unmarshaler
EventBackForwardCacheNotUsed : github.com/mailru/easyjson.Marshaler
*EventBackForwardCacheNotUsed : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventBackForwardCacheNotUsed : github.com/mailru/easyjson.Unmarshaler
EventBackForwardCacheNotUsed : encoding/json.Marshaler
*EventBackForwardCacheNotUsed : encoding/json.Unmarshaler
EventCompilationCacheProduced issued for every compilation cache
generated. Is only available if Page.setGenerateCompilationCache is enabled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-compilationCacheProduced
// Base64-encoded data
URL string
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventCompilationCacheProduced : github.com/goccy/go-json.Marshaler
*EventCompilationCacheProduced : github.com/goccy/go-json.Unmarshaler
EventCompilationCacheProduced : github.com/mailru/easyjson.Marshaler
*EventCompilationCacheProduced : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventCompilationCacheProduced : github.com/mailru/easyjson.Unmarshaler
EventCompilationCacheProduced : encoding/json.Marshaler
*EventCompilationCacheProduced : encoding/json.Unmarshaler
EventDocumentOpened fired when opening document to write to.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-documentOpened
// Frame object.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventDocumentOpened : github.com/goccy/go-json.Marshaler
*EventDocumentOpened : github.com/goccy/go-json.Unmarshaler
EventDocumentOpened : github.com/mailru/easyjson.Marshaler
*EventDocumentOpened : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventDocumentOpened : github.com/mailru/easyjson.Unmarshaler
EventDocumentOpened : encoding/json.Marshaler
*EventDocumentOpened : encoding/json.Unmarshaler
EventDomContentEventFired [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-domContentEventFired
Timestamp *cdp.MonotonicTime
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventDomContentEventFired : github.com/goccy/go-json.Marshaler
*EventDomContentEventFired : github.com/goccy/go-json.Unmarshaler
EventDomContentEventFired : github.com/mailru/easyjson.Marshaler
*EventDomContentEventFired : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventDomContentEventFired : github.com/mailru/easyjson.Unmarshaler
EventDomContentEventFired : encoding/json.Marshaler
*EventDomContentEventFired : encoding/json.Unmarshaler
EventFileChooserOpened emitted only when page.interceptFileChooser is
enabled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-fileChooserOpened
// Input node id. Only present for file choosers opened via an <input type="file"> element.
// Id of the frame containing input node.
// Input mode.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFileChooserOpened : github.com/goccy/go-json.Marshaler
*EventFileChooserOpened : github.com/goccy/go-json.Unmarshaler
EventFileChooserOpened : github.com/mailru/easyjson.Marshaler
*EventFileChooserOpened : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFileChooserOpened : github.com/mailru/easyjson.Unmarshaler
EventFileChooserOpened : encoding/json.Marshaler
*EventFileChooserOpened : encoding/json.Unmarshaler
EventFrameAttached fired when frame has been attached to its parent.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameAttached
// Id of the frame that has been attached.
// Parent frame identifier.
// JavaScript stack trace of when frame was attached, only set if frame initiated from script.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFrameAttached : github.com/goccy/go-json.Marshaler
*EventFrameAttached : github.com/goccy/go-json.Unmarshaler
EventFrameAttached : github.com/mailru/easyjson.Marshaler
*EventFrameAttached : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFrameAttached : github.com/mailru/easyjson.Unmarshaler
EventFrameAttached : encoding/json.Marshaler
*EventFrameAttached : encoding/json.Unmarshaler
EventFrameDetached fired when frame has been detached from its parent.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameDetached
// Id of the frame that has been detached.
Reason FrameDetachedReason
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFrameDetached : github.com/goccy/go-json.Marshaler
*EventFrameDetached : github.com/goccy/go-json.Unmarshaler
EventFrameDetached : github.com/mailru/easyjson.Marshaler
*EventFrameDetached : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFrameDetached : github.com/mailru/easyjson.Unmarshaler
EventFrameDetached : encoding/json.Marshaler
*EventFrameDetached : encoding/json.Unmarshaler
EventFrameResized [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameResized
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFrameResized : github.com/goccy/go-json.Marshaler
*EventFrameResized : github.com/goccy/go-json.Unmarshaler
EventFrameResized : github.com/mailru/easyjson.Marshaler
*EventFrameResized : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFrameResized : github.com/mailru/easyjson.Unmarshaler
EventFrameResized : encoding/json.Marshaler
*EventFrameResized : encoding/json.Unmarshaler
EventFrameStartedLoading fired when frame has started loading.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameStartedLoading
FrameID cdp.FrameID
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFrameStartedLoading : github.com/goccy/go-json.Marshaler
*EventFrameStartedLoading : github.com/goccy/go-json.Unmarshaler
EventFrameStartedLoading : github.com/mailru/easyjson.Marshaler
*EventFrameStartedLoading : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFrameStartedLoading : github.com/mailru/easyjson.Unmarshaler
EventFrameStartedLoading : encoding/json.Marshaler
*EventFrameStartedLoading : encoding/json.Unmarshaler
EventFrameStoppedLoading fired when frame has stopped loading.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameStoppedLoading
FrameID cdp.FrameID
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventFrameStoppedLoading : github.com/goccy/go-json.Marshaler
*EventFrameStoppedLoading : github.com/goccy/go-json.Unmarshaler
EventFrameStoppedLoading : github.com/mailru/easyjson.Marshaler
*EventFrameStoppedLoading : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventFrameStoppedLoading : github.com/mailru/easyjson.Unmarshaler
EventFrameStoppedLoading : encoding/json.Marshaler
*EventFrameStoppedLoading : encoding/json.Unmarshaler
EventInterstitialHidden fired when interstitial page was hidden.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-interstitialHidden
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventInterstitialHidden : github.com/goccy/go-json.Marshaler
*EventInterstitialHidden : github.com/goccy/go-json.Unmarshaler
EventInterstitialHidden : github.com/mailru/easyjson.Marshaler
*EventInterstitialHidden : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventInterstitialHidden : github.com/mailru/easyjson.Unmarshaler
EventInterstitialHidden : encoding/json.Marshaler
*EventInterstitialHidden : encoding/json.Unmarshaler
EventInterstitialShown fired when interstitial page was shown.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-interstitialShown
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventInterstitialShown : github.com/goccy/go-json.Marshaler
*EventInterstitialShown : github.com/goccy/go-json.Unmarshaler
EventInterstitialShown : github.com/mailru/easyjson.Marshaler
*EventInterstitialShown : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventInterstitialShown : github.com/mailru/easyjson.Unmarshaler
EventInterstitialShown : encoding/json.Marshaler
*EventInterstitialShown : encoding/json.Unmarshaler
EventJavascriptDialogClosed fired when a JavaScript initiated dialog
(alert, confirm, prompt, or onbeforeunload) has been closed.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-javascriptDialogClosed
// Whether dialog was confirmed.
// User input in case of prompt.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventJavascriptDialogClosed : github.com/goccy/go-json.Marshaler
*EventJavascriptDialogClosed : github.com/goccy/go-json.Unmarshaler
EventJavascriptDialogClosed : github.com/mailru/easyjson.Marshaler
*EventJavascriptDialogClosed : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventJavascriptDialogClosed : github.com/mailru/easyjson.Unmarshaler
EventJavascriptDialogClosed : encoding/json.Marshaler
*EventJavascriptDialogClosed : encoding/json.Unmarshaler
EventJavascriptDialogOpening fired when a JavaScript initiated dialog
(alert, confirm, prompt, or onbeforeunload) is about to open.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-javascriptDialogOpening
// Default dialog prompt.
// True iff browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
// Message that will be displayed by the dialog.
// Dialog type.
// Frame url.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventJavascriptDialogOpening : github.com/goccy/go-json.Marshaler
*EventJavascriptDialogOpening : github.com/goccy/go-json.Unmarshaler
EventJavascriptDialogOpening : github.com/mailru/easyjson.Marshaler
*EventJavascriptDialogOpening : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventJavascriptDialogOpening : github.com/mailru/easyjson.Unmarshaler
EventJavascriptDialogOpening : encoding/json.Marshaler
*EventJavascriptDialogOpening : encoding/json.Unmarshaler
EventLifecycleEvent fired for top level page lifecycle events such as
navigation, load, paint, etc.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-lifecycleEvent
// Id of the frame.
// Loader identifier. Empty string if the request is fetched from worker.
Name string
Timestamp *cdp.MonotonicTime
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLifecycleEvent : github.com/goccy/go-json.Marshaler
*EventLifecycleEvent : github.com/goccy/go-json.Unmarshaler
EventLifecycleEvent : github.com/mailru/easyjson.Marshaler
*EventLifecycleEvent : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLifecycleEvent : github.com/mailru/easyjson.Unmarshaler
EventLifecycleEvent : encoding/json.Marshaler
*EventLifecycleEvent : encoding/json.Unmarshaler
EventLoadEventFired [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-loadEventFired
Timestamp *cdp.MonotonicTime
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLoadEventFired : github.com/goccy/go-json.Marshaler
*EventLoadEventFired : github.com/goccy/go-json.Unmarshaler
EventLoadEventFired : github.com/mailru/easyjson.Marshaler
*EventLoadEventFired : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLoadEventFired : github.com/mailru/easyjson.Unmarshaler
EventLoadEventFired : encoding/json.Marshaler
*EventLoadEventFired : encoding/json.Unmarshaler
EventScreencastFrame compressed image data requested by the
startScreencast.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-screencastFrame
// Base64-encoded compressed image.
// Screencast frame metadata.
// Frame number.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventScreencastFrame : github.com/goccy/go-json.Marshaler
*EventScreencastFrame : github.com/goccy/go-json.Unmarshaler
EventScreencastFrame : github.com/mailru/easyjson.Marshaler
*EventScreencastFrame : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventScreencastFrame : github.com/mailru/easyjson.Unmarshaler
EventScreencastFrame : encoding/json.Marshaler
*EventScreencastFrame : encoding/json.Unmarshaler
EventScreencastVisibilityChanged fired when the page with currently
enabled screencast was shown or hidden .
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-screencastVisibilityChanged
// True if the page is visible.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventScreencastVisibilityChanged : github.com/goccy/go-json.Marshaler
*EventScreencastVisibilityChanged : github.com/goccy/go-json.Unmarshaler
EventScreencastVisibilityChanged : github.com/mailru/easyjson.Marshaler
*EventScreencastVisibilityChanged : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventScreencastVisibilityChanged : github.com/mailru/easyjson.Unmarshaler
EventScreencastVisibilityChanged : encoding/json.Marshaler
*EventScreencastVisibilityChanged : encoding/json.Unmarshaler
EventWindowOpen fired when a new window is going to be opened, via
window.open(), link click, form submission, etc.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-windowOpen
// The URL for the new window.
// Whether or not it was triggered by user gesture.
// An array of enabled window features.
// Window name.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventWindowOpen : github.com/goccy/go-json.Marshaler
*EventWindowOpen : github.com/goccy/go-json.Unmarshaler
EventWindowOpen : github.com/mailru/easyjson.Marshaler
*EventWindowOpen : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventWindowOpen : github.com/mailru/easyjson.Unmarshaler
EventWindowOpen : encoding/json.Marshaler
*EventWindowOpen : encoding/json.Unmarshaler
FileChooserOpenedMode input mode.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-fileChooserOpened
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the FileChooserOpenedMode as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
FileChooserOpenedMode : github.com/goccy/go-json.Marshaler
*FileChooserOpenedMode : github.com/goccy/go-json.Unmarshaler
FileChooserOpenedMode : github.com/mailru/easyjson.Marshaler
*FileChooserOpenedMode : github.com/mailru/easyjson.MarshalerUnmarshaler
*FileChooserOpenedMode : github.com/mailru/easyjson.Unmarshaler
FileChooserOpenedMode : encoding/json.Marshaler
*FileChooserOpenedMode : encoding/json.Unmarshaler
FileChooserOpenedMode : expvar.Var
FileChooserOpenedMode : fmt.Stringer
const FileChooserOpenedModeSelectMultiple
const FileChooserOpenedModeSelectSingle
FontFamilies generic font families collection.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FontFamilies
// The cursive font-family.
// The fantasy font-family.
// The fixed font-family.
// The math font-family.
// The sansSerif font-family.
// The serif font-family.
// The standard font-family.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
FontFamilies : github.com/goccy/go-json.Marshaler
*FontFamilies : github.com/goccy/go-json.Unmarshaler
FontFamilies : github.com/mailru/easyjson.Marshaler
*FontFamilies : github.com/mailru/easyjson.MarshalerUnmarshaler
*FontFamilies : github.com/mailru/easyjson.Unmarshaler
FontFamilies : encoding/json.Marshaler
*FontFamilies : encoding/json.Unmarshaler
func SetFontFamilies(fontFamilies *FontFamilies) *SetFontFamiliesParams
FontSizes default font sizes.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FontSizes
// Default fixed font size.
// Default standard font size.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
FontSizes : github.com/goccy/go-json.Marshaler
*FontSizes : github.com/goccy/go-json.Unmarshaler
FontSizes : github.com/mailru/easyjson.Marshaler
*FontSizes : github.com/mailru/easyjson.MarshalerUnmarshaler
*FontSizes : github.com/mailru/easyjson.Unmarshaler
FontSizes : encoding/json.Marshaler
*FontSizes : encoding/json.Unmarshaler
func SetFontSizes(fontSizes *FontSizes) *SetFontSizesParams
FrameDetachedReason [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-frameDetached
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the FrameDetachedReason as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
FrameDetachedReason : github.com/goccy/go-json.Marshaler
*FrameDetachedReason : github.com/goccy/go-json.Unmarshaler
FrameDetachedReason : github.com/mailru/easyjson.Marshaler
*FrameDetachedReason : github.com/mailru/easyjson.MarshalerUnmarshaler
*FrameDetachedReason : github.com/mailru/easyjson.Unmarshaler
FrameDetachedReason : encoding/json.Marshaler
*FrameDetachedReason : encoding/json.Unmarshaler
FrameDetachedReason : expvar.Var
FrameDetachedReason : fmt.Stringer
const FrameDetachedReasonRemove
const FrameDetachedReasonSwap
FrameResource information about the Resource on the page.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FrameResource
// True if the resource was canceled during loading.
// Resource content size.
// True if the resource failed to load.
// last-modified timestamp as reported by server.
// Resource mimeType as determined by the browser.
// Type of this resource.
// Resource URL.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
FrameResource : github.com/goccy/go-json.Marshaler
*FrameResource : github.com/goccy/go-json.Unmarshaler
FrameResource : github.com/mailru/easyjson.Marshaler
*FrameResource : github.com/mailru/easyjson.MarshalerUnmarshaler
*FrameResource : github.com/mailru/easyjson.Unmarshaler
FrameResource : encoding/json.Marshaler
*FrameResource : encoding/json.Unmarshaler
FrameResourceTree information about the Frame hierarchy along with their
cached resources.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FrameResourceTree
// Child frames.
// Frame information for this tree item.
// Information about frame resources.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
FrameResourceTree : github.com/goccy/go-json.Marshaler
*FrameResourceTree : github.com/goccy/go-json.Unmarshaler
FrameResourceTree : github.com/mailru/easyjson.Marshaler
*FrameResourceTree : github.com/mailru/easyjson.MarshalerUnmarshaler
*FrameResourceTree : github.com/mailru/easyjson.Unmarshaler
FrameResourceTree : encoding/json.Marshaler
*FrameResourceTree : encoding/json.Unmarshaler
func (*GetResourceTreeParams).Do(ctx context.Context) (frameTree *FrameResourceTree, err error)
FrameTree information about the Frame hierarchy.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FrameTree
// Child frames.
// Frame information for this tree item.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
FrameTree : github.com/goccy/go-json.Marshaler
*FrameTree : github.com/goccy/go-json.Unmarshaler
FrameTree : github.com/mailru/easyjson.Marshaler
*FrameTree : github.com/mailru/easyjson.MarshalerUnmarshaler
*FrameTree : github.com/mailru/easyjson.Unmarshaler
FrameTree : encoding/json.Marshaler
*FrameTree : encoding/json.Unmarshaler
func (*GetFrameTreeParams).Do(ctx context.Context) (frameTree *FrameTree, err error)
GenerateTestReportParams generates a report for testing.
// Specifies the endpoint group to deliver the report to.
// Message to be displayed in the report.
Do executes Page.generateTestReport against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithGroup specifies the endpoint group to deliver the report to.
*GenerateTestReportParams : github.com/chromedp/chromedp.Action
*GenerateTestReportParams : github.com/chromedp/chromedp.CallAction
*GenerateTestReportParams : github.com/chromedp/chromedp.EmulateAction
*GenerateTestReportParams : github.com/chromedp/chromedp.EvaluateAction
*GenerateTestReportParams : github.com/chromedp/chromedp.KeyAction
*GenerateTestReportParams : github.com/chromedp/chromedp.MouseAction
*GenerateTestReportParams : github.com/chromedp/chromedp.NavigateAction
*GenerateTestReportParams : github.com/chromedp/chromedp.PollAction
*GenerateTestReportParams : github.com/chromedp/chromedp.QueryAction
GenerateTestReportParams : github.com/goccy/go-json.Marshaler
*GenerateTestReportParams : github.com/goccy/go-json.Unmarshaler
GenerateTestReportParams : github.com/mailru/easyjson.Marshaler
*GenerateTestReportParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GenerateTestReportParams : github.com/mailru/easyjson.Unmarshaler
GenerateTestReportParams : encoding/json.Marshaler
*GenerateTestReportParams : encoding/json.Unmarshaler
func GenerateTestReport(message string) *GenerateTestReportParams
func GenerateTestReportParams.WithGroup(group string) *GenerateTestReportParams
GetAdScriptIDParams [no description].
FrameID cdp.FrameID
Do executes Page.getAdScriptId against the provided context.
returns:
adScriptID - Identifies the bottom-most script which caused the frame to be labelled as an ad. Only sent if frame is labelled as an ad and id is available.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAdScriptIDParams : github.com/goccy/go-json.Marshaler
*GetAdScriptIDParams : github.com/goccy/go-json.Unmarshaler
GetAdScriptIDParams : github.com/mailru/easyjson.Marshaler
*GetAdScriptIDParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAdScriptIDParams : github.com/mailru/easyjson.Unmarshaler
GetAdScriptIDParams : encoding/json.Marshaler
*GetAdScriptIDParams : encoding/json.Unmarshaler
func GetAdScriptID(frameID cdp.FrameID) *GetAdScriptIDParams
GetAdScriptIDReturns return values.
// Identifies the bottom-most script which caused the frame to be labelled as an ad. Only sent if frame is labelled as an ad and id is available.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAdScriptIDReturns : github.com/goccy/go-json.Marshaler
*GetAdScriptIDReturns : github.com/goccy/go-json.Unmarshaler
GetAdScriptIDReturns : github.com/mailru/easyjson.Marshaler
*GetAdScriptIDReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAdScriptIDReturns : github.com/mailru/easyjson.Unmarshaler
GetAdScriptIDReturns : encoding/json.Marshaler
*GetAdScriptIDReturns : encoding/json.Unmarshaler
GetAppIDParams returns the unique (PWA) app id. Only returns values if the
feature flag 'WebAppEnableManifestId' is enabled.
Do executes Page.getAppId against the provided context.
returns:
appID - App id, either from manifest's id attribute or computed from start_url
recommendedID - Recommendation for manifest's id attribute to match current id computed from start_url
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAppIDParams : github.com/goccy/go-json.Marshaler
*GetAppIDParams : github.com/goccy/go-json.Unmarshaler
GetAppIDParams : github.com/mailru/easyjson.Marshaler
*GetAppIDParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAppIDParams : github.com/mailru/easyjson.Unmarshaler
GetAppIDParams : encoding/json.Marshaler
*GetAppIDParams : encoding/json.Unmarshaler
func GetAppID() *GetAppIDParams
GetAppIDReturns return values.
// App id, either from manifest's id attribute or computed from start_url
// Recommendation for manifest's id attribute to match current id computed from start_url
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAppIDReturns : github.com/goccy/go-json.Marshaler
*GetAppIDReturns : github.com/goccy/go-json.Unmarshaler
GetAppIDReturns : github.com/mailru/easyjson.Marshaler
*GetAppIDReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAppIDReturns : github.com/mailru/easyjson.Unmarshaler
GetAppIDReturns : encoding/json.Marshaler
*GetAppIDReturns : encoding/json.Unmarshaler
GetAppManifestParams [no description].
Do executes Page.getAppManifest against the provided context.
returns:
url - Manifest location.
errors
data - Manifest content.
parsed - Parsed manifest properties
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAppManifestParams : github.com/goccy/go-json.Marshaler
*GetAppManifestParams : github.com/goccy/go-json.Unmarshaler
GetAppManifestParams : github.com/mailru/easyjson.Marshaler
*GetAppManifestParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAppManifestParams : github.com/mailru/easyjson.Unmarshaler
GetAppManifestParams : encoding/json.Marshaler
*GetAppManifestParams : encoding/json.Unmarshaler
func GetAppManifest() *GetAppManifestParams
GetAppManifestReturns return values.
// Manifest content.
Errors []*AppManifestError
// Parsed manifest properties
// Manifest location.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetAppManifestReturns : github.com/goccy/go-json.Marshaler
*GetAppManifestReturns : github.com/goccy/go-json.Unmarshaler
GetAppManifestReturns : github.com/mailru/easyjson.Marshaler
*GetAppManifestReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetAppManifestReturns : github.com/mailru/easyjson.Unmarshaler
GetAppManifestReturns : encoding/json.Marshaler
*GetAppManifestReturns : encoding/json.Unmarshaler
GetFrameTreeParams returns present frame tree structure.
Do executes Page.getFrameTree against the provided context.
returns:
frameTree - Present frame tree structure.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetFrameTreeParams : github.com/goccy/go-json.Marshaler
*GetFrameTreeParams : github.com/goccy/go-json.Unmarshaler
GetFrameTreeParams : github.com/mailru/easyjson.Marshaler
*GetFrameTreeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFrameTreeParams : github.com/mailru/easyjson.Unmarshaler
GetFrameTreeParams : encoding/json.Marshaler
*GetFrameTreeParams : encoding/json.Unmarshaler
func GetFrameTree() *GetFrameTreeParams
GetFrameTreeReturns return values.
// Present frame tree structure.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetFrameTreeReturns : github.com/goccy/go-json.Marshaler
*GetFrameTreeReturns : github.com/goccy/go-json.Unmarshaler
GetFrameTreeReturns : github.com/mailru/easyjson.Marshaler
*GetFrameTreeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFrameTreeReturns : github.com/mailru/easyjson.Unmarshaler
GetFrameTreeReturns : encoding/json.Marshaler
*GetFrameTreeReturns : encoding/json.Unmarshaler
GetInstallabilityErrorsParams [no description].
Do executes Page.getInstallabilityErrors against the provided context.
returns:
installabilityErrors
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetInstallabilityErrorsParams : github.com/goccy/go-json.Marshaler
*GetInstallabilityErrorsParams : github.com/goccy/go-json.Unmarshaler
GetInstallabilityErrorsParams : github.com/mailru/easyjson.Marshaler
*GetInstallabilityErrorsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetInstallabilityErrorsParams : github.com/mailru/easyjson.Unmarshaler
GetInstallabilityErrorsParams : encoding/json.Marshaler
*GetInstallabilityErrorsParams : encoding/json.Unmarshaler
func GetInstallabilityErrors() *GetInstallabilityErrorsParams
GetInstallabilityErrorsReturns return values.
InstallabilityErrors []*InstallabilityError
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetInstallabilityErrorsReturns : github.com/goccy/go-json.Marshaler
*GetInstallabilityErrorsReturns : github.com/goccy/go-json.Unmarshaler
GetInstallabilityErrorsReturns : github.com/mailru/easyjson.Marshaler
*GetInstallabilityErrorsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetInstallabilityErrorsReturns : github.com/mailru/easyjson.Unmarshaler
GetInstallabilityErrorsReturns : encoding/json.Marshaler
*GetInstallabilityErrorsReturns : encoding/json.Unmarshaler
GetLayoutMetricsParams returns metrics relating to the layouting of the
page, such as viewport bounds/scale.
Do executes Page.getLayoutMetrics against the provided context.
returns:
layoutViewport - Deprecated metrics relating to the layout viewport. Is in device pixels. Use cssLayoutViewport instead.
visualViewport - Deprecated metrics relating to the visual viewport. Is in device pixels. Use cssVisualViewport instead.
contentSize - Deprecated size of scrollable area. Is in DP. Use cssContentSize instead.
cssLayoutViewport - Metrics relating to the layout viewport in CSS pixels.
cssVisualViewport - Metrics relating to the visual viewport in CSS pixels.
cssContentSize - Size of scrollable area in CSS pixels.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetLayoutMetricsParams : github.com/goccy/go-json.Marshaler
*GetLayoutMetricsParams : github.com/goccy/go-json.Unmarshaler
GetLayoutMetricsParams : github.com/mailru/easyjson.Marshaler
*GetLayoutMetricsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetLayoutMetricsParams : github.com/mailru/easyjson.Unmarshaler
GetLayoutMetricsParams : encoding/json.Marshaler
*GetLayoutMetricsParams : encoding/json.Unmarshaler
func GetLayoutMetrics() *GetLayoutMetricsParams
GetLayoutMetricsReturns return values.
// Size of scrollable area in CSS pixels.
// Metrics relating to the layout viewport in CSS pixels.
// Metrics relating to the visual viewport in CSS pixels.
// Deprecated size of scrollable area. Is in DP. Use cssContentSize instead.
// Deprecated metrics relating to the layout viewport. Is in device pixels. Use cssLayoutViewport instead.
// Deprecated metrics relating to the visual viewport. Is in device pixels. Use cssVisualViewport instead.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetLayoutMetricsReturns : github.com/goccy/go-json.Marshaler
*GetLayoutMetricsReturns : github.com/goccy/go-json.Unmarshaler
GetLayoutMetricsReturns : github.com/mailru/easyjson.Marshaler
*GetLayoutMetricsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetLayoutMetricsReturns : github.com/mailru/easyjson.Unmarshaler
GetLayoutMetricsReturns : encoding/json.Marshaler
*GetLayoutMetricsReturns : encoding/json.Unmarshaler
GetOriginTrialsParams get Origin Trials on given frame.
FrameID cdp.FrameID
Do executes Page.getOriginTrials against the provided context.
returns:
originTrials
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetOriginTrialsParams : github.com/goccy/go-json.Marshaler
*GetOriginTrialsParams : github.com/goccy/go-json.Unmarshaler
GetOriginTrialsParams : github.com/mailru/easyjson.Marshaler
*GetOriginTrialsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetOriginTrialsParams : github.com/mailru/easyjson.Unmarshaler
GetOriginTrialsParams : encoding/json.Marshaler
*GetOriginTrialsParams : encoding/json.Unmarshaler
func GetOriginTrials(frameID cdp.FrameID) *GetOriginTrialsParams
GetOriginTrialsReturns return values.
OriginTrials []*cdp.OriginTrial
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetOriginTrialsReturns : github.com/goccy/go-json.Marshaler
*GetOriginTrialsReturns : github.com/goccy/go-json.Unmarshaler
GetOriginTrialsReturns : github.com/mailru/easyjson.Marshaler
*GetOriginTrialsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetOriginTrialsReturns : github.com/mailru/easyjson.Unmarshaler
GetOriginTrialsReturns : encoding/json.Marshaler
*GetOriginTrialsReturns : encoding/json.Unmarshaler
GetPermissionsPolicyStateParams get Permissions Policy state on given
frame.
FrameID cdp.FrameID
Do executes Page.getPermissionsPolicyState against the provided context.
returns:
states
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetPermissionsPolicyStateParams : github.com/goccy/go-json.Marshaler
*GetPermissionsPolicyStateParams : github.com/goccy/go-json.Unmarshaler
GetPermissionsPolicyStateParams : github.com/mailru/easyjson.Marshaler
*GetPermissionsPolicyStateParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPermissionsPolicyStateParams : github.com/mailru/easyjson.Unmarshaler
GetPermissionsPolicyStateParams : encoding/json.Marshaler
*GetPermissionsPolicyStateParams : encoding/json.Unmarshaler
func GetPermissionsPolicyState(frameID cdp.FrameID) *GetPermissionsPolicyStateParams
GetPermissionsPolicyStateReturns return values.
States []*PermissionsPolicyFeatureState
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetPermissionsPolicyStateReturns : github.com/goccy/go-json.Marshaler
*GetPermissionsPolicyStateReturns : github.com/goccy/go-json.Unmarshaler
GetPermissionsPolicyStateReturns : github.com/mailru/easyjson.Marshaler
*GetPermissionsPolicyStateReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetPermissionsPolicyStateReturns : github.com/mailru/easyjson.Unmarshaler
GetPermissionsPolicyStateReturns : encoding/json.Marshaler
*GetPermissionsPolicyStateReturns : encoding/json.Unmarshaler
GetResourceContentParams returns content of the given resource.
// Id of the frame.
// Frame's new url.
Do executes Page.getResourceContent against the provided context.
returns:
content - Resource content.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetResourceContentParams : github.com/goccy/go-json.Marshaler
*GetResourceContentParams : github.com/goccy/go-json.Unmarshaler
GetResourceContentParams : github.com/mailru/easyjson.Marshaler
*GetResourceContentParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetResourceContentParams : github.com/mailru/easyjson.Unmarshaler
GetResourceContentParams : encoding/json.Marshaler
*GetResourceContentParams : encoding/json.Unmarshaler
func GetResourceContent(frameID cdp.FrameID, url string) *GetResourceContentParams
GetResourceContentReturns return values.
// True, if content was served as base64.
// Resource content.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetResourceContentReturns : github.com/goccy/go-json.Marshaler
*GetResourceContentReturns : github.com/goccy/go-json.Unmarshaler
GetResourceContentReturns : github.com/mailru/easyjson.Marshaler
*GetResourceContentReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetResourceContentReturns : github.com/mailru/easyjson.Unmarshaler
GetResourceContentReturns : encoding/json.Marshaler
*GetResourceContentReturns : encoding/json.Unmarshaler
GetResourceTreeParams returns present frame / resource tree structure.
Do executes Page.getResourceTree against the provided context.
returns:
frameTree - Present frame / resource tree structure.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetResourceTreeParams : github.com/goccy/go-json.Marshaler
*GetResourceTreeParams : github.com/goccy/go-json.Unmarshaler
GetResourceTreeParams : github.com/mailru/easyjson.Marshaler
*GetResourceTreeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetResourceTreeParams : github.com/mailru/easyjson.Unmarshaler
GetResourceTreeParams : encoding/json.Marshaler
*GetResourceTreeParams : encoding/json.Unmarshaler
func GetResourceTree() *GetResourceTreeParams
GetResourceTreeReturns return values.
// Present frame / resource tree structure.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetResourceTreeReturns : github.com/goccy/go-json.Marshaler
*GetResourceTreeReturns : github.com/goccy/go-json.Unmarshaler
GetResourceTreeReturns : github.com/mailru/easyjson.Marshaler
*GetResourceTreeReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetResourceTreeReturns : github.com/mailru/easyjson.Unmarshaler
GetResourceTreeReturns : encoding/json.Marshaler
*GetResourceTreeReturns : encoding/json.Unmarshaler
HandleJavaScriptDialogParams accepts or dismisses a JavaScript initiated
dialog (alert, confirm, prompt, or onbeforeunload).
// Whether to accept or dismiss the dialog.
// The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.
Do executes Page.handleJavaScriptDialog against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithPromptText the text to enter into the dialog prompt before accepting.
Used only if this is a prompt dialog.
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.Action
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.CallAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.EmulateAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.EvaluateAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.KeyAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.MouseAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.NavigateAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.PollAction
*HandleJavaScriptDialogParams : github.com/chromedp/chromedp.QueryAction
HandleJavaScriptDialogParams : github.com/goccy/go-json.Marshaler
*HandleJavaScriptDialogParams : github.com/goccy/go-json.Unmarshaler
HandleJavaScriptDialogParams : github.com/mailru/easyjson.Marshaler
*HandleJavaScriptDialogParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*HandleJavaScriptDialogParams : github.com/mailru/easyjson.Unmarshaler
HandleJavaScriptDialogParams : encoding/json.Marshaler
*HandleJavaScriptDialogParams : encoding/json.Unmarshaler
func HandleJavaScriptDialog(accept bool) *HandleJavaScriptDialogParams
func HandleJavaScriptDialogParams.WithPromptText(promptText string) *HandleJavaScriptDialogParams
InstallabilityError the installability error.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-InstallabilityError
// The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}).
// The error id (e.g. 'manifest-missing-suitable-icon').
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
InstallabilityError : github.com/goccy/go-json.Marshaler
*InstallabilityError : github.com/goccy/go-json.Unmarshaler
InstallabilityError : github.com/mailru/easyjson.Marshaler
*InstallabilityError : github.com/mailru/easyjson.MarshalerUnmarshaler
*InstallabilityError : github.com/mailru/easyjson.Unmarshaler
InstallabilityError : encoding/json.Marshaler
*InstallabilityError : encoding/json.Unmarshaler
func (*GetInstallabilityErrorsParams).Do(ctx context.Context) (installabilityErrors []*InstallabilityError, err error)
InstallabilityErrorArgument [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-InstallabilityErrorArgument
// address field name, for example GIVEN_NAME.
// address field value, for example Jon Doe.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
InstallabilityErrorArgument : github.com/goccy/go-json.Marshaler
*InstallabilityErrorArgument : github.com/goccy/go-json.Unmarshaler
InstallabilityErrorArgument : github.com/mailru/easyjson.Marshaler
*InstallabilityErrorArgument : github.com/mailru/easyjson.MarshalerUnmarshaler
*InstallabilityErrorArgument : github.com/mailru/easyjson.Unmarshaler
InstallabilityErrorArgument : encoding/json.Marshaler
*InstallabilityErrorArgument : encoding/json.Unmarshaler
LayoutViewport layout viewport position and dimensions.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-LayoutViewport
// Height (CSS pixels), excludes scrollbar if present.
// Width (CSS pixels), excludes scrollbar if present.
// Horizontal offset relative to the document (CSS pixels).
// Vertical offset relative to the document (CSS pixels).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
LayoutViewport : github.com/goccy/go-json.Marshaler
*LayoutViewport : github.com/goccy/go-json.Unmarshaler
LayoutViewport : github.com/mailru/easyjson.Marshaler
*LayoutViewport : github.com/mailru/easyjson.MarshalerUnmarshaler
*LayoutViewport : github.com/mailru/easyjson.Unmarshaler
LayoutViewport : encoding/json.Marshaler
*LayoutViewport : encoding/json.Unmarshaler
func (*GetLayoutMetricsParams).Do(ctx context.Context) (layoutViewport *LayoutViewport, visualViewport *VisualViewport, contentSize *dom.Rect, cssLayoutViewport *LayoutViewport, cssVisualViewport *VisualViewport, cssContentSize *dom.Rect, err error)
func (*GetLayoutMetricsParams).Do(ctx context.Context) (layoutViewport *LayoutViewport, visualViewport *VisualViewport, contentSize *dom.Rect, cssLayoutViewport *LayoutViewport, cssVisualViewport *VisualViewport, cssContentSize *dom.Rect, err error)
PermissionsPolicyBlockLocator [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PermissionsPolicyBlockLocator
BlockReason PermissionsPolicyBlockReason
FrameID cdp.FrameID
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PermissionsPolicyBlockLocator : github.com/goccy/go-json.Marshaler
*PermissionsPolicyBlockLocator : github.com/goccy/go-json.Unmarshaler
PermissionsPolicyBlockLocator : github.com/mailru/easyjson.Marshaler
*PermissionsPolicyBlockLocator : github.com/mailru/easyjson.MarshalerUnmarshaler
*PermissionsPolicyBlockLocator : github.com/mailru/easyjson.Unmarshaler
PermissionsPolicyBlockLocator : encoding/json.Marshaler
*PermissionsPolicyBlockLocator : encoding/json.Unmarshaler
PermissionsPolicyBlockReason reason for a permissions policy feature to be
disabled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PermissionsPolicyBlockReason
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the PermissionsPolicyBlockReason as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
PermissionsPolicyBlockReason : github.com/goccy/go-json.Marshaler
*PermissionsPolicyBlockReason : github.com/goccy/go-json.Unmarshaler
PermissionsPolicyBlockReason : github.com/mailru/easyjson.Marshaler
*PermissionsPolicyBlockReason : github.com/mailru/easyjson.MarshalerUnmarshaler
*PermissionsPolicyBlockReason : github.com/mailru/easyjson.Unmarshaler
PermissionsPolicyBlockReason : encoding/json.Marshaler
*PermissionsPolicyBlockReason : encoding/json.Unmarshaler
PermissionsPolicyBlockReason : expvar.Var
PermissionsPolicyBlockReason : fmt.Stringer
const PermissionsPolicyBlockReasonHeader
const PermissionsPolicyBlockReasonIframeAttribute
const PermissionsPolicyBlockReasonInFencedFrameTree
const PermissionsPolicyBlockReasonInIsolatedApp
PermissionsPolicyFeature all Permissions Policy features. This enum should
match the one defined in
third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PermissionsPolicyFeature
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the PermissionsPolicyFeature as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
PermissionsPolicyFeature : github.com/goccy/go-json.Marshaler
*PermissionsPolicyFeature : github.com/goccy/go-json.Unmarshaler
PermissionsPolicyFeature : github.com/mailru/easyjson.Marshaler
*PermissionsPolicyFeature : github.com/mailru/easyjson.MarshalerUnmarshaler
*PermissionsPolicyFeature : github.com/mailru/easyjson.Unmarshaler
PermissionsPolicyFeature : encoding/json.Marshaler
*PermissionsPolicyFeature : encoding/json.Unmarshaler
PermissionsPolicyFeature : expvar.Var
PermissionsPolicyFeature : fmt.Stringer
const PermissionsPolicyFeatureAccelerometer
const PermissionsPolicyFeatureAmbientLightSensor
const PermissionsPolicyFeatureAttributionReporting
const PermissionsPolicyFeatureAutoplay
const PermissionsPolicyFeatureBluetooth
const PermissionsPolicyFeatureBrowsingTopics
const PermissionsPolicyFeatureCamera
const PermissionsPolicyFeatureChDeviceMemory
const PermissionsPolicyFeatureChDownlink
const PermissionsPolicyFeatureChDpr
const PermissionsPolicyFeatureChEct
const PermissionsPolicyFeatureChPrefersColorScheme
const PermissionsPolicyFeatureChPrefersReducedMotion
const PermissionsPolicyFeatureChPrefersReducedTransparency
const PermissionsPolicyFeatureChRtt
const PermissionsPolicyFeatureChSaveData
const PermissionsPolicyFeatureChUa
const PermissionsPolicyFeatureChUaArch
const PermissionsPolicyFeatureChUaBitness
const PermissionsPolicyFeatureChUaFormFactor
const PermissionsPolicyFeatureChUaFullVersion
const PermissionsPolicyFeatureChUaFullVersionList
const PermissionsPolicyFeatureChUaMobile
const PermissionsPolicyFeatureChUaModel
const PermissionsPolicyFeatureChUaPlatform
const PermissionsPolicyFeatureChUaPlatformVersion
const PermissionsPolicyFeatureChUaWow64
const PermissionsPolicyFeatureChViewportHeight
const PermissionsPolicyFeatureChViewportWidth
const PermissionsPolicyFeatureChWidth
const PermissionsPolicyFeatureClipboardRead
const PermissionsPolicyFeatureClipboardWrite
const PermissionsPolicyFeatureComputePressure
const PermissionsPolicyFeatureCrossOriginIsolated
const PermissionsPolicyFeatureDirectSockets
const PermissionsPolicyFeatureDisplayCapture
const PermissionsPolicyFeatureDocumentDomain
const PermissionsPolicyFeatureEncryptedMedia
const PermissionsPolicyFeatureExecutionWhileNotRendered
const PermissionsPolicyFeatureExecutionWhileOutOfViewport
const PermissionsPolicyFeatureFocusWithoutUserActivation
const PermissionsPolicyFeatureFrobulate
const PermissionsPolicyFeatureFullscreen
const PermissionsPolicyFeatureGamepad
const PermissionsPolicyFeatureGeolocation
const PermissionsPolicyFeatureGyroscope
const PermissionsPolicyFeatureHid
const PermissionsPolicyFeatureIdentityCredentialsGet
const PermissionsPolicyFeatureIdleDetection
const PermissionsPolicyFeatureInterestCohort
const PermissionsPolicyFeatureJoinAdInterestGroup
const PermissionsPolicyFeatureKeyboardMap
const PermissionsPolicyFeatureLocalFonts
const PermissionsPolicyFeatureMagnetometer
const PermissionsPolicyFeatureMicrophone
const PermissionsPolicyFeatureMidi
const PermissionsPolicyFeatureOtpCredentials
const PermissionsPolicyFeaturePayment
const PermissionsPolicyFeaturePictureInPicture
const PermissionsPolicyFeaturePrivateAggregation
const PermissionsPolicyFeaturePrivateStateTokenIssuance
const PermissionsPolicyFeaturePrivateStateTokenRedemption
const PermissionsPolicyFeaturePublickeyCredentialsGet
const PermissionsPolicyFeatureRunAdAuction
const PermissionsPolicyFeatureScreenWakeLock
const PermissionsPolicyFeatureSerial
const PermissionsPolicyFeatureSharedAutofill
const PermissionsPolicyFeatureSharedStorage
const PermissionsPolicyFeatureSharedStorageSelectURL
const PermissionsPolicyFeatureSmartCard
const PermissionsPolicyFeatureStorageAccess
const PermissionsPolicyFeatureSyncXhr
const PermissionsPolicyFeatureUnload
const PermissionsPolicyFeatureUsb
const PermissionsPolicyFeatureVerticalScroll
const PermissionsPolicyFeatureWebShare
const PermissionsPolicyFeatureWindowManagement
const PermissionsPolicyFeatureWindowPlacement
const PermissionsPolicyFeatureXrSpatialTracking
PermissionsPolicyFeatureState [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PermissionsPolicyFeatureState
Allowed bool
Feature PermissionsPolicyFeature
Locator *PermissionsPolicyBlockLocator
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PermissionsPolicyFeatureState : github.com/goccy/go-json.Marshaler
*PermissionsPolicyFeatureState : github.com/goccy/go-json.Unmarshaler
PermissionsPolicyFeatureState : github.com/mailru/easyjson.Marshaler
*PermissionsPolicyFeatureState : github.com/mailru/easyjson.MarshalerUnmarshaler
*PermissionsPolicyFeatureState : github.com/mailru/easyjson.Unmarshaler
PermissionsPolicyFeatureState : encoding/json.Marshaler
*PermissionsPolicyFeatureState : encoding/json.Unmarshaler
func (*GetPermissionsPolicyStateParams).Do(ctx context.Context) (states []*PermissionsPolicyFeatureState, err error)
PrintToPDFParams print page as PDF.
// Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
// HTML template for the print header. Should be valid HTML markup with following classes used to inject printing values into them: - date: formatted print date - title: document title - url: document location - pageNumber: current page number - totalPages: total pages in the document For example, <span class=title></span> would generate span containing the title.
// Paper orientation. Defaults to false.
// Bottom margin in inches. Defaults to 1cm (~0.4 inches).
// Left margin in inches. Defaults to 1cm (~0.4 inches).
// Right margin in inches. Defaults to 1cm (~0.4 inches).
// Top margin in inches. Defaults to 1cm (~0.4 inches).
// Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are printed in the document order, not in the order specified, and no more than once. Defaults to empty string, which implies the entire document is printed. The page numbers are quietly capped to actual page count of the document, and ranges beyond the end of the document are ignored. If this results in no pages to print, an error is reported. It is an error to specify a range with start greater than end.
// Paper height in inches. Defaults to 11 inches.
// Paper width in inches. Defaults to 8.5 inches.
// Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size.
// Print background graphics. Defaults to false.
// Scale of the webpage rendering. Defaults to 1.
// return as stream
Do executes Page.printToPDF against the provided context.
returns:
data - Base64-encoded pdf data. Empty if |returnAsStream| is specified.
stream - A handle of the stream that holds resulting PDF data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithGenerateTaggedPDF whether or not to generate tagged (accessible) PDF.
Defaults to embedder choice.
WithHeaderTemplate HTML template for the print header. Should be valid
HTML markup with following classes used to inject printing values into them:
- date: formatted print date - title: document title - url: document location
- pageNumber: current page number - totalPages: total pages in the document
For example, <span class=title></span> would generate span containing the
title.
WithLandscape paper orientation. Defaults to false.
WithMarginBottom bottom margin in inches. Defaults to 1cm (~0.4 inches).
WithMarginLeft left margin in inches. Defaults to 1cm (~0.4 inches).
WithMarginRight right margin in inches. Defaults to 1cm (~0.4 inches).
WithMarginTop top margin in inches. Defaults to 1cm (~0.4 inches).
WithPageRanges paper ranges to print, one based, e.g., '1-5, 8, 11-13'.
Pages are printed in the document order, not in the order specified, and no
more than once. Defaults to empty string, which implies the entire document
is printed. The page numbers are quietly capped to actual page count of the
document, and ranges beyond the end of the document are ignored. If this
results in no pages to print, an error is reported. It is an error to specify
a range with start greater than end.
WithPaperHeight paper height in inches. Defaults to 11 inches.
WithPaperWidth paper width in inches. Defaults to 8.5 inches.
WithPreferCSSPageSize whether or not to prefer page size as defined by
css. Defaults to false, in which case the content will be scaled to fit the
paper size.
WithPrintBackground print background graphics. Defaults to false.
WithScale scale of the webpage rendering. Defaults to 1.
WithTransferMode return as stream.
PrintToPDFParams : github.com/goccy/go-json.Marshaler
*PrintToPDFParams : github.com/goccy/go-json.Unmarshaler
PrintToPDFParams : github.com/mailru/easyjson.Marshaler
*PrintToPDFParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*PrintToPDFParams : github.com/mailru/easyjson.Unmarshaler
PrintToPDFParams : encoding/json.Marshaler
*PrintToPDFParams : encoding/json.Unmarshaler
func PrintToPDF() *PrintToPDFParams
func PrintToPDFParams.WithDisplayHeaderFooter(displayHeaderFooter bool) *PrintToPDFParams
func PrintToPDFParams.WithFooterTemplate(footerTemplate string) *PrintToPDFParams
func PrintToPDFParams.WithGenerateTaggedPDF(generateTaggedPDF bool) *PrintToPDFParams
func PrintToPDFParams.WithHeaderTemplate(headerTemplate string) *PrintToPDFParams
func PrintToPDFParams.WithLandscape(landscape bool) *PrintToPDFParams
func PrintToPDFParams.WithMarginBottom(marginBottom float64) *PrintToPDFParams
func PrintToPDFParams.WithMarginLeft(marginLeft float64) *PrintToPDFParams
func PrintToPDFParams.WithMarginRight(marginRight float64) *PrintToPDFParams
func PrintToPDFParams.WithMarginTop(marginTop float64) *PrintToPDFParams
func PrintToPDFParams.WithPageRanges(pageRanges string) *PrintToPDFParams
func PrintToPDFParams.WithPaperHeight(paperHeight float64) *PrintToPDFParams
func PrintToPDFParams.WithPaperWidth(paperWidth float64) *PrintToPDFParams
func PrintToPDFParams.WithPreferCSSPageSize(preferCSSPageSize bool) *PrintToPDFParams
func PrintToPDFParams.WithPrintBackground(printBackground bool) *PrintToPDFParams
func PrintToPDFParams.WithScale(scale float64) *PrintToPDFParams
func PrintToPDFParams.WithTransferMode(transferMode PrintToPDFTransferMode) *PrintToPDFParams
PrintToPDFReturns return values.
// Base64-encoded pdf data. Empty if |returnAsStream| is specified.
// A handle of the stream that holds resulting PDF data.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PrintToPDFReturns : github.com/goccy/go-json.Marshaler
*PrintToPDFReturns : github.com/goccy/go-json.Unmarshaler
PrintToPDFReturns : github.com/mailru/easyjson.Marshaler
*PrintToPDFReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*PrintToPDFReturns : github.com/mailru/easyjson.Unmarshaler
PrintToPDFReturns : encoding/json.Marshaler
*PrintToPDFReturns : encoding/json.Unmarshaler
PrintToPDFTransferMode return as stream.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-printToPDF
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the PrintToPDFTransferMode as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
PrintToPDFTransferMode : github.com/goccy/go-json.Marshaler
*PrintToPDFTransferMode : github.com/goccy/go-json.Unmarshaler
PrintToPDFTransferMode : github.com/mailru/easyjson.Marshaler
*PrintToPDFTransferMode : github.com/mailru/easyjson.MarshalerUnmarshaler
*PrintToPDFTransferMode : github.com/mailru/easyjson.Unmarshaler
PrintToPDFTransferMode : encoding/json.Marshaler
*PrintToPDFTransferMode : encoding/json.Unmarshaler
PrintToPDFTransferMode : expvar.Var
PrintToPDFTransferMode : fmt.Stringer
func PrintToPDFParams.WithTransferMode(transferMode PrintToPDFTransferMode) *PrintToPDFParams
const PrintToPDFTransferModeReturnAsBase64
const PrintToPDFTransferModeReturnAsStream
ProduceCompilationCacheParams requests backend to produce compilation
cache for the specified scripts. scripts are appeneded to the list of scripts
for which the cache would be produced. The list may be reset during page
navigation. When script with a matching URL is encountered, the cache is
optionally produced upon backend discretion, based on internal heuristics.
See also: Page.compilationCacheProduced.
Scripts []*CompilationCacheParams
Do executes Page.produceCompilationCache against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.Action
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.CallAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.EmulateAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.EvaluateAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.KeyAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.MouseAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.NavigateAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.PollAction
*ProduceCompilationCacheParams : github.com/chromedp/chromedp.QueryAction
ProduceCompilationCacheParams : github.com/goccy/go-json.Marshaler
*ProduceCompilationCacheParams : github.com/goccy/go-json.Unmarshaler
ProduceCompilationCacheParams : github.com/mailru/easyjson.Marshaler
*ProduceCompilationCacheParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ProduceCompilationCacheParams : github.com/mailru/easyjson.Unmarshaler
ProduceCompilationCacheParams : encoding/json.Marshaler
*ProduceCompilationCacheParams : encoding/json.Unmarshaler
func ProduceCompilationCache(scripts []*CompilationCacheParams) *ProduceCompilationCacheParams
ReferrerPolicy the referring-policy used for the navigation.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ReferrerPolicy
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ReferrerPolicy as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ReferrerPolicy : github.com/goccy/go-json.Marshaler
*ReferrerPolicy : github.com/goccy/go-json.Unmarshaler
ReferrerPolicy : github.com/mailru/easyjson.Marshaler
*ReferrerPolicy : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReferrerPolicy : github.com/mailru/easyjson.Unmarshaler
ReferrerPolicy : encoding/json.Marshaler
*ReferrerPolicy : encoding/json.Unmarshaler
ReferrerPolicy : expvar.Var
ReferrerPolicy : fmt.Stringer
func NavigateParams.WithReferrerPolicy(referrerPolicy ReferrerPolicy) *NavigateParams
const ReferrerPolicyNoReferrer
const ReferrerPolicyNoReferrerWhenDowngrade
const ReferrerPolicyOrigin
const ReferrerPolicyOriginWhenCrossOrigin
const ReferrerPolicySameOrigin
const ReferrerPolicyStrictOrigin
const ReferrerPolicyStrictOriginWhenCrossOrigin
const ReferrerPolicyUnsafeURL
ReloadParams reloads given page optionally ignoring the cache.
// If true, browser cache is ignored (as if the user pressed Shift+refresh).
// If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.
Do executes Page.reload against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithIgnoreCache if true, browser cache is ignored (as if the user pressed
Shift+refresh).
WithScriptToEvaluateOnLoad if set, the script will be injected into all
frames of the inspected page after reload. Argument will be ignored if
reloading dataURL origin.
*ReloadParams : github.com/chromedp/chromedp.Action
*ReloadParams : github.com/chromedp/chromedp.CallAction
*ReloadParams : github.com/chromedp/chromedp.EmulateAction
*ReloadParams : github.com/chromedp/chromedp.EvaluateAction
*ReloadParams : github.com/chromedp/chromedp.KeyAction
*ReloadParams : github.com/chromedp/chromedp.MouseAction
*ReloadParams : github.com/chromedp/chromedp.NavigateAction
*ReloadParams : github.com/chromedp/chromedp.PollAction
*ReloadParams : github.com/chromedp/chromedp.QueryAction
ReloadParams : github.com/goccy/go-json.Marshaler
*ReloadParams : github.com/goccy/go-json.Unmarshaler
ReloadParams : github.com/mailru/easyjson.Marshaler
*ReloadParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReloadParams : github.com/mailru/easyjson.Unmarshaler
ReloadParams : encoding/json.Marshaler
*ReloadParams : encoding/json.Unmarshaler
func Reload() *ReloadParams
func ReloadParams.WithIgnoreCache(ignoreCache bool) *ReloadParams
func ReloadParams.WithScriptToEvaluateOnLoad(scriptToEvaluateOnLoad string) *ReloadParams
RemoveScriptToEvaluateOnNewDocumentParams removes given script from the
list.
Identifier ScriptIdentifier
Do executes Page.removeScriptToEvaluateOnNewDocument against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.Action
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.CallAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.EmulateAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.EvaluateAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.KeyAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.MouseAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.NavigateAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.PollAction
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/chromedp/chromedp.QueryAction
RemoveScriptToEvaluateOnNewDocumentParams : github.com/goccy/go-json.Marshaler
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/goccy/go-json.Unmarshaler
RemoveScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.Marshaler
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RemoveScriptToEvaluateOnNewDocumentParams : github.com/mailru/easyjson.Unmarshaler
RemoveScriptToEvaluateOnNewDocumentParams : encoding/json.Marshaler
*RemoveScriptToEvaluateOnNewDocumentParams : encoding/json.Unmarshaler
func RemoveScriptToEvaluateOnNewDocument(identifier ScriptIdentifier) *RemoveScriptToEvaluateOnNewDocumentParams
ScreencastFormat image compression format.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-startScreencast
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ScreencastFormat as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ScreencastFormat : github.com/goccy/go-json.Marshaler
*ScreencastFormat : github.com/goccy/go-json.Unmarshaler
ScreencastFormat : github.com/mailru/easyjson.Marshaler
*ScreencastFormat : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScreencastFormat : github.com/mailru/easyjson.Unmarshaler
ScreencastFormat : encoding/json.Marshaler
*ScreencastFormat : encoding/json.Unmarshaler
ScreencastFormat : expvar.Var
ScreencastFormat : fmt.Stringer
func StartScreencastParams.WithFormat(format ScreencastFormat) *StartScreencastParams
const ScreencastFormatJpeg
const ScreencastFormatPng
ScreencastFrameAckParams acknowledges that a screencast frame has been
received by the frontend.
// Frame number.
Do executes Page.screencastFrameAck against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ScreencastFrameAckParams : github.com/chromedp/chromedp.Action
*ScreencastFrameAckParams : github.com/chromedp/chromedp.CallAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.EmulateAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.EvaluateAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.KeyAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.MouseAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.NavigateAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.PollAction
*ScreencastFrameAckParams : github.com/chromedp/chromedp.QueryAction
ScreencastFrameAckParams : github.com/goccy/go-json.Marshaler
*ScreencastFrameAckParams : github.com/goccy/go-json.Unmarshaler
ScreencastFrameAckParams : github.com/mailru/easyjson.Marshaler
*ScreencastFrameAckParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScreencastFrameAckParams : github.com/mailru/easyjson.Unmarshaler
ScreencastFrameAckParams : encoding/json.Marshaler
*ScreencastFrameAckParams : encoding/json.Unmarshaler
func ScreencastFrameAck(sessionID int64) *ScreencastFrameAckParams
ScreencastFrameMetadata screencast frame metadata.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ScreencastFrameMetadata
// Device screen height in DIP.
// Device screen width in DIP.
// Top offset in DIP.
// Page scale factor.
// Position of horizontal scroll in CSS pixels.
// Position of vertical scroll in CSS pixels.
// Frame swap timestamp.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ScreencastFrameMetadata : github.com/goccy/go-json.Marshaler
*ScreencastFrameMetadata : github.com/goccy/go-json.Unmarshaler
ScreencastFrameMetadata : github.com/mailru/easyjson.Marshaler
*ScreencastFrameMetadata : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScreencastFrameMetadata : github.com/mailru/easyjson.Unmarshaler
ScreencastFrameMetadata : encoding/json.Marshaler
*ScreencastFrameMetadata : encoding/json.Unmarshaler
ScriptFontFamilies font families collection for a script.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ScriptFontFamilies
// Generic font families collection for the script.
// Name of the script which these font families are defined for.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ScriptFontFamilies : github.com/goccy/go-json.Marshaler
*ScriptFontFamilies : github.com/goccy/go-json.Unmarshaler
ScriptFontFamilies : github.com/mailru/easyjson.Marshaler
*ScriptFontFamilies : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScriptFontFamilies : github.com/mailru/easyjson.Unmarshaler
ScriptFontFamilies : encoding/json.Marshaler
*ScriptFontFamilies : encoding/json.Unmarshaler
func SetFontFamiliesParams.WithForScripts(forScripts []*ScriptFontFamilies) *SetFontFamiliesParams
ScriptIdentifier unique script identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ScriptIdentifier
String returns the ScriptIdentifier as string value.
ScriptIdentifier : expvar.Var
ScriptIdentifier : fmt.Stringer
func (*AddScriptToEvaluateOnNewDocumentParams).Do(ctx context.Context) (identifier ScriptIdentifier, err error)
func RemoveScriptToEvaluateOnNewDocument(identifier ScriptIdentifier) *RemoveScriptToEvaluateOnNewDocumentParams
SearchInResourceParams searches for given string in resource content.
// If true, search is case sensitive.
// Frame id for resource to search in.
// If true, treats string parameter as regex.
// String to search for.
// URL of the resource to search in.
Do executes Page.searchInResource against the provided context.
returns:
result - List of search matches.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithCaseSensitive if true, search is case sensitive.
WithIsRegex if true, treats string parameter as regex.
SearchInResourceParams : github.com/goccy/go-json.Marshaler
*SearchInResourceParams : github.com/goccy/go-json.Unmarshaler
SearchInResourceParams : github.com/mailru/easyjson.Marshaler
*SearchInResourceParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SearchInResourceParams : github.com/mailru/easyjson.Unmarshaler
SearchInResourceParams : encoding/json.Marshaler
*SearchInResourceParams : encoding/json.Unmarshaler
func SearchInResource(frameID cdp.FrameID, url string, query string) *SearchInResourceParams
func SearchInResourceParams.WithCaseSensitive(caseSensitive bool) *SearchInResourceParams
func SearchInResourceParams.WithIsRegex(isRegex bool) *SearchInResourceParams
SearchInResourceReturns return values.
// List of search matches.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SearchInResourceReturns : github.com/goccy/go-json.Marshaler
*SearchInResourceReturns : github.com/goccy/go-json.Unmarshaler
SearchInResourceReturns : github.com/mailru/easyjson.Marshaler
*SearchInResourceReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SearchInResourceReturns : github.com/mailru/easyjson.Unmarshaler
SearchInResourceReturns : encoding/json.Marshaler
*SearchInResourceReturns : encoding/json.Unmarshaler
SetAdBlockingEnabledParams enable Chrome's experimental ad filter on all
sites.
Enabled bool
Do executes Page.setAdBlockingEnabled against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.Action
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.CallAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.EmulateAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.EvaluateAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.KeyAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.MouseAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.NavigateAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.PollAction
*SetAdBlockingEnabledParams : github.com/chromedp/chromedp.QueryAction
SetAdBlockingEnabledParams : github.com/goccy/go-json.Marshaler
*SetAdBlockingEnabledParams : github.com/goccy/go-json.Unmarshaler
SetAdBlockingEnabledParams : github.com/mailru/easyjson.Marshaler
*SetAdBlockingEnabledParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetAdBlockingEnabledParams : github.com/mailru/easyjson.Unmarshaler
SetAdBlockingEnabledParams : encoding/json.Marshaler
*SetAdBlockingEnabledParams : encoding/json.Unmarshaler
func SetAdBlockingEnabled(enabled bool) *SetAdBlockingEnabledParams
SetBypassCSPParams enable page Content Security Policy by-passing.
Enabled bool
Do executes Page.setBypassCSP against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetBypassCSPParams : github.com/chromedp/chromedp.Action
*SetBypassCSPParams : github.com/chromedp/chromedp.CallAction
*SetBypassCSPParams : github.com/chromedp/chromedp.EmulateAction
*SetBypassCSPParams : github.com/chromedp/chromedp.EvaluateAction
*SetBypassCSPParams : github.com/chromedp/chromedp.KeyAction
*SetBypassCSPParams : github.com/chromedp/chromedp.MouseAction
*SetBypassCSPParams : github.com/chromedp/chromedp.NavigateAction
*SetBypassCSPParams : github.com/chromedp/chromedp.PollAction
*SetBypassCSPParams : github.com/chromedp/chromedp.QueryAction
SetBypassCSPParams : github.com/goccy/go-json.Marshaler
*SetBypassCSPParams : github.com/goccy/go-json.Unmarshaler
SetBypassCSPParams : github.com/mailru/easyjson.Marshaler
*SetBypassCSPParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetBypassCSPParams : github.com/mailru/easyjson.Unmarshaler
SetBypassCSPParams : encoding/json.Marshaler
*SetBypassCSPParams : encoding/json.Unmarshaler
func SetBypassCSP(enabled bool) *SetBypassCSPParams
SetDocumentContentParams sets given markup as the document's HTML.
// Frame id to set HTML for.
// HTML content to set.
Do executes Page.setDocumentContent against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetDocumentContentParams : github.com/chromedp/chromedp.Action
*SetDocumentContentParams : github.com/chromedp/chromedp.CallAction
*SetDocumentContentParams : github.com/chromedp/chromedp.EmulateAction
*SetDocumentContentParams : github.com/chromedp/chromedp.EvaluateAction
*SetDocumentContentParams : github.com/chromedp/chromedp.KeyAction
*SetDocumentContentParams : github.com/chromedp/chromedp.MouseAction
*SetDocumentContentParams : github.com/chromedp/chromedp.NavigateAction
*SetDocumentContentParams : github.com/chromedp/chromedp.PollAction
*SetDocumentContentParams : github.com/chromedp/chromedp.QueryAction
SetDocumentContentParams : github.com/goccy/go-json.Marshaler
*SetDocumentContentParams : github.com/goccy/go-json.Unmarshaler
SetDocumentContentParams : github.com/mailru/easyjson.Marshaler
*SetDocumentContentParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetDocumentContentParams : github.com/mailru/easyjson.Unmarshaler
SetDocumentContentParams : encoding/json.Marshaler
*SetDocumentContentParams : encoding/json.Unmarshaler
func SetDocumentContent(frameID cdp.FrameID, html string) *SetDocumentContentParams
SetFontFamiliesParams set generic font families.
// Specifies font families to set. If a font family is not specified, it won't be changed.
// Specifies font families to set for individual scripts.
Do executes Page.setFontFamilies against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithForScripts specifies font families to set for individual scripts.
*SetFontFamiliesParams : github.com/chromedp/chromedp.Action
*SetFontFamiliesParams : github.com/chromedp/chromedp.CallAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.EmulateAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.EvaluateAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.KeyAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.MouseAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.NavigateAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.PollAction
*SetFontFamiliesParams : github.com/chromedp/chromedp.QueryAction
SetFontFamiliesParams : github.com/goccy/go-json.Marshaler
*SetFontFamiliesParams : github.com/goccy/go-json.Unmarshaler
SetFontFamiliesParams : github.com/mailru/easyjson.Marshaler
*SetFontFamiliesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetFontFamiliesParams : github.com/mailru/easyjson.Unmarshaler
SetFontFamiliesParams : encoding/json.Marshaler
*SetFontFamiliesParams : encoding/json.Unmarshaler
func SetFontFamilies(fontFamilies *FontFamilies) *SetFontFamiliesParams
func SetFontFamiliesParams.WithForScripts(forScripts []*ScriptFontFamilies) *SetFontFamiliesParams
SetFontSizesParams set default font sizes.
// Specifies font sizes to set. If a font size is not specified, it won't be changed.
Do executes Page.setFontSizes against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetFontSizesParams : github.com/chromedp/chromedp.Action
*SetFontSizesParams : github.com/chromedp/chromedp.CallAction
*SetFontSizesParams : github.com/chromedp/chromedp.EmulateAction
*SetFontSizesParams : github.com/chromedp/chromedp.EvaluateAction
*SetFontSizesParams : github.com/chromedp/chromedp.KeyAction
*SetFontSizesParams : github.com/chromedp/chromedp.MouseAction
*SetFontSizesParams : github.com/chromedp/chromedp.NavigateAction
*SetFontSizesParams : github.com/chromedp/chromedp.PollAction
*SetFontSizesParams : github.com/chromedp/chromedp.QueryAction
SetFontSizesParams : github.com/goccy/go-json.Marshaler
*SetFontSizesParams : github.com/goccy/go-json.Unmarshaler
SetFontSizesParams : github.com/mailru/easyjson.Marshaler
*SetFontSizesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetFontSizesParams : github.com/mailru/easyjson.Unmarshaler
SetFontSizesParams : encoding/json.Marshaler
*SetFontSizesParams : encoding/json.Unmarshaler
func SetFontSizes(fontSizes *FontSizes) *SetFontSizesParams
SetInterceptFileChooserDialogParams intercept file chooser requests and
transfer control to protocol clients. When file chooser interception is
enabled, native file chooser dialog is not shown. Instead, a protocol event
Page.fileChooserOpened is emitted.
Enabled bool
Do executes Page.setInterceptFileChooserDialog against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.Action
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.CallAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.EmulateAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.EvaluateAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.KeyAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.MouseAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.NavigateAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.PollAction
*SetInterceptFileChooserDialogParams : github.com/chromedp/chromedp.QueryAction
SetInterceptFileChooserDialogParams : github.com/goccy/go-json.Marshaler
*SetInterceptFileChooserDialogParams : github.com/goccy/go-json.Unmarshaler
SetInterceptFileChooserDialogParams : github.com/mailru/easyjson.Marshaler
*SetInterceptFileChooserDialogParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetInterceptFileChooserDialogParams : github.com/mailru/easyjson.Unmarshaler
SetInterceptFileChooserDialogParams : encoding/json.Marshaler
*SetInterceptFileChooserDialogParams : encoding/json.Unmarshaler
func SetInterceptFileChooserDialog(enabled bool) *SetInterceptFileChooserDialogParams
SetLifecycleEventsEnabledParams controls whether page will emit lifecycle
events.
Enabled bool
Do executes Page.setLifecycleEventsEnabled against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.Action
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.CallAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.EmulateAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.EvaluateAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.KeyAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.MouseAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.NavigateAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.PollAction
*SetLifecycleEventsEnabledParams : github.com/chromedp/chromedp.QueryAction
SetLifecycleEventsEnabledParams : github.com/goccy/go-json.Marshaler
*SetLifecycleEventsEnabledParams : github.com/goccy/go-json.Unmarshaler
SetLifecycleEventsEnabledParams : github.com/mailru/easyjson.Marshaler
*SetLifecycleEventsEnabledParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetLifecycleEventsEnabledParams : github.com/mailru/easyjson.Unmarshaler
SetLifecycleEventsEnabledParams : encoding/json.Marshaler
*SetLifecycleEventsEnabledParams : encoding/json.Unmarshaler
func SetLifecycleEventsEnabled(enabled bool) *SetLifecycleEventsEnabledParams
SetPrerenderingAllowedParams enable/disable prerendering manually. This
command is a short-term solution for https://crbug.com/1440085. See
https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA
for more details. TODO(https://crbug.com/1440085): Remove this once Puppeteer
supports tab targets.
IsAllowed bool
Do executes Page.setPrerenderingAllowed against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.Action
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.CallAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.EmulateAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.EvaluateAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.KeyAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.MouseAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.NavigateAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.PollAction
*SetPrerenderingAllowedParams : github.com/chromedp/chromedp.QueryAction
SetPrerenderingAllowedParams : github.com/goccy/go-json.Marshaler
*SetPrerenderingAllowedParams : github.com/goccy/go-json.Unmarshaler
SetPrerenderingAllowedParams : github.com/mailru/easyjson.Marshaler
*SetPrerenderingAllowedParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetPrerenderingAllowedParams : github.com/mailru/easyjson.Unmarshaler
SetPrerenderingAllowedParams : encoding/json.Marshaler
*SetPrerenderingAllowedParams : encoding/json.Unmarshaler
func SetPrerenderingAllowed(isAllowed bool) *SetPrerenderingAllowedParams
SetRPHRegistrationModeParams extensions for Custom Handlers API:
https://html.spec.whatwg.org/multipage/system-state.html#rph-automation.
Mode AutoResponseMode
Do executes Page.setRPHRegistrationMode against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.Action
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.CallAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.EmulateAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.EvaluateAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.KeyAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.MouseAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.NavigateAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.PollAction
*SetRPHRegistrationModeParams : github.com/chromedp/chromedp.QueryAction
SetRPHRegistrationModeParams : github.com/goccy/go-json.Marshaler
*SetRPHRegistrationModeParams : github.com/goccy/go-json.Unmarshaler
SetRPHRegistrationModeParams : github.com/mailru/easyjson.Marshaler
*SetRPHRegistrationModeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetRPHRegistrationModeParams : github.com/mailru/easyjson.Unmarshaler
SetRPHRegistrationModeParams : encoding/json.Marshaler
*SetRPHRegistrationModeParams : encoding/json.Unmarshaler
func SetRPHRegistrationMode(mode AutoResponseMode) *SetRPHRegistrationModeParams
SetSPCTransactionModeParams sets the Secure Payment Confirmation
transaction mode.
https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode.
Mode AutoResponseMode
Do executes Page.setSPCTransactionMode against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.Action
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.CallAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.EmulateAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.EvaluateAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.KeyAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.MouseAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.NavigateAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.PollAction
*SetSPCTransactionModeParams : github.com/chromedp/chromedp.QueryAction
SetSPCTransactionModeParams : github.com/goccy/go-json.Marshaler
*SetSPCTransactionModeParams : github.com/goccy/go-json.Unmarshaler
SetSPCTransactionModeParams : github.com/mailru/easyjson.Marshaler
*SetSPCTransactionModeParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetSPCTransactionModeParams : github.com/mailru/easyjson.Unmarshaler
SetSPCTransactionModeParams : encoding/json.Marshaler
*SetSPCTransactionModeParams : encoding/json.Unmarshaler
func SetSPCTransactionMode(mode AutoResponseMode) *SetSPCTransactionModeParams
SetWebLifecycleStateParams tries to update the web lifecycle state of the
page. It will transition the page to the given state according to:
https://github.com/WICG/web-lifecycle/.
// Target lifecycle state
Do executes Page.setWebLifecycleState against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.Action
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.CallAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.EmulateAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.EvaluateAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.KeyAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.MouseAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.NavigateAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.PollAction
*SetWebLifecycleStateParams : github.com/chromedp/chromedp.QueryAction
SetWebLifecycleStateParams : github.com/goccy/go-json.Marshaler
*SetWebLifecycleStateParams : github.com/goccy/go-json.Unmarshaler
SetWebLifecycleStateParams : github.com/mailru/easyjson.Marshaler
*SetWebLifecycleStateParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetWebLifecycleStateParams : github.com/mailru/easyjson.Unmarshaler
SetWebLifecycleStateParams : encoding/json.Marshaler
*SetWebLifecycleStateParams : encoding/json.Unmarshaler
func SetWebLifecycleState(state SetWebLifecycleStateState) *SetWebLifecycleStateParams
SetWebLifecycleStateState target lifecycle state.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setWebLifecycleState
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SetWebLifecycleStateState as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SetWebLifecycleStateState : github.com/goccy/go-json.Marshaler
*SetWebLifecycleStateState : github.com/goccy/go-json.Unmarshaler
SetWebLifecycleStateState : github.com/mailru/easyjson.Marshaler
*SetWebLifecycleStateState : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetWebLifecycleStateState : github.com/mailru/easyjson.Unmarshaler
SetWebLifecycleStateState : encoding/json.Marshaler
*SetWebLifecycleStateState : encoding/json.Unmarshaler
SetWebLifecycleStateState : expvar.Var
SetWebLifecycleStateState : fmt.Stringer
func SetWebLifecycleState(state SetWebLifecycleStateState) *SetWebLifecycleStateParams
const SetWebLifecycleStateStateActive
const SetWebLifecycleStateStateFrozen
StartScreencastParams starts sending each frame using the screencastFrame
event.
// Send every n-th frame.
// Image compression format.
// Maximum screenshot height.
// Maximum screenshot width.
// Compression quality from range [0..100].
Do executes Page.startScreencast against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithEveryNthFrame send every n-th frame.
WithFormat image compression format.
WithMaxHeight maximum screenshot height.
WithMaxWidth maximum screenshot width.
WithQuality compression quality from range [0..100].
*StartScreencastParams : github.com/chromedp/chromedp.Action
*StartScreencastParams : github.com/chromedp/chromedp.CallAction
*StartScreencastParams : github.com/chromedp/chromedp.EmulateAction
*StartScreencastParams : github.com/chromedp/chromedp.EvaluateAction
*StartScreencastParams : github.com/chromedp/chromedp.KeyAction
*StartScreencastParams : github.com/chromedp/chromedp.MouseAction
*StartScreencastParams : github.com/chromedp/chromedp.NavigateAction
*StartScreencastParams : github.com/chromedp/chromedp.PollAction
*StartScreencastParams : github.com/chromedp/chromedp.QueryAction
StartScreencastParams : github.com/goccy/go-json.Marshaler
*StartScreencastParams : github.com/goccy/go-json.Unmarshaler
StartScreencastParams : github.com/mailru/easyjson.Marshaler
*StartScreencastParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StartScreencastParams : github.com/mailru/easyjson.Unmarshaler
StartScreencastParams : encoding/json.Marshaler
*StartScreencastParams : encoding/json.Unmarshaler
func StartScreencast() *StartScreencastParams
func StartScreencastParams.WithEveryNthFrame(everyNthFrame int64) *StartScreencastParams
func StartScreencastParams.WithFormat(format ScreencastFormat) *StartScreencastParams
func StartScreencastParams.WithMaxHeight(maxHeight int64) *StartScreencastParams
func StartScreencastParams.WithMaxWidth(maxWidth int64) *StartScreencastParams
func StartScreencastParams.WithQuality(quality int64) *StartScreencastParams
StopLoadingParams force the page stop all navigations and pending resource
fetches.
Do executes Page.stopLoading against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StopLoadingParams : github.com/chromedp/chromedp.Action
*StopLoadingParams : github.com/chromedp/chromedp.CallAction
*StopLoadingParams : github.com/chromedp/chromedp.EmulateAction
*StopLoadingParams : github.com/chromedp/chromedp.EvaluateAction
*StopLoadingParams : github.com/chromedp/chromedp.KeyAction
*StopLoadingParams : github.com/chromedp/chromedp.MouseAction
*StopLoadingParams : github.com/chromedp/chromedp.NavigateAction
*StopLoadingParams : github.com/chromedp/chromedp.PollAction
*StopLoadingParams : github.com/chromedp/chromedp.QueryAction
StopLoadingParams : github.com/goccy/go-json.Marshaler
*StopLoadingParams : github.com/goccy/go-json.Unmarshaler
StopLoadingParams : github.com/mailru/easyjson.Marshaler
*StopLoadingParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopLoadingParams : github.com/mailru/easyjson.Unmarshaler
StopLoadingParams : encoding/json.Marshaler
*StopLoadingParams : encoding/json.Unmarshaler
func StopLoading() *StopLoadingParams
StopScreencastParams stops sending each frame in the screencastFrame.
Do executes Page.stopScreencast against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*StopScreencastParams : github.com/chromedp/chromedp.Action
*StopScreencastParams : github.com/chromedp/chromedp.CallAction
*StopScreencastParams : github.com/chromedp/chromedp.EmulateAction
*StopScreencastParams : github.com/chromedp/chromedp.EvaluateAction
*StopScreencastParams : github.com/chromedp/chromedp.KeyAction
*StopScreencastParams : github.com/chromedp/chromedp.MouseAction
*StopScreencastParams : github.com/chromedp/chromedp.NavigateAction
*StopScreencastParams : github.com/chromedp/chromedp.PollAction
*StopScreencastParams : github.com/chromedp/chromedp.QueryAction
StopScreencastParams : github.com/goccy/go-json.Marshaler
*StopScreencastParams : github.com/goccy/go-json.Unmarshaler
StopScreencastParams : github.com/mailru/easyjson.Marshaler
*StopScreencastParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*StopScreencastParams : github.com/mailru/easyjson.Unmarshaler
StopScreencastParams : encoding/json.Marshaler
*StopScreencastParams : encoding/json.Unmarshaler
func StopScreencast() *StopScreencastParams
TransitionType transition type.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-TransitionType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the TransitionType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
TransitionType : github.com/goccy/go-json.Marshaler
*TransitionType : github.com/goccy/go-json.Unmarshaler
TransitionType : github.com/mailru/easyjson.Marshaler
*TransitionType : github.com/mailru/easyjson.MarshalerUnmarshaler
*TransitionType : github.com/mailru/easyjson.Unmarshaler
TransitionType : encoding/json.Marshaler
*TransitionType : encoding/json.Unmarshaler
TransitionType : expvar.Var
TransitionType : fmt.Stringer
func NavigateParams.WithTransitionType(transitionType TransitionType) *NavigateParams
const TransitionTypeAddressBar
const TransitionTypeAutoBookmark
const TransitionTypeAutoSubframe
const TransitionTypeAutoToplevel
const TransitionTypeFormSubmit
const TransitionTypeGenerated
const TransitionTypeKeyword
const TransitionTypeKeywordGenerated
const TransitionTypeLink
const TransitionTypeManualSubframe
const TransitionTypeOther
const TransitionTypeReload
const TransitionTypeTyped
Viewport viewport for capturing screenshot.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-Viewport
// Rectangle height in device independent pixels (dip).
// Page scale factor.
// Rectangle width in device independent pixels (dip).
// X offset in device independent pixels (dip).
// Y offset in device independent pixels (dip).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Viewport : github.com/goccy/go-json.Marshaler
*Viewport : github.com/goccy/go-json.Unmarshaler
Viewport : github.com/mailru/easyjson.Marshaler
*Viewport : github.com/mailru/easyjson.MarshalerUnmarshaler
*Viewport : github.com/mailru/easyjson.Unmarshaler
Viewport : encoding/json.Marshaler
*Viewport : encoding/json.Unmarshaler
func CaptureScreenshotParams.WithClip(clip *Viewport) *CaptureScreenshotParams
func github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams.WithViewport(viewport *Viewport) *emulation.SetDeviceMetricsOverrideParams
VisualViewport visual viewport position, dimensions, and scale.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-VisualViewport
// Height (CSS pixels), excludes scrollbar if present.
// Width (CSS pixels), excludes scrollbar if present.
// Horizontal offset relative to the layout viewport (CSS pixels).
// Vertical offset relative to the layout viewport (CSS pixels).
// Horizontal offset relative to the document (CSS pixels).
// Vertical offset relative to the document (CSS pixels).
// Scale relative to the ideal viewport (size at width=device-width).
// Page zoom factor (CSS to device independent pixels ratio).
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
VisualViewport : github.com/goccy/go-json.Marshaler
*VisualViewport : github.com/goccy/go-json.Unmarshaler
VisualViewport : github.com/mailru/easyjson.Marshaler
*VisualViewport : github.com/mailru/easyjson.MarshalerUnmarshaler
*VisualViewport : github.com/mailru/easyjson.Unmarshaler
VisualViewport : encoding/json.Marshaler
*VisualViewport : encoding/json.Unmarshaler
func (*GetLayoutMetricsParams).Do(ctx context.Context) (layoutViewport *LayoutViewport, visualViewport *VisualViewport, contentSize *dom.Rect, cssLayoutViewport *LayoutViewport, cssVisualViewport *VisualViewport, cssContentSize *dom.Rect, err error)
func (*GetLayoutMetricsParams).Do(ctx context.Context) (layoutViewport *LayoutViewport, visualViewport *VisualViewport, contentSize *dom.Rect, cssLayoutViewport *LayoutViewport, cssVisualViewport *VisualViewport, cssContentSize *dom.Rect, err error)
WaitForDebuggerParams pauses page execution. Can be resumed using generic
Runtime.runIfWaitingForDebugger.
Do executes Page.waitForDebugger against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*WaitForDebuggerParams : github.com/chromedp/chromedp.Action
*WaitForDebuggerParams : github.com/chromedp/chromedp.CallAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.EmulateAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.EvaluateAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.KeyAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.MouseAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.NavigateAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.PollAction
*WaitForDebuggerParams : github.com/chromedp/chromedp.QueryAction
WaitForDebuggerParams : github.com/goccy/go-json.Marshaler
*WaitForDebuggerParams : github.com/goccy/go-json.Unmarshaler
WaitForDebuggerParams : github.com/mailru/easyjson.Marshaler
*WaitForDebuggerParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*WaitForDebuggerParams : github.com/mailru/easyjson.Unmarshaler
WaitForDebuggerParams : encoding/json.Marshaler
*WaitForDebuggerParams : encoding/json.Unmarshaler
func WaitForDebugger() *WaitForDebuggerParams
Package-Level Functions (total 48)
AddCompilationCache seeds compilation cache for given url. Compilation
cache does not survive cross-process navigation.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-addCompilationCache
parameters:
url
data - Base64-encoded data
AddScriptToEvaluateOnNewDocument evaluates given script in every frame
upon creation (before loading frame's scripts).
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-addScriptToEvaluateOnNewDocument
parameters:
source
BringToFront brings page to front (activates tab).
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-bringToFront
CaptureScreenshot capture page screenshot.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-captureScreenshot
parameters:
CaptureSnapshot returns a snapshot of the page as a string. For MHTML
format, the serialization includes iframes, shadow DOM, external resources,
and element-inline styles.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-captureSnapshot
parameters:
ClearCompilationCache clears seeded compilation cache.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-clearCompilationCache
Close tries to close page, running its beforeunload hooks, if any.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-close
Crash crashes renderer on the IO thread, generates minidumps.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-crash
CreateIsolatedWorld creates an isolated world for the given frame.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-createIsolatedWorld
parameters:
frameID - Id of the frame in which the isolated world should be created.
Disable disables page domain notifications.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-disable
Enable enables page domain notifications.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-enable
GenerateTestReport generates a report for testing.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-generateTestReport
parameters:
message - Message to be displayed in the report.
GetAdScriptID [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getAdScriptId
parameters:
frameID
GetAppID returns the unique (PWA) app id. Only returns values if the
feature flag 'WebAppEnableManifestId' is enabled.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getAppId
GetAppManifest [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getAppManifest
GetFrameTree returns present frame tree structure.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getFrameTree
GetInstallabilityErrors [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getInstallabilityErrors
GetLayoutMetrics returns metrics relating to the layouting of the page,
such as viewport bounds/scale.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getLayoutMetrics
GetOriginTrials get Origin Trials on given frame.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getOriginTrials
parameters:
frameID
GetPermissionsPolicyState get Permissions Policy state on given frame.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getPermissionsPolicyState
parameters:
frameID
GetResourceContent returns content of the given resource.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getResourceContent
parameters:
frameID - Frame id to get resource for.
url - URL of the resource to get content for.
GetResourceTree returns present frame / resource tree structure.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getResourceTree
HandleJavaScriptDialog accepts or dismisses a JavaScript initiated dialog
(alert, confirm, prompt, or onbeforeunload).
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-handleJavaScriptDialog
parameters:
accept - Whether to accept or dismiss the dialog.
PrintToPDF print page as PDF.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-printToPDF
parameters:
ProduceCompilationCache requests backend to produce compilation cache for
the specified scripts. scripts are appeneded to the list of scripts for which
the cache would be produced. The list may be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics. See also:
Page.compilationCacheProduced.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-produceCompilationCache
parameters:
scripts
Reload reloads given page optionally ignoring the cache.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-reload
parameters:
RemoveScriptToEvaluateOnNewDocument removes given script from the list.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-removeScriptToEvaluateOnNewDocument
parameters:
identifier
ScreencastFrameAck acknowledges that a screencast frame has been received
by the frontend.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-screencastFrameAck
parameters:
sessionID - Frame number.
SearchInResource searches for given string in resource content.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-searchInResource
parameters:
frameID - Frame id for resource to search in.
url - URL of the resource to search in.
query - String to search for.
SetAdBlockingEnabled enable Chrome's experimental ad filter on all sites.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setAdBlockingEnabled
parameters:
enabled - Whether to block ads.
SetBypassCSP enable page Content Security Policy by-passing.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setBypassCSP
parameters:
enabled - Whether to bypass page CSP.
SetDocumentContent sets given markup as the document's HTML.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setDocumentContent
parameters:
frameID - Frame id to set HTML for.
html - HTML content to set.
SetFontFamilies set generic font families.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setFontFamilies
parameters:
fontFamilies - Specifies font families to set. If a font family is not specified, it won't be changed.
SetFontSizes set default font sizes.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setFontSizes
parameters:
fontSizes - Specifies font sizes to set. If a font size is not specified, it won't be changed.
SetInterceptFileChooserDialog intercept file chooser requests and transfer
control to protocol clients. When file chooser interception is enabled,
native file chooser dialog is not shown. Instead, a protocol event
Page.fileChooserOpened is emitted.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setInterceptFileChooserDialog
parameters:
enabled
SetLifecycleEventsEnabled controls whether page will emit lifecycle
events.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setLifecycleEventsEnabled
parameters:
enabled - If true, starts emitting lifecycle events.
SetPrerenderingAllowed enable/disable prerendering manually. This command
is a short-term solution for https://crbug.com/1440085. See
https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA
for more details. TODO(https://crbug.com/1440085): Remove this once Puppeteer
supports tab targets.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setPrerenderingAllowed
parameters:
isAllowed
SetRPHRegistrationMode extensions for Custom Handlers API:
https://html.spec.whatwg.org/multipage/system-state.html#rph-automation.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setRPHRegistrationMode
parameters:
mode
SetSPCTransactionMode sets the Secure Payment Confirmation transaction
mode.
https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setSPCTransactionMode
parameters:
mode
SetWebLifecycleState tries to update the web lifecycle state of the page.
It will transition the page to the given state according to:
https://github.com/WICG/web-lifecycle/.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setWebLifecycleState
parameters:
state - Target lifecycle state
StartScreencast starts sending each frame using the screencastFrame event.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-startScreencast
parameters:
StopLoading force the page stop all navigations and pending resource
fetches.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-stopLoading
StopScreencast stops sending each frame in the screencastFrame.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-stopScreencast
WaitForDebugger pauses page execution. Can be resumed using generic
Runtime.runIfWaitingForDebugger.
See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-waitForDebugger
Package-Level Constants (total 319)
AutoResponseMode values.
AutoResponseMode values.
AutoResponseMode values.
AutoResponseMode values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReasonType values.
BackForwardCacheNotRestoredReasonType values.
BackForwardCacheNotRestoredReasonType values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
BackForwardCacheNotRestoredReason values.
CaptureScreenshotFormat values.
CaptureScreenshotFormat values.
CaptureScreenshotFormat values.
CaptureSnapshotFormat values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
DialogType values.
DialogType values.
DialogType values.
DialogType values.
FileChooserOpenedMode values.
FileChooserOpenedMode values.
FrameDetachedReason values.
FrameDetachedReason values.
PermissionsPolicyBlockReason values.
PermissionsPolicyBlockReason values.
PermissionsPolicyBlockReason values.
PermissionsPolicyBlockReason values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PermissionsPolicyFeature values.
PrintToPDFTransferMode values.
PrintToPDFTransferMode values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ScreencastFormat values.
ScreencastFormat values.
SetWebLifecycleStateState values.
SetWebLifecycleStateState values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
TransitionType values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |