cdproto

package module
v0.0.0-...-2c452e2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 License: MIT Imports: 44 Imported by: 1

README

About cdproto

Package cdproto contains the generated commands, types, and events for Chrome Debugging Protocol domains.

This package has been generated by the chromedp-gen command. Please refer to that project and to main chromedp project for information on using the commands, types, and events available here.

API

Please see the GoDoc listing.

Contributing

If you would like to submit a change to the code in this package, please submit your Pull Request to the chromedp-gen project. Any Issues and Pull Requests submitted to this project will be closed without being reviewed.

Documentation

Overview

Package cdproto provides the Chrome Debugging Protocol commands, types, and events for the cdproto domain.

Chrome Debugging Protocol types.

Generated by the chromedp-gen command.

Index

Constants

View Source
const (
	CommandAccessibilityGetPartialAXTree                   = accessibility.CommandGetPartialAXTree
	CommandAnimationDisable                                = animation.CommandDisable
	CommandAnimationEnable                                 = animation.CommandEnable
	CommandAnimationGetCurrentTime                         = animation.CommandGetCurrentTime
	CommandAnimationGetPlaybackRate                        = animation.CommandGetPlaybackRate
	CommandAnimationReleaseAnimations                      = animation.CommandReleaseAnimations
	CommandAnimationResolveAnimation                       = animation.CommandResolveAnimation
	CommandAnimationSeekAnimations                         = animation.CommandSeekAnimations
	CommandAnimationSetPaused                              = animation.CommandSetPaused
	CommandAnimationSetPlaybackRate                        = animation.CommandSetPlaybackRate
	CommandAnimationSetTiming                              = animation.CommandSetTiming
	EventAnimationAnimationCanceled                        = "Animation.animationCanceled"
	EventAnimationAnimationCreated                         = "Animation.animationCreated"
	EventAnimationAnimationStarted                         = "Animation.animationStarted"
	CommandApplicationCacheEnable                          = applicationcache.CommandEnable
	CommandApplicationCacheGetApplicationCacheForFrame     = applicationcache.CommandGetApplicationCacheForFrame
	CommandApplicationCacheGetFramesWithManifests          = applicationcache.CommandGetFramesWithManifests
	CommandApplicationCacheGetManifestForFrame             = applicationcache.CommandGetManifestForFrame
	EventApplicationCacheApplicationCacheStatusUpdated     = "ApplicationCache.applicationCacheStatusUpdated"
	EventApplicationCacheNetworkStateUpdated               = "ApplicationCache.networkStateUpdated"
	CommandAuditsGetEncodedResponse                        = audits.CommandGetEncodedResponse
	CommandBrowserClose                                    = browser.CommandClose
	CommandBrowserGetVersion                               = browser.CommandGetVersion
	CommandBrowserGetHistograms                            = browser.CommandGetHistograms
	CommandBrowserGetHistogram                             = browser.CommandGetHistogram
	CommandBrowserGetWindowBounds                          = browser.CommandGetWindowBounds
	CommandBrowserGetWindowForTarget                       = browser.CommandGetWindowForTarget
	CommandBrowserSetWindowBounds                          = browser.CommandSetWindowBounds
	CommandCSSAddRule                                      = css.CommandAddRule
	CommandCSSCollectClassNames                            = css.CommandCollectClassNames
	CommandCSSCreateStyleSheet                             = css.CommandCreateStyleSheet
	CommandCSSDisable                                      = css.CommandDisable
	CommandCSSEnable                                       = css.CommandEnable
	CommandCSSForcePseudoState                             = css.CommandForcePseudoState
	CommandCSSGetBackgroundColors                          = css.CommandGetBackgroundColors
	CommandCSSGetComputedStyleForNode                      = css.CommandGetComputedStyleForNode
	CommandCSSGetInlineStylesForNode                       = css.CommandGetInlineStylesForNode
	CommandCSSGetMatchedStylesForNode                      = css.CommandGetMatchedStylesForNode
	CommandCSSGetMediaQueries                              = css.CommandGetMediaQueries
	CommandCSSGetPlatformFontsForNode                      = css.CommandGetPlatformFontsForNode
	CommandCSSGetStyleSheetText                            = css.CommandGetStyleSheetText
	CommandCSSSetEffectivePropertyValueForNode             = css.CommandSetEffectivePropertyValueForNode
	CommandCSSSetKeyframeKey                               = css.CommandSetKeyframeKey
	CommandCSSSetMediaText                                 = css.CommandSetMediaText
	CommandCSSSetRuleSelector                              = css.CommandSetRuleSelector
	CommandCSSSetStyleSheetText                            = css.CommandSetStyleSheetText
	CommandCSSSetStyleTexts                                = css.CommandSetStyleTexts
	CommandCSSStartRuleUsageTracking                       = css.CommandStartRuleUsageTracking
	CommandCSSStopRuleUsageTracking                        = css.CommandStopRuleUsageTracking
	CommandCSSTakeCoverageDelta                            = css.CommandTakeCoverageDelta
	EventCSSFontsUpdated                                   = "CSS.fontsUpdated"
	EventCSSMediaQueryResultChanged                        = "CSS.mediaQueryResultChanged"
	EventCSSStyleSheetAdded                                = "CSS.styleSheetAdded"
	EventCSSStyleSheetChanged                              = "CSS.styleSheetChanged"
	EventCSSStyleSheetRemoved                              = "CSS.styleSheetRemoved"
	CommandCacheStorageDeleteCache                         = cachestorage.CommandDeleteCache
	CommandCacheStorageDeleteEntry                         = cachestorage.CommandDeleteEntry
	CommandCacheStorageRequestCacheNames                   = cachestorage.CommandRequestCacheNames
	CommandCacheStorageRequestCachedResponse               = cachestorage.CommandRequestCachedResponse
	CommandCacheStorageRequestEntries                      = cachestorage.CommandRequestEntries
	CommandDOMCollectClassNamesFromSubtree                 = dom.CommandCollectClassNamesFromSubtree
	CommandDOMCopyTo                                       = dom.CommandCopyTo
	CommandDOMDescribeNode                                 = dom.CommandDescribeNode
	CommandDOMDisable                                      = dom.CommandDisable
	CommandDOMDiscardSearchResults                         = dom.CommandDiscardSearchResults
	CommandDOMEnable                                       = dom.CommandEnable
	CommandDOMFocus                                        = dom.CommandFocus
	CommandDOMGetAttributes                                = dom.CommandGetAttributes
	CommandDOMGetBoxModel                                  = dom.CommandGetBoxModel
	CommandDOMGetDocument                                  = dom.CommandGetDocument
	CommandDOMGetFlattenedDocument                         = dom.CommandGetFlattenedDocument
	CommandDOMGetNodeForLocation                           = dom.CommandGetNodeForLocation
	CommandDOMGetOuterHTML                                 = dom.CommandGetOuterHTML
	CommandDOMGetRelayoutBoundary                          = dom.CommandGetRelayoutBoundary
	CommandDOMGetSearchResults                             = dom.CommandGetSearchResults
	CommandDOMMarkUndoableState                            = dom.CommandMarkUndoableState
	CommandDOMMoveTo                                       = dom.CommandMoveTo
	CommandDOMPerformSearch                                = dom.CommandPerformSearch
	CommandDOMPushNodeByPathToFrontend                     = dom.CommandPushNodeByPathToFrontend
	CommandDOMPushNodesByBackendIdsToFrontend              = dom.CommandPushNodesByBackendIdsToFrontend
	CommandDOMQuerySelector                                = dom.CommandQuerySelector
	CommandDOMQuerySelectorAll                             = dom.CommandQuerySelectorAll
	CommandDOMRedo                                         = dom.CommandRedo
	CommandDOMRemoveAttribute                              = dom.CommandRemoveAttribute
	CommandDOMRemoveNode                                   = dom.CommandRemoveNode
	CommandDOMRequestChildNodes                            = dom.CommandRequestChildNodes
	CommandDOMRequestNode                                  = dom.CommandRequestNode
	CommandDOMResolveNode                                  = dom.CommandResolveNode
	CommandDOMSetAttributeValue                            = dom.CommandSetAttributeValue
	CommandDOMSetAttributesAsText                          = dom.CommandSetAttributesAsText
	CommandDOMSetFileInputFiles                            = dom.CommandSetFileInputFiles
	CommandDOMSetInspectedNode                             = dom.CommandSetInspectedNode
	CommandDOMSetNodeName                                  = dom.CommandSetNodeName
	CommandDOMSetNodeValue                                 = dom.CommandSetNodeValue
	CommandDOMSetOuterHTML                                 = dom.CommandSetOuterHTML
	CommandDOMUndo                                         = dom.CommandUndo
	CommandDOMGetFrameOwner                                = dom.CommandGetFrameOwner
	EventDOMAttributeModified                              = "DOM.attributeModified"
	EventDOMAttributeRemoved                               = "DOM.attributeRemoved"
	EventDOMCharacterDataModified                          = "DOM.characterDataModified"
	EventDOMChildNodeCountUpdated                          = "DOM.childNodeCountUpdated"
	EventDOMChildNodeInserted                              = "DOM.childNodeInserted"
	EventDOMChildNodeRemoved                               = "DOM.childNodeRemoved"
	EventDOMDistributedNodesUpdated                        = "DOM.distributedNodesUpdated"
	EventDOMDocumentUpdated                                = "DOM.documentUpdated"
	EventDOMInlineStyleInvalidated                         = "DOM.inlineStyleInvalidated"
	EventDOMPseudoElementAdded                             = "DOM.pseudoElementAdded"
	EventDOMPseudoElementRemoved                           = "DOM.pseudoElementRemoved"
	EventDOMSetChildNodes                                  = "DOM.setChildNodes"
	EventDOMShadowRootPopped                               = "DOM.shadowRootPopped"
	EventDOMShadowRootPushed                               = "DOM.shadowRootPushed"
	CommandDOMDebuggerGetEventListeners                    = domdebugger.CommandGetEventListeners
	CommandDOMDebuggerRemoveDOMBreakpoint                  = domdebugger.CommandRemoveDOMBreakpoint
	CommandDOMDebuggerRemoveEventListenerBreakpoint        = domdebugger.CommandRemoveEventListenerBreakpoint
	CommandDOMDebuggerRemoveInstrumentationBreakpoint      = domdebugger.CommandRemoveInstrumentationBreakpoint
	CommandDOMDebuggerRemoveXHRBreakpoint                  = domdebugger.CommandRemoveXHRBreakpoint
	CommandDOMDebuggerSetDOMBreakpoint                     = domdebugger.CommandSetDOMBreakpoint
	CommandDOMDebuggerSetEventListenerBreakpoint           = domdebugger.CommandSetEventListenerBreakpoint
	CommandDOMDebuggerSetInstrumentationBreakpoint         = domdebugger.CommandSetInstrumentationBreakpoint
	CommandDOMDebuggerSetXHRBreakpoint                     = domdebugger.CommandSetXHRBreakpoint
	CommandDOMSnapshotGetSnapshot                          = domsnapshot.CommandGetSnapshot
	CommandDOMStorageClear                                 = domstorage.CommandClear
	CommandDOMStorageDisable                               = domstorage.CommandDisable
	CommandDOMStorageEnable                                = domstorage.CommandEnable
	CommandDOMStorageGetDOMStorageItems                    = domstorage.CommandGetDOMStorageItems
	CommandDOMStorageRemoveDOMStorageItem                  = domstorage.CommandRemoveDOMStorageItem
	CommandDOMStorageSetDOMStorageItem                     = domstorage.CommandSetDOMStorageItem
	EventDOMStorageDomStorageItemAdded                     = "DOMStorage.domStorageItemAdded"
	EventDOMStorageDomStorageItemRemoved                   = "DOMStorage.domStorageItemRemoved"
	EventDOMStorageDomStorageItemUpdated                   = "DOMStorage.domStorageItemUpdated"
	EventDOMStorageDomStorageItemsCleared                  = "DOMStorage.domStorageItemsCleared"
	CommandDatabaseDisable                                 = database.CommandDisable
	CommandDatabaseEnable                                  = database.CommandEnable
	CommandDatabaseExecuteSQL                              = database.CommandExecuteSQL
	CommandDatabaseGetDatabaseTableNames                   = database.CommandGetDatabaseTableNames
	EventDatabaseAddDatabase                               = "Database.addDatabase"
	CommandDebuggerContinueToLocation                      = debugger.CommandContinueToLocation
	CommandDebuggerDisable                                 = debugger.CommandDisable
	CommandDebuggerEnable                                  = debugger.CommandEnable
	CommandDebuggerEvaluateOnCallFrame                     = debugger.CommandEvaluateOnCallFrame
	CommandDebuggerGetPossibleBreakpoints                  = debugger.CommandGetPossibleBreakpoints
	CommandDebuggerGetScriptSource                         = debugger.CommandGetScriptSource
	CommandDebuggerGetStackTrace                           = debugger.CommandGetStackTrace
	CommandDebuggerPause                                   = debugger.CommandPause
	CommandDebuggerPauseOnAsyncCall                        = debugger.CommandPauseOnAsyncCall
	CommandDebuggerRemoveBreakpoint                        = debugger.CommandRemoveBreakpoint
	CommandDebuggerRestartFrame                            = debugger.CommandRestartFrame
	CommandDebuggerResume                                  = debugger.CommandResume
	CommandDebuggerScheduleStepIntoAsync                   = debugger.CommandScheduleStepIntoAsync
	CommandDebuggerSearchInContent                         = debugger.CommandSearchInContent
	CommandDebuggerSetAsyncCallStackDepth                  = debugger.CommandSetAsyncCallStackDepth
	CommandDebuggerSetBlackboxPatterns                     = debugger.CommandSetBlackboxPatterns
	CommandDebuggerSetBlackboxedRanges                     = debugger.CommandSetBlackboxedRanges
	CommandDebuggerSetBreakpoint                           = debugger.CommandSetBreakpoint
	CommandDebuggerSetBreakpointByURL                      = debugger.CommandSetBreakpointByURL
	CommandDebuggerSetBreakpointsActive                    = debugger.CommandSetBreakpointsActive
	CommandDebuggerSetPauseOnExceptions                    = debugger.CommandSetPauseOnExceptions
	CommandDebuggerSetReturnValue                          = debugger.CommandSetReturnValue
	CommandDebuggerSetScriptSource                         = debugger.CommandSetScriptSource
	CommandDebuggerSetSkipAllPauses                        = debugger.CommandSetSkipAllPauses
	CommandDebuggerSetVariableValue                        = debugger.CommandSetVariableValue
	CommandDebuggerStepInto                                = debugger.CommandStepInto
	CommandDebuggerStepOut                                 = debugger.CommandStepOut
	CommandDebuggerStepOver                                = debugger.CommandStepOver
	EventDebuggerBreakpointResolved                        = "Debugger.breakpointResolved"
	EventDebuggerPaused                                    = "Debugger.paused"
	EventDebuggerResumed                                   = "Debugger.resumed"
	EventDebuggerScriptFailedToParse                       = "Debugger.scriptFailedToParse"
	EventDebuggerScriptParsed                              = "Debugger.scriptParsed"
	CommandDeviceOrientationClearDeviceOrientationOverride = deviceorientation.CommandClearDeviceOrientationOverride
	CommandDeviceOrientationSetDeviceOrientationOverride   = deviceorientation.CommandSetDeviceOrientationOverride
	CommandEmulationCanEmulate                             = emulation.CommandCanEmulate
	CommandEmulationClearDeviceMetricsOverride             = emulation.CommandClearDeviceMetricsOverride
	CommandEmulationClearGeolocationOverride               = emulation.CommandClearGeolocationOverride
	CommandEmulationResetPageScaleFactor                   = emulation.CommandResetPageScaleFactor
	CommandEmulationSetCPUThrottlingRate                   = emulation.CommandSetCPUThrottlingRate
	CommandEmulationSetDefaultBackgroundColorOverride      = emulation.CommandSetDefaultBackgroundColorOverride
	CommandEmulationSetDeviceMetricsOverride               = emulation.CommandSetDeviceMetricsOverride
	CommandEmulationSetEmitTouchEventsForMouse             = emulation.CommandSetEmitTouchEventsForMouse
	CommandEmulationSetEmulatedMedia                       = emulation.CommandSetEmulatedMedia
	CommandEmulationSetGeolocationOverride                 = emulation.CommandSetGeolocationOverride
	CommandEmulationSetNavigatorOverrides                  = emulation.CommandSetNavigatorOverrides
	CommandEmulationSetPageScaleFactor                     = emulation.CommandSetPageScaleFactor
	CommandEmulationSetScriptExecutionDisabled             = emulation.CommandSetScriptExecutionDisabled
	CommandEmulationSetTouchEmulationEnabled               = emulation.CommandSetTouchEmulationEnabled
	CommandEmulationSetVirtualTimePolicy                   = emulation.CommandSetVirtualTimePolicy
	EventEmulationVirtualTimeAdvanced                      = "Emulation.virtualTimeAdvanced"
	EventEmulationVirtualTimeBudgetExpired                 = "Emulation.virtualTimeBudgetExpired"
	EventEmulationVirtualTimePaused                        = "Emulation.virtualTimePaused"
	CommandHeadlessExperimentalBeginFrame                  = headlessexperimental.CommandBeginFrame
	CommandHeadlessExperimentalDisable                     = headlessexperimental.CommandDisable
	CommandHeadlessExperimentalEnable                      = headlessexperimental.CommandEnable
	EventHeadlessExperimentalMainFrameReadyForScreenshots  = "HeadlessExperimental.mainFrameReadyForScreenshots"
	EventHeadlessExperimentalNeedsBeginFramesChanged       = "HeadlessExperimental.needsBeginFramesChanged"
	CommandHeapProfilerAddInspectedHeapObject              = heapprofiler.CommandAddInspectedHeapObject
	CommandHeapProfilerCollectGarbage                      = heapprofiler.CommandCollectGarbage
	CommandHeapProfilerDisable                             = heapprofiler.CommandDisable
	CommandHeapProfilerEnable                              = heapprofiler.CommandEnable
	CommandHeapProfilerGetHeapObjectID                     = heapprofiler.CommandGetHeapObjectID
	CommandHeapProfilerGetObjectByHeapObjectID             = heapprofiler.CommandGetObjectByHeapObjectID
	CommandHeapProfilerGetSamplingProfile                  = heapprofiler.CommandGetSamplingProfile
	CommandHeapProfilerStartSampling                       = heapprofiler.CommandStartSampling
	CommandHeapProfilerStartTrackingHeapObjects            = heapprofiler.CommandStartTrackingHeapObjects
	CommandHeapProfilerStopSampling                        = heapprofiler.CommandStopSampling
	CommandHeapProfilerStopTrackingHeapObjects             = heapprofiler.CommandStopTrackingHeapObjects
	CommandHeapProfilerTakeHeapSnapshot                    = heapprofiler.CommandTakeHeapSnapshot
	EventHeapProfilerAddHeapSnapshotChunk                  = "HeapProfiler.addHeapSnapshotChunk"
	EventHeapProfilerHeapStatsUpdate                       = "HeapProfiler.heapStatsUpdate"
	EventHeapProfilerLastSeenObjectID                      = "HeapProfiler.lastSeenObjectId"
	EventHeapProfilerReportHeapSnapshotProgress            = "HeapProfiler.reportHeapSnapshotProgress"
	EventHeapProfilerResetProfiles                         = "HeapProfiler.resetProfiles"
	CommandIOClose                                         = io.CommandClose
	CommandIORead                                          = io.CommandRead
	CommandIOResolveBlob                                   = io.CommandResolveBlob
	CommandIndexedDBClearObjectStore                       = indexeddb.CommandClearObjectStore
	CommandIndexedDBDeleteDatabase                         = indexeddb.CommandDeleteDatabase
	CommandIndexedDBDeleteObjectStoreEntries               = indexeddb.CommandDeleteObjectStoreEntries
	CommandIndexedDBDisable                                = indexeddb.CommandDisable
	CommandIndexedDBEnable                                 = indexeddb.CommandEnable
	CommandIndexedDBRequestData                            = indexeddb.CommandRequestData
	CommandIndexedDBRequestDatabase                        = indexeddb.CommandRequestDatabase
	CommandIndexedDBRequestDatabaseNames                   = indexeddb.CommandRequestDatabaseNames
	CommandInputDispatchKeyEvent                           = input.CommandDispatchKeyEvent
	CommandInputDispatchMouseEvent                         = input.CommandDispatchMouseEvent
	CommandInputDispatchTouchEvent                         = input.CommandDispatchTouchEvent
	CommandInputEmulateTouchFromMouseEvent                 = input.CommandEmulateTouchFromMouseEvent
	CommandInputSetIgnoreInputEvents                       = input.CommandSetIgnoreInputEvents
	CommandInputSynthesizePinchGesture                     = input.CommandSynthesizePinchGesture
	CommandInputSynthesizeScrollGesture                    = input.CommandSynthesizeScrollGesture
	CommandInputSynthesizeTapGesture                       = input.CommandSynthesizeTapGesture
	CommandInspectorDisable                                = inspector.CommandDisable
	CommandInspectorEnable                                 = inspector.CommandEnable
	EventInspectorDetached                                 = "Inspector.detached"
	EventInspectorTargetCrashed                            = "Inspector.targetCrashed"
	EventInspectorTargetReloadedAfterCrash                 = "Inspector.targetReloadedAfterCrash"
	CommandLayerTreeCompositingReasons                     = layertree.CommandCompositingReasons
	CommandLayerTreeDisable                                = layertree.CommandDisable
	CommandLayerTreeEnable                                 = layertree.CommandEnable
	CommandLayerTreeLoadSnapshot                           = layertree.CommandLoadSnapshot
	CommandLayerTreeMakeSnapshot                           = layertree.CommandMakeSnapshot
	CommandLayerTreeProfileSnapshot                        = layertree.CommandProfileSnapshot
	CommandLayerTreeReleaseSnapshot                        = layertree.CommandReleaseSnapshot
	CommandLayerTreeReplaySnapshot                         = layertree.CommandReplaySnapshot
	CommandLayerTreeSnapshotCommandLog                     = layertree.CommandSnapshotCommandLog
	EventLayerTreeLayerPainted                             = "LayerTree.layerPainted"
	EventLayerTreeLayerTreeDidChange                       = "LayerTree.layerTreeDidChange"
	CommandLogClear                                        = log.CommandClear
	CommandLogDisable                                      = log.CommandDisable
	CommandLogEnable                                       = log.CommandEnable
	CommandLogStartViolationsReport                        = log.CommandStartViolationsReport
	CommandLogStopViolationsReport                         = log.CommandStopViolationsReport
	EventLogEntryAdded                                     = "Log.entryAdded"
	CommandMemoryGetDOMCounters                            = memory.CommandGetDOMCounters
	CommandMemoryPrepareForLeakDetection                   = memory.CommandPrepareForLeakDetection
	CommandMemorySetPressureNotificationsSuppressed        = memory.CommandSetPressureNotificationsSuppressed
	CommandMemorySimulatePressureNotification              = memory.CommandSimulatePressureNotification
	CommandMemoryStartSampling                             = memory.CommandStartSampling
	CommandMemoryStopSampling                              = memory.CommandStopSampling
	CommandMemoryGetAllTimeSamplingProfile                 = memory.CommandGetAllTimeSamplingProfile
	CommandMemoryGetSamplingProfile                        = memory.CommandGetSamplingProfile
	CommandNetworkClearBrowserCache                        = network.CommandClearBrowserCache
	CommandNetworkClearBrowserCookies                      = network.CommandClearBrowserCookies
	CommandNetworkContinueInterceptedRequest               = network.CommandContinueInterceptedRequest
	CommandNetworkDeleteCookies                            = network.CommandDeleteCookies
	CommandNetworkDisable                                  = network.CommandDisable
	CommandNetworkEmulateNetworkConditions                 = network.CommandEmulateNetworkConditions
	CommandNetworkEnable                                   = network.CommandEnable
	CommandNetworkGetAllCookies                            = network.CommandGetAllCookies
	CommandNetworkGetCertificate                           = network.CommandGetCertificate
	CommandNetworkGetCookies                               = network.CommandGetCookies
	CommandNetworkGetResponseBody                          = network.CommandGetResponseBody
	CommandNetworkGetRequestPostData                       = network.CommandGetRequestPostData
	CommandNetworkGetResponseBodyForInterception           = network.CommandGetResponseBodyForInterception
	CommandNetworkReplayXHR                                = network.CommandReplayXHR
	CommandNetworkSearchInResponseBody                     = network.CommandSearchInResponseBody
	CommandNetworkSetBlockedURLS                           = network.CommandSetBlockedURLS
	CommandNetworkSetBypassServiceWorker                   = network.CommandSetBypassServiceWorker
	CommandNetworkSetCacheDisabled                         = network.CommandSetCacheDisabled
	CommandNetworkSetCookie                                = network.CommandSetCookie
	CommandNetworkSetCookies                               = network.CommandSetCookies
	CommandNetworkSetDataSizeLimitsForTest                 = network.CommandSetDataSizeLimitsForTest
	CommandNetworkSetExtraHTTPHeaders                      = network.CommandSetExtraHTTPHeaders
	CommandNetworkSetRequestInterception                   = network.CommandSetRequestInterception
	CommandNetworkSetUserAgentOverride                     = network.CommandSetUserAgentOverride
	EventNetworkDataReceived                               = "Network.dataReceived"
	EventNetworkEventSourceMessageReceived                 = "Network.eventSourceMessageReceived"
	EventNetworkLoadingFailed                              = "Network.loadingFailed"
	EventNetworkLoadingFinished                            = "Network.loadingFinished"
	EventNetworkRequestIntercepted                         = "Network.requestIntercepted"
	EventNetworkRequestServedFromCache                     = "Network.requestServedFromCache"
	EventNetworkRequestWillBeSent                          = "Network.requestWillBeSent"
	EventNetworkResourceChangedPriority                    = "Network.resourceChangedPriority"
	EventNetworkResponseReceived                           = "Network.responseReceived"
	EventNetworkWebSocketClosed                            = "Network.webSocketClosed"
	EventNetworkWebSocketCreated                           = "Network.webSocketCreated"
	EventNetworkWebSocketFrameError                        = "Network.webSocketFrameError"
	EventNetworkWebSocketFrameReceived                     = "Network.webSocketFrameReceived"
	EventNetworkWebSocketFrameSent                         = "Network.webSocketFrameSent"
	EventNetworkWebSocketHandshakeResponseReceived         = "Network.webSocketHandshakeResponseReceived"
	EventNetworkWebSocketWillSendHandshakeRequest          = "Network.webSocketWillSendHandshakeRequest"
	CommandOverlayDisable                                  = overlay.CommandDisable
	CommandOverlayEnable                                   = overlay.CommandEnable
	CommandOverlayGetHighlightObjectForTest                = overlay.CommandGetHighlightObjectForTest
	CommandOverlayHideHighlight                            = overlay.CommandHideHighlight
	CommandOverlayHighlightFrame                           = overlay.CommandHighlightFrame
	CommandOverlayHighlightNode                            = overlay.CommandHighlightNode
	CommandOverlayHighlightQuad                            = overlay.CommandHighlightQuad
	CommandOverlayHighlightRect                            = overlay.CommandHighlightRect
	CommandOverlaySetInspectMode                           = overlay.CommandSetInspectMode
	CommandOverlaySetPausedInDebuggerMessage               = overlay.CommandSetPausedInDebuggerMessage
	CommandOverlaySetShowDebugBorders                      = overlay.CommandSetShowDebugBorders
	CommandOverlaySetShowFPSCounter                        = overlay.CommandSetShowFPSCounter
	CommandOverlaySetShowPaintRects                        = overlay.CommandSetShowPaintRects
	CommandOverlaySetShowScrollBottleneckRects             = overlay.CommandSetShowScrollBottleneckRects
	CommandOverlaySetShowViewportSizeOnResize              = overlay.CommandSetShowViewportSizeOnResize
	CommandOverlaySetSuspended                             = overlay.CommandSetSuspended
	EventOverlayInspectNodeRequested                       = "Overlay.inspectNodeRequested"
	EventOverlayNodeHighlightRequested                     = "Overlay.nodeHighlightRequested"
	EventOverlayScreenshotRequested                        = "Overlay.screenshotRequested"
	CommandPageAddScriptToEvaluateOnNewDocument            = page.CommandAddScriptToEvaluateOnNewDocument
	CommandPageBringToFront                                = page.CommandBringToFront
	CommandPageCaptureScreenshot                           = page.CommandCaptureScreenshot
	CommandPageCreateIsolatedWorld                         = page.CommandCreateIsolatedWorld
	CommandPageDisable                                     = page.CommandDisable
	CommandPageEnable                                      = page.CommandEnable
	CommandPageGetAppManifest                              = page.CommandGetAppManifest
	CommandPageGetFrameTree                                = page.CommandGetFrameTree
	CommandPageGetLayoutMetrics                            = page.CommandGetLayoutMetrics
	CommandPageGetNavigationHistory                        = page.CommandGetNavigationHistory
	CommandPageGetResourceContent                          = page.CommandGetResourceContent
	CommandPageGetResourceTree                             = page.CommandGetResourceTree
	CommandPageHandleJavaScriptDialog                      = page.CommandHandleJavaScriptDialog
	CommandPageNavigate                                    = page.CommandNavigate
	CommandPageNavigateToHistoryEntry                      = page.CommandNavigateToHistoryEntry
	CommandPagePrintToPDF                                  = page.CommandPrintToPDF
	CommandPageReload                                      = page.CommandReload
	CommandPageRemoveScriptToEvaluateOnNewDocument         = page.CommandRemoveScriptToEvaluateOnNewDocument
	CommandPageRequestAppBanner                            = page.CommandRequestAppBanner
	CommandPageScreencastFrameAck                          = page.CommandScreencastFrameAck
	CommandPageSearchInResource                            = page.CommandSearchInResource
	CommandPageSetAdBlockingEnabled                        = page.CommandSetAdBlockingEnabled
	CommandPageSetDocumentContent                          = page.CommandSetDocumentContent
	CommandPageSetDownloadBehavior                         = page.CommandSetDownloadBehavior
	CommandPageSetLifecycleEventsEnabled                   = page.CommandSetLifecycleEventsEnabled
	CommandPageStartScreencast                             = page.CommandStartScreencast
	CommandPageStopLoading                                 = page.CommandStopLoading
	CommandPageCrash                                       = page.CommandCrash
	CommandPageStopScreencast                              = page.CommandStopScreencast
	EventPageDomContentEventFired                          = "Page.domContentEventFired"
	EventPageFrameAttached                                 = "Page.frameAttached"
	EventPageFrameClearedScheduledNavigation               = "Page.frameClearedScheduledNavigation"
	EventPageFrameDetached                                 = "Page.frameDetached"
	EventPageFrameNavigated                                = "Page.frameNavigated"
	EventPageFrameResized                                  = "Page.frameResized"
	EventPageFrameScheduledNavigation                      = "Page.frameScheduledNavigation"
	EventPageFrameStartedLoading                           = "Page.frameStartedLoading"
	EventPageFrameStoppedLoading                           = "Page.frameStoppedLoading"
	EventPageInterstitialHidden                            = "Page.interstitialHidden"
	EventPageInterstitialShown                             = "Page.interstitialShown"
	EventPageJavascriptDialogClosed                        = "Page.javascriptDialogClosed"
	EventPageJavascriptDialogOpening                       = "Page.javascriptDialogOpening"
	EventPageLifecycleEvent                                = "Page.lifecycleEvent"
	EventPageLoadEventFired                                = "Page.loadEventFired"
	EventPageScreencastFrame                               = "Page.screencastFrame"
	EventPageScreencastVisibilityChanged                   = "Page.screencastVisibilityChanged"
	EventPageWindowOpen                                    = "Page.windowOpen"
	CommandPerformanceDisable                              = performance.CommandDisable
	CommandPerformanceEnable                               = performance.CommandEnable
	CommandPerformanceGetMetrics                           = performance.CommandGetMetrics
	EventPerformanceMetrics                                = "Performance.metrics"
	CommandProfilerDisable                                 = profiler.CommandDisable
	CommandProfilerEnable                                  = profiler.CommandEnable
	CommandProfilerGetBestEffortCoverage                   = profiler.CommandGetBestEffortCoverage
	CommandProfilerSetSamplingInterval                     = profiler.CommandSetSamplingInterval
	CommandProfilerStart                                   = profiler.CommandStart
	CommandProfilerStartPreciseCoverage                    = profiler.CommandStartPreciseCoverage
	CommandProfilerStartTypeProfile                        = profiler.CommandStartTypeProfile
	CommandProfilerStop                                    = profiler.CommandStop
	CommandProfilerStopPreciseCoverage                     = profiler.CommandStopPreciseCoverage
	CommandProfilerStopTypeProfile                         = profiler.CommandStopTypeProfile
	CommandProfilerTakePreciseCoverage                     = profiler.CommandTakePreciseCoverage
	CommandProfilerTakeTypeProfile                         = profiler.CommandTakeTypeProfile
	EventProfilerConsoleProfileFinished                    = "Profiler.consoleProfileFinished"
	EventProfilerConsoleProfileStarted                     = "Profiler.consoleProfileStarted"
	CommandRuntimeAwaitPromise                             = runtime.CommandAwaitPromise
	CommandRuntimeCallFunctionOn                           = runtime.CommandCallFunctionOn
	CommandRuntimeCompileScript                            = runtime.CommandCompileScript
	CommandRuntimeDisable                                  = runtime.CommandDisable
	CommandRuntimeDiscardConsoleEntries                    = runtime.CommandDiscardConsoleEntries
	CommandRuntimeEnable                                   = runtime.CommandEnable
	CommandRuntimeEvaluate                                 = runtime.CommandEvaluate
	CommandRuntimeGetProperties                            = runtime.CommandGetProperties
	CommandRuntimeGlobalLexicalScopeNames                  = runtime.CommandGlobalLexicalScopeNames
	CommandRuntimeQueryObjects                             = runtime.CommandQueryObjects
	CommandRuntimeReleaseObject                            = runtime.CommandReleaseObject
	CommandRuntimeReleaseObjectGroup                       = runtime.CommandReleaseObjectGroup
	CommandRuntimeRunIfWaitingForDebugger                  = runtime.CommandRunIfWaitingForDebugger
	CommandRuntimeRunScript                                = runtime.CommandRunScript
	CommandRuntimeSetCustomObjectFormatterEnabled          = runtime.CommandSetCustomObjectFormatterEnabled
	EventRuntimeConsoleAPICalled                           = "Runtime.consoleAPICalled"
	EventRuntimeExceptionRevoked                           = "Runtime.exceptionRevoked"
	EventRuntimeExceptionThrown                            = "Runtime.exceptionThrown"
	EventRuntimeExecutionContextCreated                    = "Runtime.executionContextCreated"
	EventRuntimeExecutionContextDestroyed                  = "Runtime.executionContextDestroyed"
	EventRuntimeExecutionContextsCleared                   = "Runtime.executionContextsCleared"
	EventRuntimeInspectRequested                           = "Runtime.inspectRequested"
	CommandSecurityDisable                                 = security.CommandDisable
	CommandSecurityEnable                                  = security.CommandEnable
	CommandSecuritySetIgnoreCertificateErrors              = security.CommandSetIgnoreCertificateErrors
	EventSecuritySecurityStateChanged                      = "Security.securityStateChanged"
	CommandServiceWorkerDeliverPushMessage                 = serviceworker.CommandDeliverPushMessage
	CommandServiceWorkerDisable                            = serviceworker.CommandDisable
	CommandServiceWorkerDispatchSyncEvent                  = serviceworker.CommandDispatchSyncEvent
	CommandServiceWorkerEnable                             = serviceworker.CommandEnable
	CommandServiceWorkerInspectWorker                      = serviceworker.CommandInspectWorker
	CommandServiceWorkerSetForceUpdateOnPageLoad           = serviceworker.CommandSetForceUpdateOnPageLoad
	CommandServiceWorkerSkipWaiting                        = serviceworker.CommandSkipWaiting
	CommandServiceWorkerStartWorker                        = serviceworker.CommandStartWorker
	CommandServiceWorkerStopAllWorkers                     = serviceworker.CommandStopAllWorkers
	CommandServiceWorkerStopWorker                         = serviceworker.CommandStopWorker
	CommandServiceWorkerUnregister                         = serviceworker.CommandUnregister
	CommandServiceWorkerUpdateRegistration                 = serviceworker.CommandUpdateRegistration
	EventServiceWorkerWorkerErrorReported                  = "ServiceWorker.workerErrorReported"
	EventServiceWorkerWorkerRegistrationUpdated            = "ServiceWorker.workerRegistrationUpdated"
	EventServiceWorkerWorkerVersionUpdated                 = "ServiceWorker.workerVersionUpdated"
	CommandStorageClearDataForOrigin                       = storage.CommandClearDataForOrigin
	CommandStorageGetUsageAndQuota                         = storage.CommandGetUsageAndQuota
	CommandStorageTrackCacheStorageForOrigin               = storage.CommandTrackCacheStorageForOrigin
	CommandStorageTrackIndexedDBForOrigin                  = storage.CommandTrackIndexedDBForOrigin
	CommandStorageUntrackCacheStorageForOrigin             = storage.CommandUntrackCacheStorageForOrigin
	CommandStorageUntrackIndexedDBForOrigin                = storage.CommandUntrackIndexedDBForOrigin
	EventStorageCacheStorageContentUpdated                 = "Storage.cacheStorageContentUpdated"
	EventStorageCacheStorageListUpdated                    = "Storage.cacheStorageListUpdated"
	EventStorageIndexedDBContentUpdated                    = "Storage.indexedDBContentUpdated"
	EventStorageIndexedDBListUpdated                       = "Storage.indexedDBListUpdated"
	CommandSystemInfoGetInfo                               = systeminfo.CommandGetInfo
	CommandTargetActivateTarget                            = target.CommandActivateTarget
	CommandTargetAttachToTarget                            = target.CommandAttachToTarget
	CommandTargetCloseTarget                               = target.CommandCloseTarget
	CommandTargetCreateBrowserContext                      = target.CommandCreateBrowserContext
	CommandTargetCreateTarget                              = target.CommandCreateTarget
	CommandTargetDetachFromTarget                          = target.CommandDetachFromTarget
	CommandTargetDisposeBrowserContext                     = target.CommandDisposeBrowserContext
	CommandTargetGetTargetInfo                             = target.CommandGetTargetInfo
	CommandTargetGetTargets                                = target.CommandGetTargets
	CommandTargetSendMessageToTarget                       = target.CommandSendMessageToTarget
	CommandTargetSetAutoAttach                             = target.CommandSetAutoAttach
	CommandTargetSetDiscoverTargets                        = target.CommandSetDiscoverTargets
	CommandTargetSetRemoteLocations                        = target.CommandSetRemoteLocations
	EventTargetAttachedToTarget                            = "Target.attachedToTarget"
	EventTargetDetachedFromTarget                          = "Target.detachedFromTarget"
	EventTargetReceivedMessageFromTarget                   = "Target.receivedMessageFromTarget"
	EventTargetTargetCreated                               = "Target.targetCreated"
	EventTargetTargetDestroyed                             = "Target.targetDestroyed"
	EventTargetTargetInfoChanged                           = "Target.targetInfoChanged"
	CommandTetheringBind                                   = tethering.CommandBind
	CommandTetheringUnbind                                 = tethering.CommandUnbind
	EventTetheringAccepted                                 = "Tethering.accepted"
	CommandTracingEnd                                      = tracing.CommandEnd
	CommandTracingGetCategories                            = tracing.CommandGetCategories
	CommandTracingRecordClockSyncMarker                    = tracing.CommandRecordClockSyncMarker
	CommandTracingRequestMemoryDump                        = tracing.CommandRequestMemoryDump
	CommandTracingStart                                    = tracing.CommandStart
	EventTracingBufferUsage                                = "Tracing.bufferUsage"
	EventTracingDataCollected                              = "Tracing.dataCollected"
	EventTracingTracingComplete                            = "Tracing.tracingComplete"
)

MethodType values.

Variables

This section is empty.

Functions

func UnmarshalMessage

func UnmarshalMessage(msg *Message) (interface{}, error)

UnmarshalMessage unmarshals the message result or params.

Types

type Error

type Error struct {
	Code    int64  `json:"code"`    // Error code.
	Message string `json:"message"` // Error message.
}

Error error type.

func (*Error) Error

func (e *Error) Error() string

Error satisfies error interface.

func (Error) MarshalEasyJSON

func (v Error) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Error) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Error) UnmarshalEasyJSON

func (v *Error) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Error) UnmarshalJSON

func (v *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Message

type Message struct {
	ID     int64               `json:"id,omitempty"`     // Unique message identifier.
	Method MethodType          `json:"method,omitempty"` // Event or command type.
	Params easyjson.RawMessage `json:"params,omitempty"` // Event or command parameters.
	Result easyjson.RawMessage `json:"result,omitempty"` // Command return values.
	Error  *Error              `json:"error,omitempty"`  // Error message.
}

Message chrome Debugging Protocol message sent to/read over websocket connection.

func (Message) MarshalEasyJSON

func (v Message) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Message) MarshalJSON

func (v Message) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Message) UnmarshalEasyJSON

func (v *Message) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Message) UnmarshalJSON

func (v *Message) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MethodType

type MethodType string

MethodType chrome Debugging Protocol method type (ie, event and command names).

func (MethodType) Domain

func (t MethodType) Domain() string

Domain returns the Chrome Debugging Protocol domain of the event or command.

func (MethodType) String

func (t MethodType) String() string

String returns the MethodType as string value.

Directories

Path Synopsis
Package accessibility provides the Chrome Debugging Protocol commands, types, and events for the Accessibility domain.
Package accessibility provides the Chrome Debugging Protocol commands, types, and events for the Accessibility domain.
Package animation provides the Chrome Debugging Protocol commands, types, and events for the Animation domain.
Package animation provides the Chrome Debugging Protocol commands, types, and events for the Animation domain.
Package applicationcache provides the Chrome Debugging Protocol commands, types, and events for the ApplicationCache domain.
Package applicationcache provides the Chrome Debugging Protocol commands, types, and events for the ApplicationCache domain.
Package audits provides the Chrome Debugging Protocol commands, types, and events for the Audits domain.
Package audits provides the Chrome Debugging Protocol commands, types, and events for the Audits domain.
Package browser provides the Chrome Debugging Protocol commands, types, and events for the Browser domain.
Package browser provides the Chrome Debugging Protocol commands, types, and events for the Browser domain.
Package cachestorage provides the Chrome Debugging Protocol commands, types, and events for the CacheStorage domain.
Package cachestorage provides the Chrome Debugging Protocol commands, types, and events for the CacheStorage domain.
Package css provides the Chrome Debugging Protocol commands, types, and events for the CSS domain.
Package css provides the Chrome Debugging Protocol commands, types, and events for the CSS domain.
Package database provides the Chrome Debugging Protocol commands, types, and events for the Database domain.
Package database provides the Chrome Debugging Protocol commands, types, and events for the Database domain.
Package debugger provides the Chrome Debugging Protocol commands, types, and events for the Debugger domain.
Package debugger provides the Chrome Debugging Protocol commands, types, and events for the Debugger domain.
Package deviceorientation provides the Chrome Debugging Protocol commands, types, and events for the DeviceOrientation domain.
Package deviceorientation provides the Chrome Debugging Protocol commands, types, and events for the DeviceOrientation domain.
Package dom provides the Chrome Debugging Protocol commands, types, and events for the DOM domain.
Package dom provides the Chrome Debugging Protocol commands, types, and events for the DOM domain.
Package domdebugger provides the Chrome Debugging Protocol commands, types, and events for the DOMDebugger domain.
Package domdebugger provides the Chrome Debugging Protocol commands, types, and events for the DOMDebugger domain.
Package domsnapshot provides the Chrome Debugging Protocol commands, types, and events for the DOMSnapshot domain.
Package domsnapshot provides the Chrome Debugging Protocol commands, types, and events for the DOMSnapshot domain.
Package domstorage provides the Chrome Debugging Protocol commands, types, and events for the DOMStorage domain.
Package domstorage provides the Chrome Debugging Protocol commands, types, and events for the DOMStorage domain.
Package emulation provides the Chrome Debugging Protocol commands, types, and events for the Emulation domain.
Package emulation provides the Chrome Debugging Protocol commands, types, and events for the Emulation domain.
Package har provides the Chrome Debugging Protocol commands, types, and events for the HAR domain.
Package har provides the Chrome Debugging Protocol commands, types, and events for the HAR domain.
Package headlessexperimental provides the Chrome Debugging Protocol commands, types, and events for the HeadlessExperimental domain.
Package headlessexperimental provides the Chrome Debugging Protocol commands, types, and events for the HeadlessExperimental domain.
Package heapprofiler provides the Chrome Debugging Protocol commands, types, and events for the HeapProfiler domain.
Package heapprofiler provides the Chrome Debugging Protocol commands, types, and events for the HeapProfiler domain.
Package indexeddb provides the Chrome Debugging Protocol commands, types, and events for the IndexedDB domain.
Package indexeddb provides the Chrome Debugging Protocol commands, types, and events for the IndexedDB domain.
Package input provides the Chrome Debugging Protocol commands, types, and events for the Input domain.
Package input provides the Chrome Debugging Protocol commands, types, and events for the Input domain.
Package inspector provides the Chrome Debugging Protocol commands, types, and events for the Inspector domain.
Package inspector provides the Chrome Debugging Protocol commands, types, and events for the Inspector domain.
Package io provides the Chrome Debugging Protocol commands, types, and events for the IO domain.
Package io provides the Chrome Debugging Protocol commands, types, and events for the IO domain.
Package layertree provides the Chrome Debugging Protocol commands, types, and events for the LayerTree domain.
Package layertree provides the Chrome Debugging Protocol commands, types, and events for the LayerTree domain.
Package log provides the Chrome Debugging Protocol commands, types, and events for the Log domain.
Package log provides the Chrome Debugging Protocol commands, types, and events for the Log domain.
Package memory provides the Chrome Debugging Protocol commands, types, and events for the Memory domain.
Package memory provides the Chrome Debugging Protocol commands, types, and events for the Memory domain.
Package network provides the Chrome Debugging Protocol commands, types, and events for the Network domain.
Package network provides the Chrome Debugging Protocol commands, types, and events for the Network domain.
Package overlay provides the Chrome Debugging Protocol commands, types, and events for the Overlay domain.
Package overlay provides the Chrome Debugging Protocol commands, types, and events for the Overlay domain.
Package page provides the Chrome Debugging Protocol commands, types, and events for the Page domain.
Package page provides the Chrome Debugging Protocol commands, types, and events for the Page domain.
Package performance provides the Chrome Debugging Protocol commands, types, and events for the Performance domain.
Package performance provides the Chrome Debugging Protocol commands, types, and events for the Performance domain.
Package profiler provides the Chrome Debugging Protocol commands, types, and events for the Profiler domain.
Package profiler provides the Chrome Debugging Protocol commands, types, and events for the Profiler domain.
Package runtime provides the Chrome Debugging Protocol commands, types, and events for the Runtime domain.
Package runtime provides the Chrome Debugging Protocol commands, types, and events for the Runtime domain.
Package security provides the Chrome Debugging Protocol commands, types, and events for the Security domain.
Package security provides the Chrome Debugging Protocol commands, types, and events for the Security domain.
Package serviceworker provides the Chrome Debugging Protocol commands, types, and events for the ServiceWorker domain.
Package serviceworker provides the Chrome Debugging Protocol commands, types, and events for the ServiceWorker domain.
Package storage provides the Chrome Debugging Protocol commands, types, and events for the Storage domain.
Package storage provides the Chrome Debugging Protocol commands, types, and events for the Storage domain.
Package systeminfo provides the Chrome Debugging Protocol commands, types, and events for the SystemInfo domain.
Package systeminfo provides the Chrome Debugging Protocol commands, types, and events for the SystemInfo domain.
Package target provides the Chrome Debugging Protocol commands, types, and events for the Target domain.
Package target provides the Chrome Debugging Protocol commands, types, and events for the Target domain.
Package tethering provides the Chrome Debugging Protocol commands, types, and events for the Tethering domain.
Package tethering provides the Chrome Debugging Protocol commands, types, and events for the Tethering domain.
Package tracing provides the Chrome Debugging Protocol commands, types, and events for the Tracing domain.
Package tracing provides the Chrome Debugging Protocol commands, types, and events for the Tracing domain.

Jump to

Keyboard shortcuts

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