protocol

package
v0.0.0-...-d8d72af Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateTarget

func ActivateTarget(params *ActivateTargetParams, conn *hc.Conn) (err error)

func AddBlockedURL

func AddBlockedURL(params *AddBlockedURLParams, conn *hc.Conn) (err error)

func AddInspectedHeapObject

func AddInspectedHeapObject(params *AddInspectedHeapObjectParams, conn *hc.Conn) (err error)

func AnimationDisable

func AnimationDisable(conn *hc.Conn) (err error)

func AnimationEnable

func AnimationEnable(conn *hc.Conn) (err error)

func ApplicationCacheEnable

func ApplicationCacheEnable(conn *hc.Conn) (err error)

func Bind

func Bind(params *BindParams, conn *hc.Conn) (err error)

func CSSDisable

func CSSDisable(conn *hc.Conn) (err error)

func CSSEnable

func CSSEnable(conn *hc.Conn) (err error)

func Clear

func Clear(conn *hc.Conn) (err error)

func ClearBrowserCache

func ClearBrowserCache(conn *hc.Conn) (err error)

func ClearBrowserCookies

func ClearBrowserCookies(conn *hc.Conn) (err error)

func ClearDataForOrigin

func ClearDataForOrigin(params *ClearDataForOriginParams, conn *hc.Conn) (err error)

func ClearMessages

func ClearMessages(conn *hc.Conn) (err error)

func ClearObjectStore

func ClearObjectStore(params *ClearObjectStoreParams, conn *hc.Conn) (err error)

func Close

func Close(params *CloseParams, conn *hc.Conn) (err error)

func CollectGarbage

func CollectGarbage(conn *hc.Conn) (err error)

func ConfigureOverlay

func ConfigureOverlay(params *ConfigureOverlayParams, conn *hc.Conn) (err error)

func ConsoleDisable

func ConsoleDisable(conn *hc.Conn) (err error)

func ConsoleEnable

func ConsoleEnable(conn *hc.Conn) (err error)

func ContinueToLocation

func ContinueToLocation(params *ContinueToLocationParams, conn *hc.Conn) (err error)

func DOMDisable

func DOMDisable(conn *hc.Conn) (err error)

func DOMEnable

func DOMEnable(conn *hc.Conn) (err error)

func DOMStorageDisable

func DOMStorageDisable(conn *hc.Conn) (err error)

func DOMStorageEnable

func DOMStorageEnable(conn *hc.Conn) (err error)

func DatabaseDisable

func DatabaseDisable(conn *hc.Conn) (err error)

func DatabaseEnable

func DatabaseEnable(conn *hc.Conn) (err error)

func DebuggerDisable

func DebuggerDisable(conn *hc.Conn) (err error)

func DebuggerEnable

func DebuggerEnable(conn *hc.Conn) (err error)

func DeleteCache

func DeleteCache(params *DeleteCacheParams, conn *hc.Conn) (err error)

func DeleteEntry

func DeleteEntry(params *DeleteEntryParams, conn *hc.Conn) (err error)

func DeliverPushMessage

func DeliverPushMessage(params *DeliverPushMessageParams, conn *hc.Conn) (err error)

func DetachFromTarget

func DetachFromTarget(params *DetachFromTargetParams, conn *hc.Conn) (err error)

func DeviceOrientationClearDeviceOrientationOverride

func DeviceOrientationClearDeviceOrientationOverride(conn *hc.Conn) (err error)

func DeviceOrientationSetDeviceOrientationOverride

func DeviceOrientationSetDeviceOrientationOverride(params *DeviceOrientationSetDeviceOrientationOverrideParams, conn *hc.Conn) (err error)

func DiscardConsoleEntries

func DiscardConsoleEntries(conn *hc.Conn) (err error)

func DiscardSearchResults

func DiscardSearchResults(params *DiscardSearchResultsParams, conn *hc.Conn) (err error)

func DispatchKeyEvent

func DispatchKeyEvent(params *DispatchKeyEventParams, conn *hc.Conn) (err error)

func DispatchMouseEvent

func DispatchMouseEvent(params *DispatchMouseEventParams, conn *hc.Conn) (err error)

func DispatchSyncEvent

func DispatchSyncEvent(params *DispatchSyncEventParams, conn *hc.Conn) (err error)

func DispatchTouchEvent

func DispatchTouchEvent(params *DispatchTouchEventParams, conn *hc.Conn) (err error)

func EmulateNetworkConditions

func EmulateNetworkConditions(params *EmulateNetworkConditionsParams, conn *hc.Conn) (err error)

func EmulateTouchFromMouseEvent

func EmulateTouchFromMouseEvent(params *EmulateTouchFromMouseEventParams, conn *hc.Conn) (err error)

func EmulationClearDeviceMetricsOverride

func EmulationClearDeviceMetricsOverride(conn *hc.Conn) (err error)

func EmulationClearGeolocationOverride

func EmulationClearGeolocationOverride(conn *hc.Conn) (err error)

func EmulationSetDeviceMetricsOverride

func EmulationSetDeviceMetricsOverride(params *EmulationSetDeviceMetricsOverrideParams, conn *hc.Conn) (err error)

func EmulationSetGeolocationOverride

func EmulationSetGeolocationOverride(params *EmulationSetGeolocationOverrideParams, conn *hc.Conn) (err error)

func EmulationSetTouchEmulationEnabled

func EmulationSetTouchEmulationEnabled(params *EmulationSetTouchEmulationEnabledParams, conn *hc.Conn) (err error)

func End

func End(conn *hc.Conn) (err error)

func Focus

func Focus(params *FocusParams, conn *hc.Conn) (err error)

func ForcePseudoState

func ForcePseudoState(params *ForcePseudoStateParams, conn *hc.Conn) (err error)

func ForceViewport

func ForceViewport(params *ForceViewportParams, conn *hc.Conn) (err error)

func HandleJavaScriptDialog

func HandleJavaScriptDialog(params *HandleJavaScriptDialogParams, conn *hc.Conn) (err error)

func HeapProfilerDisable

func HeapProfilerDisable(conn *hc.Conn) (err error)

func HeapProfilerEnable

func HeapProfilerEnable(conn *hc.Conn) (err error)

func HideHighlight

func HideHighlight(conn *hc.Conn) (err error)

func HighlightFrame

func HighlightFrame(params *HighlightFrameParams, conn *hc.Conn) (err error)

func HighlightNode

func HighlightNode(params *HighlightNodeParams, conn *hc.Conn) (err error)

func HighlightQuad

func HighlightQuad(params *HighlightQuadParams, conn *hc.Conn) (err error)

func HighlightRect

func HighlightRect(params *HighlightRectParams, conn *hc.Conn) (err error)

func IndexedDBDisable

func IndexedDBDisable(conn *hc.Conn) (err error)

func IndexedDBEnable

func IndexedDBEnable(conn *hc.Conn) (err error)

func InspectWorker

func InspectWorker(params *InspectWorkerParams, conn *hc.Conn) (err error)

func InspectorDisable

func InspectorDisable(conn *hc.Conn) (err error)

func InspectorEnable

func InspectorEnable(conn *hc.Conn) (err error)

func LayerTreeDisable

func LayerTreeDisable(conn *hc.Conn) (err error)

func LayerTreeEnable

func LayerTreeEnable(conn *hc.Conn) (err error)

func LogDisable

func LogDisable(conn *hc.Conn) (err error)

func LogEnable

func LogEnable(conn *hc.Conn) (err error)

func MarkUndoableState

func MarkUndoableState(conn *hc.Conn) (err error)
func NavigateToHistoryEntry(params *NavigateToHistoryEntryParams, conn *hc.Conn) (err error)

func NetworkDeleteCookie

func NetworkDeleteCookie(params *NetworkDeleteCookieParams, conn *hc.Conn) (err error)

func NetworkDisable

func NetworkDisable(conn *hc.Conn) (err error)

func NetworkEnable

func NetworkEnable(params *NetworkEnableParams, conn *hc.Conn) (err error)

func OnAccepted

func OnAccepted(conn *hc.Conn, cb func(evt *AcceptedEvent))

func OnAddDatabase

func OnAddDatabase(conn *hc.Conn, cb func(evt *AddDatabaseEvent))

func OnAddHeapSnapshotChunk

func OnAddHeapSnapshotChunk(conn *hc.Conn, cb func(evt *AddHeapSnapshotChunkEvent))

func OnAnimationCanceled

func OnAnimationCanceled(conn *hc.Conn, cb func(evt *AnimationCanceledEvent))

func OnAnimationCreated

func OnAnimationCreated(conn *hc.Conn, cb func(evt *AnimationCreatedEvent))

func OnAnimationStarted

func OnAnimationStarted(conn *hc.Conn, cb func(evt *AnimationStartedEvent))

func OnApplicationCacheStatusUpdated

func OnApplicationCacheStatusUpdated(conn *hc.Conn, cb func(evt *ApplicationCacheStatusUpdatedEvent))

func OnAttachedToTarget

func OnAttachedToTarget(conn *hc.Conn, cb func(evt *AttachedToTargetEvent))

func OnAttributeModified

func OnAttributeModified(conn *hc.Conn, cb func(evt *AttributeModifiedEvent))

func OnAttributeRemoved

func OnAttributeRemoved(conn *hc.Conn, cb func(evt *AttributeRemovedEvent))

func OnBreakpointResolved

func OnBreakpointResolved(conn *hc.Conn, cb func(evt *BreakpointResolvedEvent))

func OnBufferUsage

func OnBufferUsage(conn *hc.Conn, cb func(evt *BufferUsageEvent))

func OnCharacterDataModified

func OnCharacterDataModified(conn *hc.Conn, cb func(evt *CharacterDataModifiedEvent))

func OnChildNodeCountUpdated

func OnChildNodeCountUpdated(conn *hc.Conn, cb func(evt *ChildNodeCountUpdatedEvent))

func OnChildNodeInserted

func OnChildNodeInserted(conn *hc.Conn, cb func(evt *ChildNodeInsertedEvent))

func OnChildNodeRemoved

func OnChildNodeRemoved(conn *hc.Conn, cb func(evt *ChildNodeRemovedEvent))

func OnColorPicked

func OnColorPicked(conn *hc.Conn, cb func(evt *ColorPickedEvent))

func OnConsoleAPICalled

func OnConsoleAPICalled(conn *hc.Conn, cb func(evt *ConsoleAPICalledEvent))

func OnConsoleProfileFinished

func OnConsoleProfileFinished(conn *hc.Conn, cb func(evt *ConsoleProfileFinishedEvent))

func OnConsoleProfileStarted

func OnConsoleProfileStarted(conn *hc.Conn, cb func(evt *ConsoleProfileStartedEvent))

func OnDataCollected

func OnDataCollected(conn *hc.Conn, cb func(evt *DataCollectedEvent))

func OnDataReceived

func OnDataReceived(conn *hc.Conn, cb func(evt *DataReceivedEvent))

func OnDetached

func OnDetached(conn *hc.Conn, cb func(evt *DetachedEvent))

func OnDetachedFromTarget

func OnDetachedFromTarget(conn *hc.Conn, cb func(evt *DetachedFromTargetEvent))

func OnDistributedNodesUpdated

func OnDistributedNodesUpdated(conn *hc.Conn, cb func(evt *DistributedNodesUpdatedEvent))

func OnDocumentUpdated

func OnDocumentUpdated(conn *hc.Conn, cb func(evt *DocumentUpdatedEvent))

func OnDomContentEventFired

func OnDomContentEventFired(conn *hc.Conn, cb func(evt *DomContentEventFiredEvent))

func OnDomStorageItemAdded

func OnDomStorageItemAdded(conn *hc.Conn, cb func(evt *DomStorageItemAddedEvent))

func OnDomStorageItemRemoved

func OnDomStorageItemRemoved(conn *hc.Conn, cb func(evt *DomStorageItemRemovedEvent))

func OnDomStorageItemUpdated

func OnDomStorageItemUpdated(conn *hc.Conn, cb func(evt *DomStorageItemUpdatedEvent))

func OnDomStorageItemsCleared

func OnDomStorageItemsCleared(conn *hc.Conn, cb func(evt *DomStorageItemsClearedEvent))

func OnEntryAdded

func OnEntryAdded(conn *hc.Conn, cb func(evt *EntryAddedEvent))

func OnEventSourceMessageReceived

func OnEventSourceMessageReceived(conn *hc.Conn, cb func(evt *EventSourceMessageReceivedEvent))

func OnExceptionRevoked

func OnExceptionRevoked(conn *hc.Conn, cb func(evt *ExceptionRevokedEvent))

func OnExceptionThrown

func OnExceptionThrown(conn *hc.Conn, cb func(evt *ExceptionThrownEvent))

func OnExecutionContextCreated

func OnExecutionContextCreated(conn *hc.Conn, cb func(evt *ExecutionContextCreatedEvent))

func OnExecutionContextDestroyed

func OnExecutionContextDestroyed(conn *hc.Conn, cb func(evt *ExecutionContextDestroyedEvent))

func OnExecutionContextsCleared

func OnExecutionContextsCleared(conn *hc.Conn, cb func(evt *ExecutionContextsClearedEvent))

func OnFontsUpdated

func OnFontsUpdated(conn *hc.Conn, cb func(evt *FontsUpdatedEvent))

func OnFrameAttached

func OnFrameAttached(conn *hc.Conn, cb func(evt *FrameAttachedEvent))

func OnFrameClearedScheduledNavigation

func OnFrameClearedScheduledNavigation(conn *hc.Conn, cb func(evt *FrameClearedScheduledNavigationEvent))

func OnFrameDetached

func OnFrameDetached(conn *hc.Conn, cb func(evt *FrameDetachedEvent))

func OnFrameNavigated

func OnFrameNavigated(conn *hc.Conn, cb func(evt *FrameNavigatedEvent))

func OnFrameResized

func OnFrameResized(conn *hc.Conn, cb func(evt *FrameResizedEvent))

func OnFrameScheduledNavigation

func OnFrameScheduledNavigation(conn *hc.Conn, cb func(evt *FrameScheduledNavigationEvent))

func OnFrameStartedLoading

func OnFrameStartedLoading(conn *hc.Conn, cb func(evt *FrameStartedLoadingEvent))

func OnFrameStoppedLoading

func OnFrameStoppedLoading(conn *hc.Conn, cb func(evt *FrameStoppedLoadingEvent))

func OnHeapStatsUpdate

func OnHeapStatsUpdate(conn *hc.Conn, cb func(evt *HeapStatsUpdateEvent))

func OnInlineStyleInvalidated

func OnInlineStyleInvalidated(conn *hc.Conn, cb func(evt *InlineStyleInvalidatedEvent))

func OnInspectNodeRequested

func OnInspectNodeRequested(conn *hc.Conn, cb func(evt *InspectNodeRequestedEvent))

func OnInspectRequested

func OnInspectRequested(conn *hc.Conn, cb func(evt *InspectRequestedEvent))

func OnInterstitialHidden

func OnInterstitialHidden(conn *hc.Conn, cb func(evt *InterstitialHiddenEvent))

func OnInterstitialShown

func OnInterstitialShown(conn *hc.Conn, cb func(evt *InterstitialShownEvent))

func OnJavascriptDialogClosed

func OnJavascriptDialogClosed(conn *hc.Conn, cb func(evt *JavascriptDialogClosedEvent))

func OnJavascriptDialogOpening

func OnJavascriptDialogOpening(conn *hc.Conn, cb func(evt *JavascriptDialogOpeningEvent))

func OnLastSeenObjectId

func OnLastSeenObjectId(conn *hc.Conn, cb func(evt *LastSeenObjectIdEvent))

func OnLayerPainted

func OnLayerPainted(conn *hc.Conn, cb func(evt *LayerPaintedEvent))

func OnLayerTreeDidChange

func OnLayerTreeDidChange(conn *hc.Conn, cb func(evt *LayerTreeDidChangeEvent))

func OnLoadEventFired

func OnLoadEventFired(conn *hc.Conn, cb func(evt *LoadEventFiredEvent))

func OnLoadingFailed

func OnLoadingFailed(conn *hc.Conn, cb func(evt *LoadingFailedEvent))

func OnLoadingFinished

func OnLoadingFinished(conn *hc.Conn, cb func(evt *LoadingFinishedEvent))

func OnMediaQueryResultChanged

func OnMediaQueryResultChanged(conn *hc.Conn, cb func(evt *MediaQueryResultChangedEvent))

func OnMessageAdded

func OnMessageAdded(conn *hc.Conn, cb func(evt *MessageAddedEvent))

func OnNavigationRequested

func OnNavigationRequested(conn *hc.Conn, cb func(evt *NavigationRequestedEvent))

func OnNetworkStateUpdated

func OnNetworkStateUpdated(conn *hc.Conn, cb func(evt *NetworkStateUpdatedEvent))

func OnNodeHighlightRequested

func OnNodeHighlightRequested(conn *hc.Conn, cb func(evt *NodeHighlightRequestedEvent))

func OnPaused

func OnPaused(conn *hc.Conn, cb func(evt *PausedEvent))

func OnPseudoElementAdded

func OnPseudoElementAdded(conn *hc.Conn, cb func(evt *PseudoElementAddedEvent))

func OnPseudoElementRemoved

func OnPseudoElementRemoved(conn *hc.Conn, cb func(evt *PseudoElementRemovedEvent))

func OnReceivedMessageFromTarget

func OnReceivedMessageFromTarget(conn *hc.Conn, cb func(evt *ReceivedMessageFromTargetEvent))

func OnReportHeapSnapshotProgress

func OnReportHeapSnapshotProgress(conn *hc.Conn, cb func(evt *ReportHeapSnapshotProgressEvent))

func OnRequestServedFromCache

func OnRequestServedFromCache(conn *hc.Conn, cb func(evt *RequestServedFromCacheEvent))

func OnRequestWillBeSent

func OnRequestWillBeSent(conn *hc.Conn, cb func(evt *RequestWillBeSentEvent))

func OnResetProfiles

func OnResetProfiles(conn *hc.Conn, cb func(evt *ResetProfilesEvent))

func OnResourceChangedPriority

func OnResourceChangedPriority(conn *hc.Conn, cb func(evt *ResourceChangedPriorityEvent))

func OnResponseReceived

func OnResponseReceived(conn *hc.Conn, cb func(evt *ResponseReceivedEvent))

func OnResumed

func OnResumed(conn *hc.Conn, cb func(evt *ResumedEvent))

func OnScreencastFrame

func OnScreencastFrame(conn *hc.Conn, cb func(evt *ScreencastFrameEvent))

func OnScreencastVisibilityChanged

func OnScreencastVisibilityChanged(conn *hc.Conn, cb func(evt *ScreencastVisibilityChangedEvent))

func OnScriptFailedToParse

func OnScriptFailedToParse(conn *hc.Conn, cb func(evt *ScriptFailedToParseEvent))

func OnScriptParsed

func OnScriptParsed(conn *hc.Conn, cb func(evt *ScriptParsedEvent))

func OnSecurityStateChanged

func OnSecurityStateChanged(conn *hc.Conn, cb func(evt *SecurityStateChangedEvent))

func OnSetChildNodes

func OnSetChildNodes(conn *hc.Conn, cb func(evt *SetChildNodesEvent))

func OnShadowRootPopped

func OnShadowRootPopped(conn *hc.Conn, cb func(evt *ShadowRootPoppedEvent))

func OnShadowRootPushed

func OnShadowRootPushed(conn *hc.Conn, cb func(evt *ShadowRootPushedEvent))

func OnStyleSheetAdded

func OnStyleSheetAdded(conn *hc.Conn, cb func(evt *StyleSheetAddedEvent))

func OnStyleSheetChanged

func OnStyleSheetChanged(conn *hc.Conn, cb func(evt *StyleSheetChangedEvent))

func OnStyleSheetRemoved

func OnStyleSheetRemoved(conn *hc.Conn, cb func(evt *StyleSheetRemovedEvent))

func OnTargetCrashed

func OnTargetCrashed(conn *hc.Conn, cb func(evt *TargetCrashedEvent))

func OnTargetCreated

func OnTargetCreated(conn *hc.Conn, cb func(evt *TargetCreatedEvent))

func OnTargetDestroyed

func OnTargetDestroyed(conn *hc.Conn, cb func(evt *TargetDestroyedEvent))

func OnTracingComplete

func OnTracingComplete(conn *hc.Conn, cb func(evt *TracingCompleteEvent))

func OnVirtualTimeBudgetExpired

func OnVirtualTimeBudgetExpired(conn *hc.Conn, cb func(evt *VirtualTimeBudgetExpiredEvent))

func OnWebSocketClosed

func OnWebSocketClosed(conn *hc.Conn, cb func(evt *WebSocketClosedEvent))

func OnWebSocketCreated

func OnWebSocketCreated(conn *hc.Conn, cb func(evt *WebSocketCreatedEvent))

func OnWebSocketFrameError

func OnWebSocketFrameError(conn *hc.Conn, cb func(evt *WebSocketFrameErrorEvent))

func OnWebSocketFrameReceived

func OnWebSocketFrameReceived(conn *hc.Conn, cb func(evt *WebSocketFrameReceivedEvent))

func OnWebSocketFrameSent

func OnWebSocketFrameSent(conn *hc.Conn, cb func(evt *WebSocketFrameSentEvent))

func OnWebSocketHandshakeResponseReceived

func OnWebSocketHandshakeResponseReceived(conn *hc.Conn, cb func(evt *WebSocketHandshakeResponseReceivedEvent))

func OnWebSocketWillSendHandshakeRequest

func OnWebSocketWillSendHandshakeRequest(conn *hc.Conn, cb func(evt *WebSocketWillSendHandshakeRequestEvent))

func OnWorkerErrorReported

func OnWorkerErrorReported(conn *hc.Conn, cb func(evt *WorkerErrorReportedEvent))

func OnWorkerRegistrationUpdated

func OnWorkerRegistrationUpdated(conn *hc.Conn, cb func(evt *WorkerRegistrationUpdatedEvent))

func OnWorkerVersionUpdated

func OnWorkerVersionUpdated(conn *hc.Conn, cb func(evt *WorkerVersionUpdatedEvent))

func PageClearDeviceMetricsOverride

func PageClearDeviceMetricsOverride(conn *hc.Conn) (err error)

func PageClearDeviceOrientationOverride

func PageClearDeviceOrientationOverride(conn *hc.Conn) (err error)

func PageClearGeolocationOverride

func PageClearGeolocationOverride(conn *hc.Conn) (err error)

func PageDeleteCookie

func PageDeleteCookie(params *PageDeleteCookieParams, conn *hc.Conn) (err error)

func PageDisable

func PageDisable(conn *hc.Conn) (err error)

func PageEnable

func PageEnable(conn *hc.Conn) (err error)

func PageSetDeviceMetricsOverride

func PageSetDeviceMetricsOverride(params *PageSetDeviceMetricsOverrideParams, conn *hc.Conn) (err error)

func PageSetDeviceOrientationOverride

func PageSetDeviceOrientationOverride(params *PageSetDeviceOrientationOverrideParams, conn *hc.Conn) (err error)

func PageSetGeolocationOverride

func PageSetGeolocationOverride(params *PageSetGeolocationOverrideParams, conn *hc.Conn) (err error)

func PageSetTouchEmulationEnabled

func PageSetTouchEmulationEnabled(params *PageSetTouchEmulationEnabledParams, conn *hc.Conn) (err error)

func Pause

func Pause(conn *hc.Conn) (err error)

func ProcessNavigation

func ProcessNavigation(params *ProcessNavigationParams, conn *hc.Conn) (err error)

func ProfilerDisable

func ProfilerDisable(conn *hc.Conn) (err error)

func ProfilerEnable

func ProfilerEnable(conn *hc.Conn) (err error)

func ProfilerStart

func ProfilerStart(conn *hc.Conn) (err error)

func RecordClockSyncMarker

func RecordClockSyncMarker(params *RecordClockSyncMarkerParams, conn *hc.Conn) (err error)

func Redo

func Redo(conn *hc.Conn) (err error)

func ReleaseAnimations

func ReleaseAnimations(params *ReleaseAnimationsParams, conn *hc.Conn) (err error)

func ReleaseObject

func ReleaseObject(params *ReleaseObjectParams, conn *hc.Conn) (err error)

func ReleaseObjectGroup

func ReleaseObjectGroup(params *ReleaseObjectGroupParams, conn *hc.Conn) (err error)

func ReleaseSnapshot

func ReleaseSnapshot(params *ReleaseSnapshotParams, conn *hc.Conn) (err error)

func Reload

func Reload(params *ReloadParams, conn *hc.Conn) (err error)

func RemoveAttribute

func RemoveAttribute(params *RemoveAttributeParams, conn *hc.Conn) (err error)

func RemoveBlockedURL

func RemoveBlockedURL(params *RemoveBlockedURLParams, conn *hc.Conn) (err error)

func RemoveBreakpoint

func RemoveBreakpoint(params *RemoveBreakpointParams, conn *hc.Conn) (err error)

func RemoveDOMBreakpoint

func RemoveDOMBreakpoint(params *RemoveDOMBreakpointParams, conn *hc.Conn) (err error)

func RemoveDOMStorageItem

func RemoveDOMStorageItem(params *RemoveDOMStorageItemParams, conn *hc.Conn) (err error)

func RemoveEventListenerBreakpoint

func RemoveEventListenerBreakpoint(params *RemoveEventListenerBreakpointParams, conn *hc.Conn) (err error)

func RemoveInstrumentationBreakpoint

func RemoveInstrumentationBreakpoint(params *RemoveInstrumentationBreakpointParams, conn *hc.Conn) (err error)

func RemoveNode

func RemoveNode(params *RemoveNodeParams, conn *hc.Conn) (err error)

func RemoveScriptToEvaluateOnLoad

func RemoveScriptToEvaluateOnLoad(params *RemoveScriptToEvaluateOnLoadParams, conn *hc.Conn) (err error)

func RemoveXHRBreakpoint

func RemoveXHRBreakpoint(params *RemoveXHRBreakpointParams, conn *hc.Conn) (err error)

func ReplayXHR

func ReplayXHR(params *ReplayXHRParams, conn *hc.Conn) (err error)

func RequestAppBanner

func RequestAppBanner(conn *hc.Conn) (err error)

func RequestChildNodes

func RequestChildNodes(params *RequestChildNodesParams, conn *hc.Conn) (err error)

func ResetPageScaleFactor

func ResetPageScaleFactor(conn *hc.Conn) (err error)

func ResetViewport

func ResetViewport(conn *hc.Conn) (err error)

func Resume

func Resume(conn *hc.Conn) (err error)

func RunIfWaitingForDebugger

func RunIfWaitingForDebugger(conn *hc.Conn) (err error)

func RuntimeDisable

func RuntimeDisable(conn *hc.Conn) (err error)

func RuntimeEnable

func RuntimeEnable(conn *hc.Conn) (err error)

func ScreencastFrameAck

func ScreencastFrameAck(params *ScreencastFrameAckParams, conn *hc.Conn) (err error)

func SecurityDisable

func SecurityDisable(conn *hc.Conn) (err error)

func SecurityEnable

func SecurityEnable(conn *hc.Conn) (err error)

func SeekAnimations

func SeekAnimations(params *SeekAnimationsParams, conn *hc.Conn) (err error)

func SendMessageToTarget

func SendMessageToTarget(params *SendMessageToTargetParams, conn *hc.Conn) (err error)

func ServiceWorkerDisable

func ServiceWorkerDisable(conn *hc.Conn) (err error)

func ServiceWorkerEnable

func ServiceWorkerEnable(conn *hc.Conn) (err error)

func SetAsyncCallStackDepth

func SetAsyncCallStackDepth(params *SetAsyncCallStackDepthParams, conn *hc.Conn) (err error)

func SetAttachToFrames

func SetAttachToFrames(params *SetAttachToFramesParams, conn *hc.Conn) (err error)

func SetAttributeValue

func SetAttributeValue(params *SetAttributeValueParams, conn *hc.Conn) (err error)

func SetAttributesAsText

func SetAttributesAsText(params *SetAttributesAsTextParams, conn *hc.Conn) (err error)

func SetAutoAttach

func SetAutoAttach(params *SetAutoAttachParams, conn *hc.Conn) (err error)

func SetAutoAttachToCreatedPages

func SetAutoAttachToCreatedPages(params *SetAutoAttachToCreatedPagesParams, conn *hc.Conn) (err error)

func SetBlackboxPatterns

func SetBlackboxPatterns(params *SetBlackboxPatternsParams, conn *hc.Conn) (err error)

func SetBlackboxedRanges

func SetBlackboxedRanges(params *SetBlackboxedRangesParams, conn *hc.Conn) (err error)

func SetBreakpointsActive

func SetBreakpointsActive(params *SetBreakpointsActiveParams, conn *hc.Conn) (err error)

func SetBypassServiceWorker

func SetBypassServiceWorker(params *SetBypassServiceWorkerParams, conn *hc.Conn) (err error)

func SetCPUThrottlingRate

func SetCPUThrottlingRate(params *SetCPUThrottlingRateParams, conn *hc.Conn) (err error)

func SetCacheDisabled

func SetCacheDisabled(params *SetCacheDisabledParams, conn *hc.Conn) (err error)

func SetColorPickerEnabled

func SetColorPickerEnabled(params *SetColorPickerEnabledParams, conn *hc.Conn) (err error)

func SetControlNavigations

func SetControlNavigations(params *SetControlNavigationsParams, conn *hc.Conn) (err error)

func SetCustomObjectFormatterEnabled

func SetCustomObjectFormatterEnabled(params *SetCustomObjectFormatterEnabledParams, conn *hc.Conn) (err error)

func SetDOMBreakpoint

func SetDOMBreakpoint(params *SetDOMBreakpointParams, conn *hc.Conn) (err error)

func SetDOMStorageItem

func SetDOMStorageItem(params *SetDOMStorageItemParams, conn *hc.Conn) (err error)

func SetDataSizeLimitsForTest

func SetDataSizeLimitsForTest(params *SetDataSizeLimitsForTestParams, conn *hc.Conn) (err error)

func SetDiscoverTargets

func SetDiscoverTargets(params *SetDiscoverTargetsParams, conn *hc.Conn) (err error)

func SetDocumentContent

func SetDocumentContent(params *SetDocumentContentParams, conn *hc.Conn) (err error)

func SetEffectivePropertyValueForNode

func SetEffectivePropertyValueForNode(params *SetEffectivePropertyValueForNodeParams, conn *hc.Conn) (err error)

func SetEmulatedMedia

func SetEmulatedMedia(params *SetEmulatedMediaParams, conn *hc.Conn) (err error)

func SetEventListenerBreakpoint

func SetEventListenerBreakpoint(params *SetEventListenerBreakpointParams, conn *hc.Conn) (err error)

func SetExtraHTTPHeaders

func SetExtraHTTPHeaders(params *SetExtraHTTPHeadersParams, conn *hc.Conn) (err error)

func SetFileInputFiles

func SetFileInputFiles(params *SetFileInputFilesParams, conn *hc.Conn) (err error)

func SetForceUpdateOnPageLoad

func SetForceUpdateOnPageLoad(params *SetForceUpdateOnPageLoadParams, conn *hc.Conn) (err error)

func SetInspectMode

func SetInspectMode(params *SetInspectModeParams, conn *hc.Conn) (err error)

func SetInspectedNode

func SetInspectedNode(params *SetInspectedNodeParams, conn *hc.Conn) (err error)

func SetInstrumentationBreakpoint

func SetInstrumentationBreakpoint(params *SetInstrumentationBreakpointParams, conn *hc.Conn) (err error)

func SetMonitoringXHREnabled

func SetMonitoringXHREnabled(params *SetMonitoringXHREnabledParams, conn *hc.Conn) (err error)

func SetNodeValue

func SetNodeValue(params *SetNodeValueParams, conn *hc.Conn) (err error)

func SetOuterHTML

func SetOuterHTML(params *SetOuterHTMLParams, conn *hc.Conn) (err error)

func SetPageScaleFactor

func SetPageScaleFactor(params *SetPageScaleFactorParams, conn *hc.Conn) (err error)

func SetPauseOnExceptions

func SetPauseOnExceptions(params *SetPauseOnExceptionsParams, conn *hc.Conn) (err error)

func SetPaused

func SetPaused(params *SetPausedParams, conn *hc.Conn) (err error)

func SetPlaybackRate

func SetPlaybackRate(params *SetPlaybackRateParams, conn *hc.Conn) (err error)

func SetPressureNotificationsSuppressed

func SetPressureNotificationsSuppressed(params *SetPressureNotificationsSuppressedParams, conn *hc.Conn) (err error)

func SetRemoteLocations

func SetRemoteLocations(params *SetRemoteLocationsParams, conn *hc.Conn) (err error)

func SetSamplingInterval

func SetSamplingInterval(params *SetSamplingIntervalParams, conn *hc.Conn) (err error)

func SetScriptExecutionDisabled

func SetScriptExecutionDisabled(params *SetScriptExecutionDisabledParams, conn *hc.Conn) (err error)

func SetShowDebugBorders

func SetShowDebugBorders(params *SetShowDebugBordersParams, conn *hc.Conn) (err error)

func SetShowFPSCounter

func SetShowFPSCounter(params *SetShowFPSCounterParams, conn *hc.Conn) (err error)

func SetShowPaintRects

func SetShowPaintRects(params *SetShowPaintRectsParams, conn *hc.Conn) (err error)

func SetShowScrollBottleneckRects

func SetShowScrollBottleneckRects(params *SetShowScrollBottleneckRectsParams, conn *hc.Conn) (err error)

func SetShowViewportSizeOnResize

func SetShowViewportSizeOnResize(params *SetShowViewportSizeOnResizeParams, conn *hc.Conn) (err error)

func SetSkipAllPauses

func SetSkipAllPauses(params *SetSkipAllPausesParams, conn *hc.Conn) (err error)

func SetTiming

func SetTiming(params *SetTimingParams, conn *hc.Conn) (err error)

func SetUserAgentOverride

func SetUserAgentOverride(params *SetUserAgentOverrideParams, conn *hc.Conn) (err error)

func SetVariableValue

func SetVariableValue(params *SetVariableValueParams, conn *hc.Conn) (err error)

func SetVirtualTimePolicy

func SetVirtualTimePolicy(params *SetVirtualTimePolicyParams, conn *hc.Conn) (err error)

func SetVisibleSize

func SetVisibleSize(params *SetVisibleSizeParams, conn *hc.Conn) (err error)

func SetXHRBreakpoint

func SetXHRBreakpoint(params *SetXHRBreakpointParams, conn *hc.Conn) (err error)

func ShowCertificateViewer

func ShowCertificateViewer(conn *hc.Conn) (err error)

func SimulatePressureNotification

func SimulatePressureNotification(params *SimulatePressureNotificationParams, conn *hc.Conn) (err error)

func SkipWaiting

func SkipWaiting(params *SkipWaitingParams, conn *hc.Conn) (err error)

func StartRuleUsageTracking

func StartRuleUsageTracking(conn *hc.Conn) (err error)

func StartSampling

func StartSampling(params *StartSamplingParams, conn *hc.Conn) (err error)

func StartScreencast

func StartScreencast(params *StartScreencastParams, conn *hc.Conn) (err error)

func StartTrackingHeapObjects

func StartTrackingHeapObjects(params *StartTrackingHeapObjectsParams, conn *hc.Conn) (err error)

func StartViolationsReport

func StartViolationsReport(params *StartViolationsReportParams, conn *hc.Conn) (err error)

func StartWorker

func StartWorker(params *StartWorkerParams, conn *hc.Conn) (err error)

func StepInto

func StepInto(conn *hc.Conn) (err error)

func StepOut

func StepOut(conn *hc.Conn) (err error)

func StepOver

func StepOver(conn *hc.Conn) (err error)

func StopLoading

func StopLoading(conn *hc.Conn) (err error)

func StopScreencast

func StopScreencast(conn *hc.Conn) (err error)

func StopTrackingHeapObjects

func StopTrackingHeapObjects(params *StopTrackingHeapObjectsParams, conn *hc.Conn) (err error)

func StopViolationsReport

func StopViolationsReport(conn *hc.Conn) (err error)

func StopWorker

func StopWorker(params *StopWorkerParams, conn *hc.Conn) (err error)

func SynthesizePinchGesture

func SynthesizePinchGesture(params *SynthesizePinchGestureParams, conn *hc.Conn) (err error)

func SynthesizeScrollGesture

func SynthesizeScrollGesture(params *SynthesizeScrollGestureParams, conn *hc.Conn) (err error)

func SynthesizeTapGesture

func SynthesizeTapGesture(params *SynthesizeTapGestureParams, conn *hc.Conn) (err error)

func TakeHeapSnapshot

func TakeHeapSnapshot(params *TakeHeapSnapshotParams, conn *hc.Conn) (err error)

func TracingStart

func TracingStart(params *TracingStartParams, conn *hc.Conn) (err error)

func Unbind

func Unbind(params *UnbindParams, conn *hc.Conn) (err error)

func Undo

func Undo(conn *hc.Conn) (err error)

func Unregister

func Unregister(params *UnregisterParams, conn *hc.Conn) (err error)

func UpdateRegistration

func UpdateRegistration(params *UpdateRegistrationParams, conn *hc.Conn) (err error)

Types

type AXGlobalStates

type AXGlobalStates string

States which apply to every AX node.

const AXGlobalStatesDisabled AXGlobalStates = "disabled"
const AXGlobalStatesHidden AXGlobalStates = "hidden"
const AXGlobalStatesHiddenRoot AXGlobalStates = "hiddenRoot"
const AXGlobalStatesInvalid AXGlobalStates = "invalid"

type AXLiveRegionAttributes

type AXLiveRegionAttributes string

Attributes which apply to nodes in live regions.

const AXLiveRegionAttributesAtomic AXLiveRegionAttributes = "atomic"
const AXLiveRegionAttributesBusy AXLiveRegionAttributes = "busy"
const AXLiveRegionAttributesLive AXLiveRegionAttributes = "live"
const AXLiveRegionAttributesRelevant AXLiveRegionAttributes = "relevant"
const AXLiveRegionAttributesRoot AXLiveRegionAttributes = "root"

type AXNode

type AXNode struct {
	NodeId           AXNodeId       `json:"nodeId"`                     // Unique identifier for this node.
	Ignored          bool           `json:"ignored"`                    // Whether this node is ignored for accessibility
	IgnoredReasons   []*AXProperty  `json:"ignoredReasons,omitempty"`   // Collection of reasons why this node is hidden.
	Role             *AXValue       `json:"role,omitempty"`             // This Node's role, whether explicit or implicit.
	Name             *AXValue       `json:"name,omitempty"`             // The accessible name for this Node.
	Description      *AXValue       `json:"description,omitempty"`      // The accessible description for this Node.
	Value            *AXValue       `json:"value,omitempty"`            // The value for this Node.
	Properties       []*AXProperty  `json:"properties,omitempty"`       // All other properties
	ChildIds         []AXNodeId     `json:"childIds,omitempty"`         // IDs for each of this node's child nodes.
	BackendDOMNodeId *BackendNodeId `json:"backendDOMNodeId,omitempty"` // The backend ID for the associated DOM node, if any.
}

A node in the accessibility tree.

type AXNodeId

type AXNodeId string

Unique accessibility node identifier.

type AXProperty

type AXProperty struct {
	Name  string   `json:"name"`  // The name of this property.
	Value *AXValue `json:"value"` // The value of this property.
}

type AXRelatedNode

type AXRelatedNode struct {
	BackendDOMNodeId *BackendNodeId `json:"backendDOMNodeId"` // The BackendNodeId of the related DOM node.
	Idref            string         `json:"idref,omitempty"`  // The IDRef value provided, if any.
	Text             string         `json:"text,omitempty"`   // The text alternative of this node in the current context.
}

type AXRelationshipAttributes

type AXRelationshipAttributes string

Relationships between elements other than parent/child/sibling.

const AXRelationshipAttributesActivedescendant AXRelationshipAttributes = "activedescendant"
const AXRelationshipAttributesControls AXRelationshipAttributes = "controls"
const AXRelationshipAttributesDescribedby AXRelationshipAttributes = "describedby"
const AXRelationshipAttributesFlowto AXRelationshipAttributes = "flowto"
const AXRelationshipAttributesLabelledby AXRelationshipAttributes = "labelledby"
const AXRelationshipAttributesOwns AXRelationshipAttributes = "owns"

type AXValue

type AXValue struct {
	Type         AXValueType      `json:"type"`                   // The type of this value.
	Value        json.RawMessage  `json:"value,omitempty"`        // The computed value of this property.
	RelatedNodes []*AXRelatedNode `json:"relatedNodes,omitempty"` // One or more related nodes, if applicable.
	Sources      []*AXValueSource `json:"sources,omitempty"`      // The sources which contributed to the computation of this property.
}

A single computed AX property.

type AXValueNativeSourceType

type AXValueNativeSourceType string

Enum of possible native property sources (as a subtype of a particular AXValueSourceType).

const AXValueNativeSourceTypeFigcaption AXValueNativeSourceType = "figcaption"
const AXValueNativeSourceTypeLabel AXValueNativeSourceType = "label"
const AXValueNativeSourceTypeLabelfor AXValueNativeSourceType = "labelfor"
const AXValueNativeSourceTypeLabelwrapped AXValueNativeSourceType = "labelwrapped"
const AXValueNativeSourceTypeLegend AXValueNativeSourceType = "legend"
const AXValueNativeSourceTypeOther AXValueNativeSourceType = "other"
const AXValueNativeSourceTypeTablecaption AXValueNativeSourceType = "tablecaption"
const AXValueNativeSourceTypeTitle AXValueNativeSourceType = "title"

type AXValueSource

type AXValueSource struct {
	Type              AXValueSourceType       `json:"type"`                        // What type of source this is.
	Value             *AXValue                `json:"value,omitempty"`             // The value of this property source.
	Attribute         string                  `json:"attribute,omitempty"`         // The name of the relevant attribute, if any.
	AttributeValue    *AXValue                `json:"attributeValue,omitempty"`    // The value of the relevant attribute, if any.
	Superseded        bool                    `json:"superseded,omitempty"`        // Whether this source is superseded by a higher priority source.
	NativeSource      AXValueNativeSourceType `json:"nativeSource,omitempty"`      // The native markup source for this value, e.g. a <label> element.
	NativeSourceValue *AXValue                `json:"nativeSourceValue,omitempty"` // The value, such as a node or node list, of the native source.
	Invalid           bool                    `json:"invalid,omitempty"`           // Whether the value for this property is invalid.
	InvalidReason     string                  `json:"invalidReason,omitempty"`     // Reason for the value being invalid, if it is.
}

A single source for a computed AX property.

type AXValueSourceType

type AXValueSourceType string

Enum of possible property sources.

const AXValueSourceTypeAttribute AXValueSourceType = "attribute"
const AXValueSourceTypeContents AXValueSourceType = "contents"
const AXValueSourceTypeImplicit AXValueSourceType = "implicit"
const AXValueSourceTypePlaceholder AXValueSourceType = "placeholder"
const AXValueSourceTypeRelatedElement AXValueSourceType = "relatedElement"
const AXValueSourceTypeStyle AXValueSourceType = "style"

type AXValueType

type AXValueType string

Enum of possible property types.

const AXValueTypeBoolean AXValueType = "boolean"
const AXValueTypeBooleanOrUndefined AXValueType = "booleanOrUndefined"
const AXValueTypeComputedString AXValueType = "computedString"
const AXValueTypeDomRelation AXValueType = "domRelation"
const AXValueTypeIdref AXValueType = "idref"
const AXValueTypeIdrefList AXValueType = "idrefList"
const AXValueTypeInteger AXValueType = "integer"
const AXValueTypeInternalRole AXValueType = "internalRole"
const AXValueTypeNode AXValueType = "node"
const AXValueTypeNodeList AXValueType = "nodeList"
const AXValueTypeNumber AXValueType = "number"
const AXValueTypeRole AXValueType = "role"
const AXValueTypeString AXValueType = "string"
const AXValueTypeToken AXValueType = "token"
const AXValueTypeTokenList AXValueType = "tokenList"
const AXValueTypeTristate AXValueType = "tristate"
const AXValueTypeValueUndefined AXValueType = "valueUndefined"

type AXWidgetAttributes

type AXWidgetAttributes string

Attributes which apply to widgets.

const AXWidgetAttributesAutocomplete AXWidgetAttributes = "autocomplete"
const AXWidgetAttributesHaspopup AXWidgetAttributes = "haspopup"
const AXWidgetAttributesLevel AXWidgetAttributes = "level"
const AXWidgetAttributesMultiline AXWidgetAttributes = "multiline"
const AXWidgetAttributesMultiselectable AXWidgetAttributes = "multiselectable"
const AXWidgetAttributesOrientation AXWidgetAttributes = "orientation"
const AXWidgetAttributesReadonly AXWidgetAttributes = "readonly"
const AXWidgetAttributesRequired AXWidgetAttributes = "required"
const AXWidgetAttributesValuemax AXWidgetAttributes = "valuemax"
const AXWidgetAttributesValuemin AXWidgetAttributes = "valuemin"
const AXWidgetAttributesValuetext AXWidgetAttributes = "valuetext"

type AXWidgetStates

type AXWidgetStates string

States which apply to widgets.

const AXWidgetStatesChecked AXWidgetStates = "checked"
const AXWidgetStatesExpanded AXWidgetStates = "expanded"
const AXWidgetStatesPressed AXWidgetStates = "pressed"
const AXWidgetStatesSelected AXWidgetStates = "selected"

type AcceptedEvent

type AcceptedEvent struct {
	Port         int    `json:"port"`         // Port number that was successfully bound.
	ConnectionId string `json:"connectionId"` // Connection id to be used.
}

type ActivateTargetCB

type ActivateTargetCB func(err error)

type ActivateTargetCommand

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

func NewActivateTargetCommand

func NewActivateTargetCommand(params *ActivateTargetParams) *ActivateTargetCommand

func (*ActivateTargetCommand) Done

func (cmd *ActivateTargetCommand) Done(data []byte, err error)

func (*ActivateTargetCommand) Name

func (cmd *ActivateTargetCommand) Name() string

func (*ActivateTargetCommand) Params

func (cmd *ActivateTargetCommand) Params() interface{}

func (*ActivateTargetCommand) Run

func (cmd *ActivateTargetCommand) Run(conn *hc.Conn) error

type ActivateTargetParams

type ActivateTargetParams struct {
	TargetId TargetID `json:"targetId"`
}

type AddBlockedURLCB

type AddBlockedURLCB func(err error)

type AddBlockedURLCommand

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

Blocks specific URL from loading. @experimental

func NewAddBlockedURLCommand

func NewAddBlockedURLCommand(params *AddBlockedURLParams) *AddBlockedURLCommand

func (*AddBlockedURLCommand) Done

func (cmd *AddBlockedURLCommand) Done(data []byte, err error)

func (*AddBlockedURLCommand) Name

func (cmd *AddBlockedURLCommand) Name() string

func (*AddBlockedURLCommand) Params

func (cmd *AddBlockedURLCommand) Params() interface{}

func (*AddBlockedURLCommand) Run

func (cmd *AddBlockedURLCommand) Run(conn *hc.Conn) error

type AddBlockedURLParams

type AddBlockedURLParams struct {
	Url string `json:"url"` // URL to block.
}

type AddDatabaseEvent

type AddDatabaseEvent struct {
	Database *Database `json:"database"`
}

type AddHeapSnapshotChunkEvent

type AddHeapSnapshotChunkEvent struct {
	Chunk string `json:"chunk"`
}

type AddInspectedHeapObjectCB

type AddInspectedHeapObjectCB func(err error)

type AddInspectedHeapObjectCommand

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

func (*AddInspectedHeapObjectCommand) Done

func (cmd *AddInspectedHeapObjectCommand) Done(data []byte, err error)

func (*AddInspectedHeapObjectCommand) Name

func (*AddInspectedHeapObjectCommand) Params

func (cmd *AddInspectedHeapObjectCommand) Params() interface{}

func (*AddInspectedHeapObjectCommand) Run

func (cmd *AddInspectedHeapObjectCommand) Run(conn *hc.Conn) error

type AddInspectedHeapObjectParams

type AddInspectedHeapObjectParams struct {
	HeapObjectId HeapSnapshotObjectId `json:"heapObjectId"` // Heap snapshot object id to be accessible by means of $x command line API.
}

type AddRuleCB

type AddRuleCB func(result *AddRuleResult, err error)

type AddRuleCommand

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

func NewAddRuleCommand

func NewAddRuleCommand(params *AddRuleParams) *AddRuleCommand

func (*AddRuleCommand) Done

func (cmd *AddRuleCommand) Done(data []byte, err error)

func (*AddRuleCommand) Name

func (cmd *AddRuleCommand) Name() string

func (*AddRuleCommand) Params

func (cmd *AddRuleCommand) Params() interface{}

func (*AddRuleCommand) Result

func (cmd *AddRuleCommand) Result() *AddRuleResult

func (*AddRuleCommand) Run

func (cmd *AddRuleCommand) Run(conn *hc.Conn) error

type AddRuleParams

type AddRuleParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"` // The css style sheet identifier where a new rule should be inserted.
	RuleText     string       `json:"ruleText"`     // The text of a new rule.
	Location     *SourceRange `json:"location"`     // Text position of a new rule in the target style sheet.
}

type AddRuleResult

type AddRuleResult struct {
	Rule *CSSRule `json:"rule"` // The newly created rule.
}

func AddRule

func AddRule(params *AddRuleParams, conn *hc.Conn) (result *AddRuleResult, err error)

type AddScriptToEvaluateOnLoadCB

type AddScriptToEvaluateOnLoadCB func(result *AddScriptToEvaluateOnLoadResult, err error)

type AddScriptToEvaluateOnLoadCommand

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

@experimental

func (*AddScriptToEvaluateOnLoadCommand) Done

func (cmd *AddScriptToEvaluateOnLoadCommand) Done(data []byte, err error)

func (*AddScriptToEvaluateOnLoadCommand) Name

func (*AddScriptToEvaluateOnLoadCommand) Params

func (cmd *AddScriptToEvaluateOnLoadCommand) Params() interface{}

func (*AddScriptToEvaluateOnLoadCommand) Result

func (*AddScriptToEvaluateOnLoadCommand) Run

type AddScriptToEvaluateOnLoadParams

type AddScriptToEvaluateOnLoadParams struct {
	ScriptSource string `json:"scriptSource"`
}

type AddScriptToEvaluateOnLoadResult

type AddScriptToEvaluateOnLoadResult struct {
	Identifier ScriptIdentifier `json:"identifier"` // Identifier of the added script.
}

func AddScriptToEvaluateOnLoad

func AddScriptToEvaluateOnLoad(params *AddScriptToEvaluateOnLoadParams, conn *hc.Conn) (result *AddScriptToEvaluateOnLoadResult, err error)

type Animation

type Animation struct {
	Id           string           `json:"id"`              // Animation's id.
	Name         string           `json:"name"`            // Animation's name.
	PausedState  bool             `json:"pausedState"`     // Animation's internal paused state.
	PlayState    string           `json:"playState"`       // Animation's play state.
	PlaybackRate float64          `json:"playbackRate"`    // Animation's playback rate.
	StartTime    float64          `json:"startTime"`       // Animation's start time.
	CurrentTime  float64          `json:"currentTime"`     // Animation's current time.
	Source       *AnimationEffect `json:"source"`          // Animation's source animation node.
	Type         string           `json:"type"`            // Animation type of Animation.
	CssId        string           `json:"cssId,omitempty"` // A unique ID for Animation representing the sources that triggered this CSS animation/transition.
}

Animation instance. @experimental

type AnimationCanceledEvent

type AnimationCanceledEvent struct {
	Id string `json:"id"` // Id of the animation that was cancelled.
}

type AnimationCreatedEvent

type AnimationCreatedEvent struct {
	Id string `json:"id"` // Id of the animation that was created.
}

type AnimationDisableCB

type AnimationDisableCB func(err error)

type AnimationDisableCommand

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

func NewAnimationDisableCommand

func NewAnimationDisableCommand() *AnimationDisableCommand

func (*AnimationDisableCommand) Done

func (cmd *AnimationDisableCommand) Done(data []byte, err error)

func (*AnimationDisableCommand) Name

func (cmd *AnimationDisableCommand) Name() string

func (*AnimationDisableCommand) Params

func (cmd *AnimationDisableCommand) Params() interface{}

func (*AnimationDisableCommand) Run

func (cmd *AnimationDisableCommand) Run(conn *hc.Conn) error

type AnimationEffect

type AnimationEffect struct {
	Delay          float64        `json:"delay"`                   // AnimationEffect's delay.
	EndDelay       float64        `json:"endDelay"`                // AnimationEffect's end delay.
	IterationStart float64        `json:"iterationStart"`          // AnimationEffect's iteration start.
	Iterations     float64        `json:"iterations"`              // AnimationEffect's iterations.
	Duration       float64        `json:"duration"`                // AnimationEffect's iteration duration.
	Direction      string         `json:"direction"`               // AnimationEffect's playback direction.
	Fill           string         `json:"fill"`                    // AnimationEffect's fill mode.
	BackendNodeId  *BackendNodeId `json:"backendNodeId"`           // AnimationEffect's target node.
	KeyframesRule  *KeyframesRule `json:"keyframesRule,omitempty"` // AnimationEffect's keyframes.
	Easing         string         `json:"easing"`                  // AnimationEffect's timing function.
}

AnimationEffect instance @experimental

type AnimationEnableCB

type AnimationEnableCB func(err error)

type AnimationEnableCommand

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

func NewAnimationEnableCommand

func NewAnimationEnableCommand() *AnimationEnableCommand

func (*AnimationEnableCommand) Done

func (cmd *AnimationEnableCommand) Done(data []byte, err error)

func (*AnimationEnableCommand) Name

func (cmd *AnimationEnableCommand) Name() string

func (*AnimationEnableCommand) Params

func (cmd *AnimationEnableCommand) Params() interface{}

func (*AnimationEnableCommand) Run

func (cmd *AnimationEnableCommand) Run(conn *hc.Conn) error

type AnimationStartedEvent

type AnimationStartedEvent struct {
	Animation *Animation `json:"animation"` // Animation that was started.
}

type AppManifestError

type AppManifestError struct {
	Message  string `json:"message"`  // Error message.
	Critical int    `json:"critical"` // If criticial, this is a non-recoverable parse error.
	Line     int    `json:"line"`     // Error line.
	Column   int    `json:"column"`   // Error column.
}

Error while paring app manifest. @experimental

type ApplicationCache

type ApplicationCache struct {
	ManifestURL  string                      `json:"manifestURL"`  // Manifest URL.
	Size         float64                     `json:"size"`         // Application cache size.
	CreationTime float64                     `json:"creationTime"` // Application cache creation time.
	UpdateTime   float64                     `json:"updateTime"`   // Application cache update time.
	Resources    []*ApplicationCacheResource `json:"resources"`    // Application cache resources.
}

Detailed application cache information.

type ApplicationCacheEnableCB

type ApplicationCacheEnableCB func(err error)

type ApplicationCacheEnableCommand

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

func NewApplicationCacheEnableCommand

func NewApplicationCacheEnableCommand() *ApplicationCacheEnableCommand

func (*ApplicationCacheEnableCommand) Done

func (cmd *ApplicationCacheEnableCommand) Done(data []byte, err error)

func (*ApplicationCacheEnableCommand) Name

func (*ApplicationCacheEnableCommand) Params

func (cmd *ApplicationCacheEnableCommand) Params() interface{}

func (*ApplicationCacheEnableCommand) Run

func (cmd *ApplicationCacheEnableCommand) Run(conn *hc.Conn) error

type ApplicationCacheResource

type ApplicationCacheResource struct {
	Url  string `json:"url"`  // Resource url.
	Size int    `json:"size"` // Resource size.
	Type string `json:"type"` // Resource type.
}

Detailed application cache resource information.

type ApplicationCacheStatusUpdatedEvent

type ApplicationCacheStatusUpdatedEvent struct {
	FrameId     *FrameId `json:"frameId"`     // Identifier of the frame containing document whose application cache updated status.
	ManifestURL string   `json:"manifestURL"` // Manifest URL.
	Status      int      `json:"status"`      // Updated application cache status.
}

type AsyncActivateTargetCommand

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

func (*AsyncActivateTargetCommand) Done

func (cmd *AsyncActivateTargetCommand) Done(data []byte, err error)

func (*AsyncActivateTargetCommand) Name

func (cmd *AsyncActivateTargetCommand) Name() string

func (*AsyncActivateTargetCommand) Params

func (cmd *AsyncActivateTargetCommand) Params() interface{}

type AsyncAddBlockedURLCommand

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

Blocks specific URL from loading. @experimental

func (*AsyncAddBlockedURLCommand) Done

func (cmd *AsyncAddBlockedURLCommand) Done(data []byte, err error)

func (*AsyncAddBlockedURLCommand) Name

func (cmd *AsyncAddBlockedURLCommand) Name() string

func (*AsyncAddBlockedURLCommand) Params

func (cmd *AsyncAddBlockedURLCommand) Params() interface{}

type AsyncAddInspectedHeapObjectCommand

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

func (*AsyncAddInspectedHeapObjectCommand) Done

func (cmd *AsyncAddInspectedHeapObjectCommand) Done(data []byte, err error)

func (*AsyncAddInspectedHeapObjectCommand) Name

func (*AsyncAddInspectedHeapObjectCommand) Params

func (cmd *AsyncAddInspectedHeapObjectCommand) Params() interface{}

type AsyncAddRuleCommand

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

func NewAsyncAddRuleCommand

func NewAsyncAddRuleCommand(params *AddRuleParams, cb AddRuleCB) *AsyncAddRuleCommand

func (*AsyncAddRuleCommand) Done

func (cmd *AsyncAddRuleCommand) Done(data []byte, err error)

func (*AsyncAddRuleCommand) Name

func (cmd *AsyncAddRuleCommand) Name() string

func (*AsyncAddRuleCommand) Params

func (cmd *AsyncAddRuleCommand) Params() interface{}

type AsyncAddScriptToEvaluateOnLoadCommand

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

@experimental

func (*AsyncAddScriptToEvaluateOnLoadCommand) Done

func (cmd *AsyncAddScriptToEvaluateOnLoadCommand) Done(data []byte, err error)

func (*AsyncAddScriptToEvaluateOnLoadCommand) Name

func (*AsyncAddScriptToEvaluateOnLoadCommand) Params

func (cmd *AsyncAddScriptToEvaluateOnLoadCommand) Params() interface{}

type AsyncAnimationDisableCommand

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

func (*AsyncAnimationDisableCommand) Done

func (cmd *AsyncAnimationDisableCommand) Done(data []byte, err error)

func (*AsyncAnimationDisableCommand) Name

func (*AsyncAnimationDisableCommand) Params

func (cmd *AsyncAnimationDisableCommand) Params() interface{}

type AsyncAnimationEnableCommand

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

func NewAsyncAnimationEnableCommand

func NewAsyncAnimationEnableCommand(cb AnimationEnableCB) *AsyncAnimationEnableCommand

func (*AsyncAnimationEnableCommand) Done

func (cmd *AsyncAnimationEnableCommand) Done(data []byte, err error)

func (*AsyncAnimationEnableCommand) Name

func (cmd *AsyncAnimationEnableCommand) Name() string

func (*AsyncAnimationEnableCommand) Params

func (cmd *AsyncAnimationEnableCommand) Params() interface{}

type AsyncApplicationCacheEnableCommand

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

func (*AsyncApplicationCacheEnableCommand) Done

func (cmd *AsyncApplicationCacheEnableCommand) Done(data []byte, err error)

func (*AsyncApplicationCacheEnableCommand) Name

func (*AsyncApplicationCacheEnableCommand) Params

func (cmd *AsyncApplicationCacheEnableCommand) Params() interface{}

type AsyncAttachToTargetCommand

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

func (*AsyncAttachToTargetCommand) Done

func (cmd *AsyncAttachToTargetCommand) Done(data []byte, err error)

func (*AsyncAttachToTargetCommand) Name

func (cmd *AsyncAttachToTargetCommand) Name() string

func (*AsyncAttachToTargetCommand) Params

func (cmd *AsyncAttachToTargetCommand) Params() interface{}

type AsyncAwaitPromiseCommand

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

func NewAsyncAwaitPromiseCommand

func NewAsyncAwaitPromiseCommand(params *AwaitPromiseParams, cb AwaitPromiseCB) *AsyncAwaitPromiseCommand

func (*AsyncAwaitPromiseCommand) Done

func (cmd *AsyncAwaitPromiseCommand) Done(data []byte, err error)

func (*AsyncAwaitPromiseCommand) Name

func (cmd *AsyncAwaitPromiseCommand) Name() string

func (*AsyncAwaitPromiseCommand) Params

func (cmd *AsyncAwaitPromiseCommand) Params() interface{}

type AsyncBindCommand

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

func NewAsyncBindCommand

func NewAsyncBindCommand(params *BindParams, cb BindCB) *AsyncBindCommand

func (*AsyncBindCommand) Done

func (cmd *AsyncBindCommand) Done(data []byte, err error)

func (*AsyncBindCommand) Name

func (cmd *AsyncBindCommand) Name() string

func (*AsyncBindCommand) Params

func (cmd *AsyncBindCommand) Params() interface{}

type AsyncCSSDisableCommand

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

func NewAsyncCSSDisableCommand

func NewAsyncCSSDisableCommand(cb CSSDisableCB) *AsyncCSSDisableCommand

func (*AsyncCSSDisableCommand) Done

func (cmd *AsyncCSSDisableCommand) Done(data []byte, err error)

func (*AsyncCSSDisableCommand) Name

func (cmd *AsyncCSSDisableCommand) Name() string

func (*AsyncCSSDisableCommand) Params

func (cmd *AsyncCSSDisableCommand) Params() interface{}

type AsyncCSSEnableCommand

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

func NewAsyncCSSEnableCommand

func NewAsyncCSSEnableCommand(cb CSSEnableCB) *AsyncCSSEnableCommand

func (*AsyncCSSEnableCommand) Done

func (cmd *AsyncCSSEnableCommand) Done(data []byte, err error)

func (*AsyncCSSEnableCommand) Name

func (cmd *AsyncCSSEnableCommand) Name() string

func (*AsyncCSSEnableCommand) Params

func (cmd *AsyncCSSEnableCommand) Params() interface{}

type AsyncCallFunctionOnCommand

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

func (*AsyncCallFunctionOnCommand) Done

func (cmd *AsyncCallFunctionOnCommand) Done(data []byte, err error)

func (*AsyncCallFunctionOnCommand) Name

func (cmd *AsyncCallFunctionOnCommand) Name() string

func (*AsyncCallFunctionOnCommand) Params

func (cmd *AsyncCallFunctionOnCommand) Params() interface{}

type AsyncCanClearBrowserCacheCommand

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

func (*AsyncCanClearBrowserCacheCommand) Done

func (cmd *AsyncCanClearBrowserCacheCommand) Done(data []byte, err error)

func (*AsyncCanClearBrowserCacheCommand) Name

func (*AsyncCanClearBrowserCacheCommand) Params

func (cmd *AsyncCanClearBrowserCacheCommand) Params() interface{}

type AsyncCanClearBrowserCookiesCommand

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

func (*AsyncCanClearBrowserCookiesCommand) Done

func (cmd *AsyncCanClearBrowserCookiesCommand) Done(data []byte, err error)

func (*AsyncCanClearBrowserCookiesCommand) Name

func (*AsyncCanClearBrowserCookiesCommand) Params

func (cmd *AsyncCanClearBrowserCookiesCommand) Params() interface{}

type AsyncCanEmulateCommand

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

Tells whether emulation is supported. @experimental

func NewAsyncCanEmulateCommand

func NewAsyncCanEmulateCommand(cb CanEmulateCB) *AsyncCanEmulateCommand

func (*AsyncCanEmulateCommand) Done

func (cmd *AsyncCanEmulateCommand) Done(data []byte, err error)

func (*AsyncCanEmulateCommand) Name

func (cmd *AsyncCanEmulateCommand) Name() string

func (*AsyncCanEmulateCommand) Params

func (cmd *AsyncCanEmulateCommand) Params() interface{}

type AsyncCanEmulateNetworkConditionsCommand

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

Tells whether emulation of network conditions is supported. @experimental

func (*AsyncCanEmulateNetworkConditionsCommand) Done

func (cmd *AsyncCanEmulateNetworkConditionsCommand) Done(data []byte, err error)

func (*AsyncCanEmulateNetworkConditionsCommand) Name

func (*AsyncCanEmulateNetworkConditionsCommand) Params

func (cmd *AsyncCanEmulateNetworkConditionsCommand) Params() interface{}

type AsyncCaptureScreenshotCommand

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

Capture page screenshot. @experimental

func (*AsyncCaptureScreenshotCommand) Done

func (cmd *AsyncCaptureScreenshotCommand) Done(data []byte, err error)

func (*AsyncCaptureScreenshotCommand) Name

func (*AsyncCaptureScreenshotCommand) Params

func (cmd *AsyncCaptureScreenshotCommand) Params() interface{}

type AsyncClearBrowserCacheCommand

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

func (*AsyncClearBrowserCacheCommand) Done

func (cmd *AsyncClearBrowserCacheCommand) Done(data []byte, err error)

func (*AsyncClearBrowserCacheCommand) Name

func (*AsyncClearBrowserCacheCommand) Params

func (cmd *AsyncClearBrowserCacheCommand) Params() interface{}

type AsyncClearBrowserCookiesCommand

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

func (*AsyncClearBrowserCookiesCommand) Done

func (cmd *AsyncClearBrowserCookiesCommand) Done(data []byte, err error)

func (*AsyncClearBrowserCookiesCommand) Name

func (*AsyncClearBrowserCookiesCommand) Params

func (cmd *AsyncClearBrowserCookiesCommand) Params() interface{}

type AsyncClearCommand

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

func NewAsyncClearCommand

func NewAsyncClearCommand(cb ClearCB) *AsyncClearCommand

func (*AsyncClearCommand) Done

func (cmd *AsyncClearCommand) Done(data []byte, err error)

func (*AsyncClearCommand) Name

func (cmd *AsyncClearCommand) Name() string

func (*AsyncClearCommand) Params

func (cmd *AsyncClearCommand) Params() interface{}

type AsyncClearDataForOriginCommand

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

func (*AsyncClearDataForOriginCommand) Done

func (cmd *AsyncClearDataForOriginCommand) Done(data []byte, err error)

func (*AsyncClearDataForOriginCommand) Name

func (*AsyncClearDataForOriginCommand) Params

func (cmd *AsyncClearDataForOriginCommand) Params() interface{}

type AsyncClearMessagesCommand

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

func NewAsyncClearMessagesCommand

func NewAsyncClearMessagesCommand(cb ClearMessagesCB) *AsyncClearMessagesCommand

func (*AsyncClearMessagesCommand) Done

func (cmd *AsyncClearMessagesCommand) Done(data []byte, err error)

func (*AsyncClearMessagesCommand) Name

func (cmd *AsyncClearMessagesCommand) Name() string

func (*AsyncClearMessagesCommand) Params

func (cmd *AsyncClearMessagesCommand) Params() interface{}

type AsyncClearObjectStoreCommand

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

func (*AsyncClearObjectStoreCommand) Done

func (cmd *AsyncClearObjectStoreCommand) Done(data []byte, err error)

func (*AsyncClearObjectStoreCommand) Name

func (*AsyncClearObjectStoreCommand) Params

func (cmd *AsyncClearObjectStoreCommand) Params() interface{}

type AsyncCloseCommand

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

func NewAsyncCloseCommand

func NewAsyncCloseCommand(params *CloseParams, cb CloseCB) *AsyncCloseCommand

func (*AsyncCloseCommand) Done

func (cmd *AsyncCloseCommand) Done(data []byte, err error)

func (*AsyncCloseCommand) Name

func (cmd *AsyncCloseCommand) Name() string

func (*AsyncCloseCommand) Params

func (cmd *AsyncCloseCommand) Params() interface{}

type AsyncCloseTargetCommand

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

func NewAsyncCloseTargetCommand

func NewAsyncCloseTargetCommand(params *CloseTargetParams, cb CloseTargetCB) *AsyncCloseTargetCommand

func (*AsyncCloseTargetCommand) Done

func (cmd *AsyncCloseTargetCommand) Done(data []byte, err error)

func (*AsyncCloseTargetCommand) Name

func (cmd *AsyncCloseTargetCommand) Name() string

func (*AsyncCloseTargetCommand) Params

func (cmd *AsyncCloseTargetCommand) Params() interface{}

type AsyncCollectClassNamesCommand

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

Returns all class names from specified stylesheet. @experimental

func (*AsyncCollectClassNamesCommand) Done

func (cmd *AsyncCollectClassNamesCommand) Done(data []byte, err error)

func (*AsyncCollectClassNamesCommand) Name

func (*AsyncCollectClassNamesCommand) Params

func (cmd *AsyncCollectClassNamesCommand) Params() interface{}

type AsyncCollectClassNamesFromSubtreeCommand

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

Collects class names for the node with given id and all of it's child nodes. @experimental

func (*AsyncCollectClassNamesFromSubtreeCommand) Done

func (cmd *AsyncCollectClassNamesFromSubtreeCommand) Done(data []byte, err error)

func (*AsyncCollectClassNamesFromSubtreeCommand) Name

func (*AsyncCollectClassNamesFromSubtreeCommand) Params

func (cmd *AsyncCollectClassNamesFromSubtreeCommand) Params() interface{}

type AsyncCollectGarbageCommand

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

func NewAsyncCollectGarbageCommand

func NewAsyncCollectGarbageCommand(cb CollectGarbageCB) *AsyncCollectGarbageCommand

func (*AsyncCollectGarbageCommand) Done

func (cmd *AsyncCollectGarbageCommand) Done(data []byte, err error)

func (*AsyncCollectGarbageCommand) Name

func (cmd *AsyncCollectGarbageCommand) Name() string

func (*AsyncCollectGarbageCommand) Params

func (cmd *AsyncCollectGarbageCommand) Params() interface{}

type AsyncCompileScriptCommand

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

func (*AsyncCompileScriptCommand) Done

func (cmd *AsyncCompileScriptCommand) Done(data []byte, err error)

func (*AsyncCompileScriptCommand) Name

func (cmd *AsyncCompileScriptCommand) Name() string

func (*AsyncCompileScriptCommand) Params

func (cmd *AsyncCompileScriptCommand) Params() interface{}

type AsyncCompositingReasonsCommand

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

func (*AsyncCompositingReasonsCommand) Done

func (cmd *AsyncCompositingReasonsCommand) Done(data []byte, err error)

func (*AsyncCompositingReasonsCommand) Name

func (*AsyncCompositingReasonsCommand) Params

func (cmd *AsyncCompositingReasonsCommand) Params() interface{}

type AsyncConfigureOverlayCommand

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

Configures overlay. @experimental

func (*AsyncConfigureOverlayCommand) Done

func (cmd *AsyncConfigureOverlayCommand) Done(data []byte, err error)

func (*AsyncConfigureOverlayCommand) Name

func (*AsyncConfigureOverlayCommand) Params

func (cmd *AsyncConfigureOverlayCommand) Params() interface{}

type AsyncConsoleDisableCommand

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

func NewAsyncConsoleDisableCommand

func NewAsyncConsoleDisableCommand(cb ConsoleDisableCB) *AsyncConsoleDisableCommand

func (*AsyncConsoleDisableCommand) Done

func (cmd *AsyncConsoleDisableCommand) Done(data []byte, err error)

func (*AsyncConsoleDisableCommand) Name

func (cmd *AsyncConsoleDisableCommand) Name() string

func (*AsyncConsoleDisableCommand) Params

func (cmd *AsyncConsoleDisableCommand) Params() interface{}

type AsyncConsoleEnableCommand

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

func NewAsyncConsoleEnableCommand

func NewAsyncConsoleEnableCommand(cb ConsoleEnableCB) *AsyncConsoleEnableCommand

func (*AsyncConsoleEnableCommand) Done

func (cmd *AsyncConsoleEnableCommand) Done(data []byte, err error)

func (*AsyncConsoleEnableCommand) Name

func (cmd *AsyncConsoleEnableCommand) Name() string

func (*AsyncConsoleEnableCommand) Params

func (cmd *AsyncConsoleEnableCommand) Params() interface{}

type AsyncContinueToLocationCommand

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

func (*AsyncContinueToLocationCommand) Done

func (cmd *AsyncContinueToLocationCommand) Done(data []byte, err error)

func (*AsyncContinueToLocationCommand) Name

func (*AsyncContinueToLocationCommand) Params

func (cmd *AsyncContinueToLocationCommand) Params() interface{}

type AsyncCopyToCommand

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

Creates a deep copy of the specified node and places it into the target container before the given anchor. @experimental

func NewAsyncCopyToCommand

func NewAsyncCopyToCommand(params *CopyToParams, cb CopyToCB) *AsyncCopyToCommand

func (*AsyncCopyToCommand) Done

func (cmd *AsyncCopyToCommand) Done(data []byte, err error)

func (*AsyncCopyToCommand) Name

func (cmd *AsyncCopyToCommand) Name() string

func (*AsyncCopyToCommand) Params

func (cmd *AsyncCopyToCommand) Params() interface{}

type AsyncCreateBrowserContextCommand

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

func (*AsyncCreateBrowserContextCommand) Done

func (cmd *AsyncCreateBrowserContextCommand) Done(data []byte, err error)

func (*AsyncCreateBrowserContextCommand) Name

func (*AsyncCreateBrowserContextCommand) Params

func (cmd *AsyncCreateBrowserContextCommand) Params() interface{}

type AsyncCreateStyleSheetCommand

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

func (*AsyncCreateStyleSheetCommand) Done

func (cmd *AsyncCreateStyleSheetCommand) Done(data []byte, err error)

func (*AsyncCreateStyleSheetCommand) Name

func (*AsyncCreateStyleSheetCommand) Params

func (cmd *AsyncCreateStyleSheetCommand) Params() interface{}

type AsyncCreateTargetCommand

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

func NewAsyncCreateTargetCommand

func NewAsyncCreateTargetCommand(params *CreateTargetParams, cb CreateTargetCB) *AsyncCreateTargetCommand

func (*AsyncCreateTargetCommand) Done

func (cmd *AsyncCreateTargetCommand) Done(data []byte, err error)

func (*AsyncCreateTargetCommand) Name

func (cmd *AsyncCreateTargetCommand) Name() string

func (*AsyncCreateTargetCommand) Params

func (cmd *AsyncCreateTargetCommand) Params() interface{}

type AsyncDOMDisableCommand

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

func NewAsyncDOMDisableCommand

func NewAsyncDOMDisableCommand(cb DOMDisableCB) *AsyncDOMDisableCommand

func (*AsyncDOMDisableCommand) Done

func (cmd *AsyncDOMDisableCommand) Done(data []byte, err error)

func (*AsyncDOMDisableCommand) Name

func (cmd *AsyncDOMDisableCommand) Name() string

func (*AsyncDOMDisableCommand) Params

func (cmd *AsyncDOMDisableCommand) Params() interface{}

type AsyncDOMEnableCommand

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

func NewAsyncDOMEnableCommand

func NewAsyncDOMEnableCommand(cb DOMEnableCB) *AsyncDOMEnableCommand

func (*AsyncDOMEnableCommand) Done

func (cmd *AsyncDOMEnableCommand) Done(data []byte, err error)

func (*AsyncDOMEnableCommand) Name

func (cmd *AsyncDOMEnableCommand) Name() string

func (*AsyncDOMEnableCommand) Params

func (cmd *AsyncDOMEnableCommand) Params() interface{}

type AsyncDOMStorageDisableCommand

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

func (*AsyncDOMStorageDisableCommand) Done

func (cmd *AsyncDOMStorageDisableCommand) Done(data []byte, err error)

func (*AsyncDOMStorageDisableCommand) Name

func (*AsyncDOMStorageDisableCommand) Params

func (cmd *AsyncDOMStorageDisableCommand) Params() interface{}

type AsyncDOMStorageEnableCommand

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

func (*AsyncDOMStorageEnableCommand) Done

func (cmd *AsyncDOMStorageEnableCommand) Done(data []byte, err error)

func (*AsyncDOMStorageEnableCommand) Name

func (*AsyncDOMStorageEnableCommand) Params

func (cmd *AsyncDOMStorageEnableCommand) Params() interface{}

type AsyncDatabaseDisableCommand

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

func NewAsyncDatabaseDisableCommand

func NewAsyncDatabaseDisableCommand(cb DatabaseDisableCB) *AsyncDatabaseDisableCommand

func (*AsyncDatabaseDisableCommand) Done

func (cmd *AsyncDatabaseDisableCommand) Done(data []byte, err error)

func (*AsyncDatabaseDisableCommand) Name

func (cmd *AsyncDatabaseDisableCommand) Name() string

func (*AsyncDatabaseDisableCommand) Params

func (cmd *AsyncDatabaseDisableCommand) Params() interface{}

type AsyncDatabaseEnableCommand

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

func NewAsyncDatabaseEnableCommand

func NewAsyncDatabaseEnableCommand(cb DatabaseEnableCB) *AsyncDatabaseEnableCommand

func (*AsyncDatabaseEnableCommand) Done

func (cmd *AsyncDatabaseEnableCommand) Done(data []byte, err error)

func (*AsyncDatabaseEnableCommand) Name

func (cmd *AsyncDatabaseEnableCommand) Name() string

func (*AsyncDatabaseEnableCommand) Params

func (cmd *AsyncDatabaseEnableCommand) Params() interface{}

type AsyncDebuggerDisableCommand

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

func NewAsyncDebuggerDisableCommand

func NewAsyncDebuggerDisableCommand(cb DebuggerDisableCB) *AsyncDebuggerDisableCommand

func (*AsyncDebuggerDisableCommand) Done

func (cmd *AsyncDebuggerDisableCommand) Done(data []byte, err error)

func (*AsyncDebuggerDisableCommand) Name

func (cmd *AsyncDebuggerDisableCommand) Name() string

func (*AsyncDebuggerDisableCommand) Params

func (cmd *AsyncDebuggerDisableCommand) Params() interface{}

type AsyncDebuggerEnableCommand

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

func NewAsyncDebuggerEnableCommand

func NewAsyncDebuggerEnableCommand(cb DebuggerEnableCB) *AsyncDebuggerEnableCommand

func (*AsyncDebuggerEnableCommand) Done

func (cmd *AsyncDebuggerEnableCommand) Done(data []byte, err error)

func (*AsyncDebuggerEnableCommand) Name

func (cmd *AsyncDebuggerEnableCommand) Name() string

func (*AsyncDebuggerEnableCommand) Params

func (cmd *AsyncDebuggerEnableCommand) Params() interface{}

type AsyncDeleteCacheCommand

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

func NewAsyncDeleteCacheCommand

func NewAsyncDeleteCacheCommand(params *DeleteCacheParams, cb DeleteCacheCB) *AsyncDeleteCacheCommand

func (*AsyncDeleteCacheCommand) Done

func (cmd *AsyncDeleteCacheCommand) Done(data []byte, err error)

func (*AsyncDeleteCacheCommand) Name

func (cmd *AsyncDeleteCacheCommand) Name() string

func (*AsyncDeleteCacheCommand) Params

func (cmd *AsyncDeleteCacheCommand) Params() interface{}

type AsyncDeleteEntryCommand

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

func NewAsyncDeleteEntryCommand

func NewAsyncDeleteEntryCommand(params *DeleteEntryParams, cb DeleteEntryCB) *AsyncDeleteEntryCommand

func (*AsyncDeleteEntryCommand) Done

func (cmd *AsyncDeleteEntryCommand) Done(data []byte, err error)

func (*AsyncDeleteEntryCommand) Name

func (cmd *AsyncDeleteEntryCommand) Name() string

func (*AsyncDeleteEntryCommand) Params

func (cmd *AsyncDeleteEntryCommand) Params() interface{}

type AsyncDeliverPushMessageCommand

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

func (*AsyncDeliverPushMessageCommand) Done

func (cmd *AsyncDeliverPushMessageCommand) Done(data []byte, err error)

func (*AsyncDeliverPushMessageCommand) Name

func (*AsyncDeliverPushMessageCommand) Params

func (cmd *AsyncDeliverPushMessageCommand) Params() interface{}

type AsyncDetachFromTargetCommand

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

func (*AsyncDetachFromTargetCommand) Done

func (cmd *AsyncDetachFromTargetCommand) Done(data []byte, err error)

func (*AsyncDetachFromTargetCommand) Name

func (*AsyncDetachFromTargetCommand) Params

func (cmd *AsyncDetachFromTargetCommand) Params() interface{}

type AsyncDeviceOrientationClearDeviceOrientationOverrideCommand

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

func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Done

func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Name

func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Params

type AsyncDeviceOrientationSetDeviceOrientationOverrideCommand

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

func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Done

func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Name

func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Params

type AsyncDiscardConsoleEntriesCommand

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

func (*AsyncDiscardConsoleEntriesCommand) Done

func (cmd *AsyncDiscardConsoleEntriesCommand) Done(data []byte, err error)

func (*AsyncDiscardConsoleEntriesCommand) Name

func (*AsyncDiscardConsoleEntriesCommand) Params

func (cmd *AsyncDiscardConsoleEntriesCommand) Params() interface{}

type AsyncDiscardSearchResultsCommand

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

Discards search results from the session with the given id. getSearchResults should no longer be called for that search. @experimental

func (*AsyncDiscardSearchResultsCommand) Done

func (cmd *AsyncDiscardSearchResultsCommand) Done(data []byte, err error)

func (*AsyncDiscardSearchResultsCommand) Name

func (*AsyncDiscardSearchResultsCommand) Params

func (cmd *AsyncDiscardSearchResultsCommand) Params() interface{}

type AsyncDispatchKeyEventCommand

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

func (*AsyncDispatchKeyEventCommand) Done

func (cmd *AsyncDispatchKeyEventCommand) Done(data []byte, err error)

func (*AsyncDispatchKeyEventCommand) Name

func (*AsyncDispatchKeyEventCommand) Params

func (cmd *AsyncDispatchKeyEventCommand) Params() interface{}

type AsyncDispatchMouseEventCommand

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

func (*AsyncDispatchMouseEventCommand) Done

func (cmd *AsyncDispatchMouseEventCommand) Done(data []byte, err error)

func (*AsyncDispatchMouseEventCommand) Name

func (*AsyncDispatchMouseEventCommand) Params

func (cmd *AsyncDispatchMouseEventCommand) Params() interface{}

type AsyncDispatchSyncEventCommand

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

func (*AsyncDispatchSyncEventCommand) Done

func (cmd *AsyncDispatchSyncEventCommand) Done(data []byte, err error)

func (*AsyncDispatchSyncEventCommand) Name

func (*AsyncDispatchSyncEventCommand) Params

func (cmd *AsyncDispatchSyncEventCommand) Params() interface{}

type AsyncDispatchTouchEventCommand

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

Dispatches a touch event to the page. @experimental

func (*AsyncDispatchTouchEventCommand) Done

func (cmd *AsyncDispatchTouchEventCommand) Done(data []byte, err error)

func (*AsyncDispatchTouchEventCommand) Name

func (*AsyncDispatchTouchEventCommand) Params

func (cmd *AsyncDispatchTouchEventCommand) Params() interface{}

type AsyncDisposeBrowserContextCommand

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

func (*AsyncDisposeBrowserContextCommand) Done

func (cmd *AsyncDisposeBrowserContextCommand) Done(data []byte, err error)

func (*AsyncDisposeBrowserContextCommand) Name

func (*AsyncDisposeBrowserContextCommand) Params

func (cmd *AsyncDisposeBrowserContextCommand) Params() interface{}

type AsyncEmulateNetworkConditionsCommand

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

func (*AsyncEmulateNetworkConditionsCommand) Done

func (cmd *AsyncEmulateNetworkConditionsCommand) Done(data []byte, err error)

func (*AsyncEmulateNetworkConditionsCommand) Name

func (*AsyncEmulateNetworkConditionsCommand) Params

func (cmd *AsyncEmulateNetworkConditionsCommand) Params() interface{}

type AsyncEmulateTouchFromMouseEventCommand

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

Emulates touch event from the mouse event parameters. @experimental

func (*AsyncEmulateTouchFromMouseEventCommand) Done

func (cmd *AsyncEmulateTouchFromMouseEventCommand) Done(data []byte, err error)

func (*AsyncEmulateTouchFromMouseEventCommand) Name

func (*AsyncEmulateTouchFromMouseEventCommand) Params

func (cmd *AsyncEmulateTouchFromMouseEventCommand) Params() interface{}

type AsyncEmulationClearDeviceMetricsOverrideCommand

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

func (*AsyncEmulationClearDeviceMetricsOverrideCommand) Done

func (*AsyncEmulationClearDeviceMetricsOverrideCommand) Name

func (*AsyncEmulationClearDeviceMetricsOverrideCommand) Params

func (cmd *AsyncEmulationClearDeviceMetricsOverrideCommand) Params() interface{}

type AsyncEmulationClearGeolocationOverrideCommand

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

Clears the overriden Geolocation Position and Error. @experimental

func (*AsyncEmulationClearGeolocationOverrideCommand) Done

func (*AsyncEmulationClearGeolocationOverrideCommand) Name

func (*AsyncEmulationClearGeolocationOverrideCommand) Params

func (cmd *AsyncEmulationClearGeolocationOverrideCommand) Params() interface{}

type AsyncEmulationSetDeviceMetricsOverrideCommand

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

func (*AsyncEmulationSetDeviceMetricsOverrideCommand) Done

func (*AsyncEmulationSetDeviceMetricsOverrideCommand) Name

func (*AsyncEmulationSetDeviceMetricsOverrideCommand) Params

func (cmd *AsyncEmulationSetDeviceMetricsOverrideCommand) Params() interface{}

type AsyncEmulationSetGeolocationOverrideCommand

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

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. @experimental

func (*AsyncEmulationSetGeolocationOverrideCommand) Done

func (*AsyncEmulationSetGeolocationOverrideCommand) Name

func (*AsyncEmulationSetGeolocationOverrideCommand) Params

func (cmd *AsyncEmulationSetGeolocationOverrideCommand) Params() interface{}

type AsyncEmulationSetTouchEmulationEnabledCommand

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

func (*AsyncEmulationSetTouchEmulationEnabledCommand) Done

func (*AsyncEmulationSetTouchEmulationEnabledCommand) Name

func (*AsyncEmulationSetTouchEmulationEnabledCommand) Params

func (cmd *AsyncEmulationSetTouchEmulationEnabledCommand) Params() interface{}

type AsyncEndCommand

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

func NewAsyncEndCommand

func NewAsyncEndCommand(cb EndCB) *AsyncEndCommand

func (*AsyncEndCommand) Done

func (cmd *AsyncEndCommand) Done(data []byte, err error)

func (*AsyncEndCommand) Name

func (cmd *AsyncEndCommand) Name() string

func (*AsyncEndCommand) Params

func (cmd *AsyncEndCommand) Params() interface{}

type AsyncEvaluateCommand

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

func NewAsyncEvaluateCommand

func NewAsyncEvaluateCommand(params *EvaluateParams, cb EvaluateCB) *AsyncEvaluateCommand

func (*AsyncEvaluateCommand) Done

func (cmd *AsyncEvaluateCommand) Done(data []byte, err error)

func (*AsyncEvaluateCommand) Name

func (cmd *AsyncEvaluateCommand) Name() string

func (*AsyncEvaluateCommand) Params

func (cmd *AsyncEvaluateCommand) Params() interface{}

type AsyncEvaluateOnCallFrameCommand

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

func (*AsyncEvaluateOnCallFrameCommand) Done

func (cmd *AsyncEvaluateOnCallFrameCommand) Done(data []byte, err error)

func (*AsyncEvaluateOnCallFrameCommand) Name

func (*AsyncEvaluateOnCallFrameCommand) Params

func (cmd *AsyncEvaluateOnCallFrameCommand) Params() interface{}

type AsyncExecuteSQLCommand

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

func NewAsyncExecuteSQLCommand

func NewAsyncExecuteSQLCommand(params *ExecuteSQLParams, cb ExecuteSQLCB) *AsyncExecuteSQLCommand

func (*AsyncExecuteSQLCommand) Done

func (cmd *AsyncExecuteSQLCommand) Done(data []byte, err error)

func (*AsyncExecuteSQLCommand) Name

func (cmd *AsyncExecuteSQLCommand) Name() string

func (*AsyncExecuteSQLCommand) Params

func (cmd *AsyncExecuteSQLCommand) Params() interface{}

type AsyncFocusCommand

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

Focuses the given element. @experimental

func NewAsyncFocusCommand

func NewAsyncFocusCommand(params *FocusParams, cb FocusCB) *AsyncFocusCommand

func (*AsyncFocusCommand) Done

func (cmd *AsyncFocusCommand) Done(data []byte, err error)

func (*AsyncFocusCommand) Name

func (cmd *AsyncFocusCommand) Name() string

func (*AsyncFocusCommand) Params

func (cmd *AsyncFocusCommand) Params() interface{}

type AsyncForcePseudoStateCommand

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

func (*AsyncForcePseudoStateCommand) Done

func (cmd *AsyncForcePseudoStateCommand) Done(data []byte, err error)

func (*AsyncForcePseudoStateCommand) Name

func (*AsyncForcePseudoStateCommand) Params

func (cmd *AsyncForcePseudoStateCommand) Params() interface{}

type AsyncForceViewportCommand

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

Overrides the visible area of the page. The change is hidden from the page, i.e. the observable scroll position and page scale does not change. In effect, the command moves the specified area of the page into the top-left corner of the frame. @experimental

func (*AsyncForceViewportCommand) Done

func (cmd *AsyncForceViewportCommand) Done(data []byte, err error)

func (*AsyncForceViewportCommand) Name

func (cmd *AsyncForceViewportCommand) Name() string

func (*AsyncForceViewportCommand) Params

func (cmd *AsyncForceViewportCommand) Params() interface{}

type AsyncGetAllCookiesCommand

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

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func NewAsyncGetAllCookiesCommand

func NewAsyncGetAllCookiesCommand(cb GetAllCookiesCB) *AsyncGetAllCookiesCommand

func (*AsyncGetAllCookiesCommand) Done

func (cmd *AsyncGetAllCookiesCommand) Done(data []byte, err error)

func (*AsyncGetAllCookiesCommand) Name

func (cmd *AsyncGetAllCookiesCommand) Name() string

func (*AsyncGetAllCookiesCommand) Params

func (cmd *AsyncGetAllCookiesCommand) Params() interface{}

type AsyncGetAppManifestCommand

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

@experimental

func NewAsyncGetAppManifestCommand

func NewAsyncGetAppManifestCommand(cb GetAppManifestCB) *AsyncGetAppManifestCommand

func (*AsyncGetAppManifestCommand) Done

func (cmd *AsyncGetAppManifestCommand) Done(data []byte, err error)

func (*AsyncGetAppManifestCommand) Name

func (cmd *AsyncGetAppManifestCommand) Name() string

func (*AsyncGetAppManifestCommand) Params

func (cmd *AsyncGetAppManifestCommand) Params() interface{}

type AsyncGetApplicationCacheForFrameCommand

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

func (*AsyncGetApplicationCacheForFrameCommand) Done

func (cmd *AsyncGetApplicationCacheForFrameCommand) Done(data []byte, err error)

func (*AsyncGetApplicationCacheForFrameCommand) Name

func (*AsyncGetApplicationCacheForFrameCommand) Params

func (cmd *AsyncGetApplicationCacheForFrameCommand) Params() interface{}

type AsyncGetAttributesCommand

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

func (*AsyncGetAttributesCommand) Done

func (cmd *AsyncGetAttributesCommand) Done(data []byte, err error)

func (*AsyncGetAttributesCommand) Name

func (cmd *AsyncGetAttributesCommand) Name() string

func (*AsyncGetAttributesCommand) Params

func (cmd *AsyncGetAttributesCommand) Params() interface{}

type AsyncGetBackgroundColorsCommand

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

@experimental

func (*AsyncGetBackgroundColorsCommand) Done

func (cmd *AsyncGetBackgroundColorsCommand) Done(data []byte, err error)

func (*AsyncGetBackgroundColorsCommand) Name

func (*AsyncGetBackgroundColorsCommand) Params

func (cmd *AsyncGetBackgroundColorsCommand) Params() interface{}

type AsyncGetBoxModelCommand

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

Returns boxes for the currently selected nodes. @experimental

func NewAsyncGetBoxModelCommand

func NewAsyncGetBoxModelCommand(params *GetBoxModelParams, cb GetBoxModelCB) *AsyncGetBoxModelCommand

func (*AsyncGetBoxModelCommand) Done

func (cmd *AsyncGetBoxModelCommand) Done(data []byte, err error)

func (*AsyncGetBoxModelCommand) Name

func (cmd *AsyncGetBoxModelCommand) Name() string

func (*AsyncGetBoxModelCommand) Params

func (cmd *AsyncGetBoxModelCommand) Params() interface{}

type AsyncGetCategoriesCommand

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

func NewAsyncGetCategoriesCommand

func NewAsyncGetCategoriesCommand(cb GetCategoriesCB) *AsyncGetCategoriesCommand

func (*AsyncGetCategoriesCommand) Done

func (cmd *AsyncGetCategoriesCommand) Done(data []byte, err error)

func (*AsyncGetCategoriesCommand) Name

func (cmd *AsyncGetCategoriesCommand) Name() string

func (*AsyncGetCategoriesCommand) Params

func (cmd *AsyncGetCategoriesCommand) Params() interface{}

type AsyncGetCertificateCommand

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

Returns the DER-encoded certificate. @experimental

func (*AsyncGetCertificateCommand) Done

func (cmd *AsyncGetCertificateCommand) Done(data []byte, err error)

func (*AsyncGetCertificateCommand) Name

func (cmd *AsyncGetCertificateCommand) Name() string

func (*AsyncGetCertificateCommand) Params

func (cmd *AsyncGetCertificateCommand) Params() interface{}

type AsyncGetComputedStyleForNodeCommand

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

func (*AsyncGetComputedStyleForNodeCommand) Done

func (cmd *AsyncGetComputedStyleForNodeCommand) Done(data []byte, err error)

func (*AsyncGetComputedStyleForNodeCommand) Name

func (*AsyncGetComputedStyleForNodeCommand) Params

func (cmd *AsyncGetComputedStyleForNodeCommand) Params() interface{}

type AsyncGetCurrentTimeCommand

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

func (*AsyncGetCurrentTimeCommand) Done

func (cmd *AsyncGetCurrentTimeCommand) Done(data []byte, err error)

func (*AsyncGetCurrentTimeCommand) Name

func (cmd *AsyncGetCurrentTimeCommand) Name() string

func (*AsyncGetCurrentTimeCommand) Params

func (cmd *AsyncGetCurrentTimeCommand) Params() interface{}

type AsyncGetDOMCountersCommand

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

func NewAsyncGetDOMCountersCommand

func NewAsyncGetDOMCountersCommand(cb GetDOMCountersCB) *AsyncGetDOMCountersCommand

func (*AsyncGetDOMCountersCommand) Done

func (cmd *AsyncGetDOMCountersCommand) Done(data []byte, err error)

func (*AsyncGetDOMCountersCommand) Name

func (cmd *AsyncGetDOMCountersCommand) Name() string

func (*AsyncGetDOMCountersCommand) Params

func (cmd *AsyncGetDOMCountersCommand) Params() interface{}

type AsyncGetDOMStorageItemsCommand

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

func (*AsyncGetDOMStorageItemsCommand) Done

func (cmd *AsyncGetDOMStorageItemsCommand) Done(data []byte, err error)

func (*AsyncGetDOMStorageItemsCommand) Name

func (*AsyncGetDOMStorageItemsCommand) Params

func (cmd *AsyncGetDOMStorageItemsCommand) Params() interface{}

type AsyncGetDatabaseTableNamesCommand

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

func (*AsyncGetDatabaseTableNamesCommand) Done

func (cmd *AsyncGetDatabaseTableNamesCommand) Done(data []byte, err error)

func (*AsyncGetDatabaseTableNamesCommand) Name

func (*AsyncGetDatabaseTableNamesCommand) Params

func (cmd *AsyncGetDatabaseTableNamesCommand) Params() interface{}

type AsyncGetDocumentCommand

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

func NewAsyncGetDocumentCommand

func NewAsyncGetDocumentCommand(params *GetDocumentParams, cb GetDocumentCB) *AsyncGetDocumentCommand

func (*AsyncGetDocumentCommand) Done

func (cmd *AsyncGetDocumentCommand) Done(data []byte, err error)

func (*AsyncGetDocumentCommand) Name

func (cmd *AsyncGetDocumentCommand) Name() string

func (*AsyncGetDocumentCommand) Params

func (cmd *AsyncGetDocumentCommand) Params() interface{}

type AsyncGetDomainsCommand

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

func NewAsyncGetDomainsCommand

func NewAsyncGetDomainsCommand(cb GetDomainsCB) *AsyncGetDomainsCommand

func (*AsyncGetDomainsCommand) Done

func (cmd *AsyncGetDomainsCommand) Done(data []byte, err error)

func (*AsyncGetDomainsCommand) Name

func (cmd *AsyncGetDomainsCommand) Name() string

func (*AsyncGetDomainsCommand) Params

func (cmd *AsyncGetDomainsCommand) Params() interface{}

type AsyncGetEventListenersCommand

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

Returns event listeners of the given object. @experimental

func (*AsyncGetEventListenersCommand) Done

func (cmd *AsyncGetEventListenersCommand) Done(data []byte, err error)

func (*AsyncGetEventListenersCommand) Name

func (*AsyncGetEventListenersCommand) Params

func (cmd *AsyncGetEventListenersCommand) Params() interface{}

type AsyncGetFramesWithManifestsCommand

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

func (*AsyncGetFramesWithManifestsCommand) Done

func (cmd *AsyncGetFramesWithManifestsCommand) Done(data []byte, err error)

func (*AsyncGetFramesWithManifestsCommand) Name

func (*AsyncGetFramesWithManifestsCommand) Params

func (cmd *AsyncGetFramesWithManifestsCommand) Params() interface{}

type AsyncGetHeapObjectIdCommand

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

func (*AsyncGetHeapObjectIdCommand) Done

func (cmd *AsyncGetHeapObjectIdCommand) Done(data []byte, err error)

func (*AsyncGetHeapObjectIdCommand) Name

func (cmd *AsyncGetHeapObjectIdCommand) Name() string

func (*AsyncGetHeapObjectIdCommand) Params

func (cmd *AsyncGetHeapObjectIdCommand) Params() interface{}

type AsyncGetHighlightObjectForTestCommand

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

For testing. @experimental

func (*AsyncGetHighlightObjectForTestCommand) Done

func (cmd *AsyncGetHighlightObjectForTestCommand) Done(data []byte, err error)

func (*AsyncGetHighlightObjectForTestCommand) Name

func (*AsyncGetHighlightObjectForTestCommand) Params

func (cmd *AsyncGetHighlightObjectForTestCommand) Params() interface{}

type AsyncGetInfoCommand

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

func NewAsyncGetInfoCommand

func NewAsyncGetInfoCommand(cb GetInfoCB) *AsyncGetInfoCommand

func (*AsyncGetInfoCommand) Done

func (cmd *AsyncGetInfoCommand) Done(data []byte, err error)

func (*AsyncGetInfoCommand) Name

func (cmd *AsyncGetInfoCommand) Name() string

func (*AsyncGetInfoCommand) Params

func (cmd *AsyncGetInfoCommand) Params() interface{}

type AsyncGetInlineStylesForNodeCommand

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

func (*AsyncGetInlineStylesForNodeCommand) Done

func (cmd *AsyncGetInlineStylesForNodeCommand) Done(data []byte, err error)

func (*AsyncGetInlineStylesForNodeCommand) Name

func (*AsyncGetInlineStylesForNodeCommand) Params

func (cmd *AsyncGetInlineStylesForNodeCommand) Params() interface{}

type AsyncGetLayoutMetricsCommand

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

Returns metrics relating to the layouting of the page, such as viewport bounds/scale. @experimental

func (*AsyncGetLayoutMetricsCommand) Done

func (cmd *AsyncGetLayoutMetricsCommand) Done(data []byte, err error)

func (*AsyncGetLayoutMetricsCommand) Name

func (*AsyncGetLayoutMetricsCommand) Params

func (cmd *AsyncGetLayoutMetricsCommand) Params() interface{}

type AsyncGetLayoutTreeAndStylesCommand

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

For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style. It only returns pushed nodes, on way to pull all nodes is to call DOM.getDocument with a depth of -1. @experimental

func (*AsyncGetLayoutTreeAndStylesCommand) Done

func (cmd *AsyncGetLayoutTreeAndStylesCommand) Done(data []byte, err error)

func (*AsyncGetLayoutTreeAndStylesCommand) Name

func (*AsyncGetLayoutTreeAndStylesCommand) Params

func (cmd *AsyncGetLayoutTreeAndStylesCommand) Params() interface{}

type AsyncGetManifestForFrameCommand

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

func (*AsyncGetManifestForFrameCommand) Done

func (cmd *AsyncGetManifestForFrameCommand) Done(data []byte, err error)

func (*AsyncGetManifestForFrameCommand) Name

func (*AsyncGetManifestForFrameCommand) Params

func (cmd *AsyncGetManifestForFrameCommand) Params() interface{}

type AsyncGetMatchedStylesForNodeCommand

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

func (*AsyncGetMatchedStylesForNodeCommand) Done

func (cmd *AsyncGetMatchedStylesForNodeCommand) Done(data []byte, err error)

func (*AsyncGetMatchedStylesForNodeCommand) Name

func (*AsyncGetMatchedStylesForNodeCommand) Params

func (cmd *AsyncGetMatchedStylesForNodeCommand) Params() interface{}

type AsyncGetMediaQueriesCommand

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

Returns all media queries parsed by the rendering engine. @experimental

func NewAsyncGetMediaQueriesCommand

func NewAsyncGetMediaQueriesCommand(cb GetMediaQueriesCB) *AsyncGetMediaQueriesCommand

func (*AsyncGetMediaQueriesCommand) Done

func (cmd *AsyncGetMediaQueriesCommand) Done(data []byte, err error)

func (*AsyncGetMediaQueriesCommand) Name

func (cmd *AsyncGetMediaQueriesCommand) Name() string

func (*AsyncGetMediaQueriesCommand) Params

func (cmd *AsyncGetMediaQueriesCommand) Params() interface{}

type AsyncGetNavigationHistoryCommand

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

Returns navigation history for the current page. @experimental

func (*AsyncGetNavigationHistoryCommand) Done

func (cmd *AsyncGetNavigationHistoryCommand) Done(data []byte, err error)

func (*AsyncGetNavigationHistoryCommand) Name

func (*AsyncGetNavigationHistoryCommand) Params

func (cmd *AsyncGetNavigationHistoryCommand) Params() interface{}

type AsyncGetNodeForLocationCommand

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

Returns node id at given location. @experimental

func (*AsyncGetNodeForLocationCommand) Done

func (cmd *AsyncGetNodeForLocationCommand) Done(data []byte, err error)

func (*AsyncGetNodeForLocationCommand) Name

func (*AsyncGetNodeForLocationCommand) Params

func (cmd *AsyncGetNodeForLocationCommand) Params() interface{}

type AsyncGetObjectByHeapObjectIdCommand

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

func (*AsyncGetObjectByHeapObjectIdCommand) Done

func (cmd *AsyncGetObjectByHeapObjectIdCommand) Done(data []byte, err error)

func (*AsyncGetObjectByHeapObjectIdCommand) Name

func (*AsyncGetObjectByHeapObjectIdCommand) Params

func (cmd *AsyncGetObjectByHeapObjectIdCommand) Params() interface{}

type AsyncGetOuterHTMLCommand

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

func NewAsyncGetOuterHTMLCommand

func NewAsyncGetOuterHTMLCommand(params *GetOuterHTMLParams, cb GetOuterHTMLCB) *AsyncGetOuterHTMLCommand

func (*AsyncGetOuterHTMLCommand) Done

func (cmd *AsyncGetOuterHTMLCommand) Done(data []byte, err error)

func (*AsyncGetOuterHTMLCommand) Name

func (cmd *AsyncGetOuterHTMLCommand) Name() string

func (*AsyncGetOuterHTMLCommand) Params

func (cmd *AsyncGetOuterHTMLCommand) Params() interface{}

type AsyncGetPartialAXTreeCommand

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

Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists. @experimental

func (*AsyncGetPartialAXTreeCommand) Done

func (cmd *AsyncGetPartialAXTreeCommand) Done(data []byte, err error)

func (*AsyncGetPartialAXTreeCommand) Name

func (*AsyncGetPartialAXTreeCommand) Params

func (cmd *AsyncGetPartialAXTreeCommand) Params() interface{}

type AsyncGetPlatformFontsForNodeCommand

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

Requests information about platform fonts which we used to render child TextNodes in the given node. @experimental

func (*AsyncGetPlatformFontsForNodeCommand) Done

func (cmd *AsyncGetPlatformFontsForNodeCommand) Done(data []byte, err error)

func (*AsyncGetPlatformFontsForNodeCommand) Name

func (*AsyncGetPlatformFontsForNodeCommand) Params

func (cmd *AsyncGetPlatformFontsForNodeCommand) Params() interface{}

type AsyncGetPlaybackRateCommand

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

func NewAsyncGetPlaybackRateCommand

func NewAsyncGetPlaybackRateCommand(cb GetPlaybackRateCB) *AsyncGetPlaybackRateCommand

func (*AsyncGetPlaybackRateCommand) Done

func (cmd *AsyncGetPlaybackRateCommand) Done(data []byte, err error)

func (*AsyncGetPlaybackRateCommand) Name

func (cmd *AsyncGetPlaybackRateCommand) Name() string

func (*AsyncGetPlaybackRateCommand) Params

func (cmd *AsyncGetPlaybackRateCommand) Params() interface{}

type AsyncGetPossibleBreakpointsCommand

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

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. @experimental

func (*AsyncGetPossibleBreakpointsCommand) Done

func (cmd *AsyncGetPossibleBreakpointsCommand) Done(data []byte, err error)

func (*AsyncGetPossibleBreakpointsCommand) Name

func (*AsyncGetPossibleBreakpointsCommand) Params

func (cmd *AsyncGetPossibleBreakpointsCommand) Params() interface{}

type AsyncGetPropertiesCommand

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

func (*AsyncGetPropertiesCommand) Done

func (cmd *AsyncGetPropertiesCommand) Done(data []byte, err error)

func (*AsyncGetPropertiesCommand) Name

func (cmd *AsyncGetPropertiesCommand) Name() string

func (*AsyncGetPropertiesCommand) Params

func (cmd *AsyncGetPropertiesCommand) Params() interface{}

type AsyncGetRelayoutBoundaryCommand

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

Returns the id of the nearest ancestor that is a relayout boundary. @experimental

func (*AsyncGetRelayoutBoundaryCommand) Done

func (cmd *AsyncGetRelayoutBoundaryCommand) Done(data []byte, err error)

func (*AsyncGetRelayoutBoundaryCommand) Name

func (*AsyncGetRelayoutBoundaryCommand) Params

func (cmd *AsyncGetRelayoutBoundaryCommand) Params() interface{}

type AsyncGetResourceContentCommand

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

Returns content of the given resource. @experimental

func (*AsyncGetResourceContentCommand) Done

func (cmd *AsyncGetResourceContentCommand) Done(data []byte, err error)

func (*AsyncGetResourceContentCommand) Name

func (*AsyncGetResourceContentCommand) Params

func (cmd *AsyncGetResourceContentCommand) Params() interface{}

type AsyncGetResourceTreeCommand

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

Returns present frame / resource tree structure. @experimental

func NewAsyncGetResourceTreeCommand

func NewAsyncGetResourceTreeCommand(cb GetResourceTreeCB) *AsyncGetResourceTreeCommand

func (*AsyncGetResourceTreeCommand) Done

func (cmd *AsyncGetResourceTreeCommand) Done(data []byte, err error)

func (*AsyncGetResourceTreeCommand) Name

func (cmd *AsyncGetResourceTreeCommand) Name() string

func (*AsyncGetResourceTreeCommand) Params

func (cmd *AsyncGetResourceTreeCommand) Params() interface{}

type AsyncGetResponseBodyCommand

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

func (*AsyncGetResponseBodyCommand) Done

func (cmd *AsyncGetResponseBodyCommand) Done(data []byte, err error)

func (*AsyncGetResponseBodyCommand) Name

func (cmd *AsyncGetResponseBodyCommand) Name() string

func (*AsyncGetResponseBodyCommand) Params

func (cmd *AsyncGetResponseBodyCommand) Params() interface{}

type AsyncGetScriptSourceCommand

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

func (*AsyncGetScriptSourceCommand) Done

func (cmd *AsyncGetScriptSourceCommand) Done(data []byte, err error)

func (*AsyncGetScriptSourceCommand) Name

func (cmd *AsyncGetScriptSourceCommand) Name() string

func (*AsyncGetScriptSourceCommand) Params

func (cmd *AsyncGetScriptSourceCommand) Params() interface{}

type AsyncGetSearchResultsCommand

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

Returns search results from given fromIndex to given toIndex from the sarch with the given identifier. @experimental

func (*AsyncGetSearchResultsCommand) Done

func (cmd *AsyncGetSearchResultsCommand) Done(data []byte, err error)

func (*AsyncGetSearchResultsCommand) Name

func (*AsyncGetSearchResultsCommand) Params

func (cmd *AsyncGetSearchResultsCommand) Params() interface{}

type AsyncGetStyleSheetTextCommand

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

func (*AsyncGetStyleSheetTextCommand) Done

func (cmd *AsyncGetStyleSheetTextCommand) Done(data []byte, err error)

func (*AsyncGetStyleSheetTextCommand) Name

func (*AsyncGetStyleSheetTextCommand) Params

func (cmd *AsyncGetStyleSheetTextCommand) Params() interface{}

type AsyncGetTargetInfoCommand

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

func (*AsyncGetTargetInfoCommand) Done

func (cmd *AsyncGetTargetInfoCommand) Done(data []byte, err error)

func (*AsyncGetTargetInfoCommand) Name

func (cmd *AsyncGetTargetInfoCommand) Name() string

func (*AsyncGetTargetInfoCommand) Params

func (cmd *AsyncGetTargetInfoCommand) Params() interface{}

type AsyncGetTargetsCommand

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

func NewAsyncGetTargetsCommand

func NewAsyncGetTargetsCommand(cb GetTargetsCB) *AsyncGetTargetsCommand

func (*AsyncGetTargetsCommand) Done

func (cmd *AsyncGetTargetsCommand) Done(data []byte, err error)

func (*AsyncGetTargetsCommand) Name

func (cmd *AsyncGetTargetsCommand) Name() string

func (*AsyncGetTargetsCommand) Params

func (cmd *AsyncGetTargetsCommand) Params() interface{}

type AsyncHandleJavaScriptDialogCommand

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

func (*AsyncHandleJavaScriptDialogCommand) Done

func (cmd *AsyncHandleJavaScriptDialogCommand) Done(data []byte, err error)

func (*AsyncHandleJavaScriptDialogCommand) Name

func (*AsyncHandleJavaScriptDialogCommand) Params

func (cmd *AsyncHandleJavaScriptDialogCommand) Params() interface{}

type AsyncHeapProfilerDisableCommand

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

func (*AsyncHeapProfilerDisableCommand) Done

func (cmd *AsyncHeapProfilerDisableCommand) Done(data []byte, err error)

func (*AsyncHeapProfilerDisableCommand) Name

func (*AsyncHeapProfilerDisableCommand) Params

func (cmd *AsyncHeapProfilerDisableCommand) Params() interface{}

type AsyncHeapProfilerEnableCommand

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

func (*AsyncHeapProfilerEnableCommand) Done

func (cmd *AsyncHeapProfilerEnableCommand) Done(data []byte, err error)

func (*AsyncHeapProfilerEnableCommand) Name

func (*AsyncHeapProfilerEnableCommand) Params

func (cmd *AsyncHeapProfilerEnableCommand) Params() interface{}

type AsyncHideHighlightCommand

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

func NewAsyncHideHighlightCommand

func NewAsyncHideHighlightCommand(cb HideHighlightCB) *AsyncHideHighlightCommand

func (*AsyncHideHighlightCommand) Done

func (cmd *AsyncHideHighlightCommand) Done(data []byte, err error)

func (*AsyncHideHighlightCommand) Name

func (cmd *AsyncHideHighlightCommand) Name() string

func (*AsyncHideHighlightCommand) Params

func (cmd *AsyncHideHighlightCommand) Params() interface{}

type AsyncHighlightFrameCommand

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

Highlights owner element of the frame with given id. @experimental

func (*AsyncHighlightFrameCommand) Done

func (cmd *AsyncHighlightFrameCommand) Done(data []byte, err error)

func (*AsyncHighlightFrameCommand) Name

func (cmd *AsyncHighlightFrameCommand) Name() string

func (*AsyncHighlightFrameCommand) Params

func (cmd *AsyncHighlightFrameCommand) Params() interface{}

type AsyncHighlightNodeCommand

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

func (*AsyncHighlightNodeCommand) Done

func (cmd *AsyncHighlightNodeCommand) Done(data []byte, err error)

func (*AsyncHighlightNodeCommand) Name

func (cmd *AsyncHighlightNodeCommand) Name() string

func (*AsyncHighlightNodeCommand) Params

func (cmd *AsyncHighlightNodeCommand) Params() interface{}

type AsyncHighlightQuadCommand

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

Highlights given quad. Coordinates are absolute with respect to the main frame viewport. @experimental

func (*AsyncHighlightQuadCommand) Done

func (cmd *AsyncHighlightQuadCommand) Done(data []byte, err error)

func (*AsyncHighlightQuadCommand) Name

func (cmd *AsyncHighlightQuadCommand) Name() string

func (*AsyncHighlightQuadCommand) Params

func (cmd *AsyncHighlightQuadCommand) Params() interface{}

type AsyncHighlightRectCommand

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

func (*AsyncHighlightRectCommand) Done

func (cmd *AsyncHighlightRectCommand) Done(data []byte, err error)

func (*AsyncHighlightRectCommand) Name

func (cmd *AsyncHighlightRectCommand) Name() string

func (*AsyncHighlightRectCommand) Params

func (cmd *AsyncHighlightRectCommand) Params() interface{}

type AsyncIndexedDBDisableCommand

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

func (*AsyncIndexedDBDisableCommand) Done

func (cmd *AsyncIndexedDBDisableCommand) Done(data []byte, err error)

func (*AsyncIndexedDBDisableCommand) Name

func (*AsyncIndexedDBDisableCommand) Params

func (cmd *AsyncIndexedDBDisableCommand) Params() interface{}

type AsyncIndexedDBEnableCommand

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

func NewAsyncIndexedDBEnableCommand

func NewAsyncIndexedDBEnableCommand(cb IndexedDBEnableCB) *AsyncIndexedDBEnableCommand

func (*AsyncIndexedDBEnableCommand) Done

func (cmd *AsyncIndexedDBEnableCommand) Done(data []byte, err error)

func (*AsyncIndexedDBEnableCommand) Name

func (cmd *AsyncIndexedDBEnableCommand) Name() string

func (*AsyncIndexedDBEnableCommand) Params

func (cmd *AsyncIndexedDBEnableCommand) Params() interface{}

type AsyncInspectWorkerCommand

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

func (*AsyncInspectWorkerCommand) Done

func (cmd *AsyncInspectWorkerCommand) Done(data []byte, err error)

func (*AsyncInspectWorkerCommand) Name

func (cmd *AsyncInspectWorkerCommand) Name() string

func (*AsyncInspectWorkerCommand) Params

func (cmd *AsyncInspectWorkerCommand) Params() interface{}

type AsyncInspectorDisableCommand

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

func (*AsyncInspectorDisableCommand) Done

func (cmd *AsyncInspectorDisableCommand) Done(data []byte, err error)

func (*AsyncInspectorDisableCommand) Name

func (*AsyncInspectorDisableCommand) Params

func (cmd *AsyncInspectorDisableCommand) Params() interface{}

type AsyncInspectorEnableCommand

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

func NewAsyncInspectorEnableCommand

func NewAsyncInspectorEnableCommand(cb InspectorEnableCB) *AsyncInspectorEnableCommand

func (*AsyncInspectorEnableCommand) Done

func (cmd *AsyncInspectorEnableCommand) Done(data []byte, err error)

func (*AsyncInspectorEnableCommand) Name

func (cmd *AsyncInspectorEnableCommand) Name() string

func (*AsyncInspectorEnableCommand) Params

func (cmd *AsyncInspectorEnableCommand) Params() interface{}

type AsyncLayerTreeDisableCommand

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

func (*AsyncLayerTreeDisableCommand) Done

func (cmd *AsyncLayerTreeDisableCommand) Done(data []byte, err error)

func (*AsyncLayerTreeDisableCommand) Name

func (*AsyncLayerTreeDisableCommand) Params

func (cmd *AsyncLayerTreeDisableCommand) Params() interface{}

type AsyncLayerTreeEnableCommand

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

func NewAsyncLayerTreeEnableCommand

func NewAsyncLayerTreeEnableCommand(cb LayerTreeEnableCB) *AsyncLayerTreeEnableCommand

func (*AsyncLayerTreeEnableCommand) Done

func (cmd *AsyncLayerTreeEnableCommand) Done(data []byte, err error)

func (*AsyncLayerTreeEnableCommand) Name

func (cmd *AsyncLayerTreeEnableCommand) Name() string

func (*AsyncLayerTreeEnableCommand) Params

func (cmd *AsyncLayerTreeEnableCommand) Params() interface{}

type AsyncLoadSnapshotCommand

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

func NewAsyncLoadSnapshotCommand

func NewAsyncLoadSnapshotCommand(params *LoadSnapshotParams, cb LoadSnapshotCB) *AsyncLoadSnapshotCommand

func (*AsyncLoadSnapshotCommand) Done

func (cmd *AsyncLoadSnapshotCommand) Done(data []byte, err error)

func (*AsyncLoadSnapshotCommand) Name

func (cmd *AsyncLoadSnapshotCommand) Name() string

func (*AsyncLoadSnapshotCommand) Params

func (cmd *AsyncLoadSnapshotCommand) Params() interface{}

type AsyncLogDisableCommand

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

func NewAsyncLogDisableCommand

func NewAsyncLogDisableCommand(cb LogDisableCB) *AsyncLogDisableCommand

func (*AsyncLogDisableCommand) Done

func (cmd *AsyncLogDisableCommand) Done(data []byte, err error)

func (*AsyncLogDisableCommand) Name

func (cmd *AsyncLogDisableCommand) Name() string

func (*AsyncLogDisableCommand) Params

func (cmd *AsyncLogDisableCommand) Params() interface{}

type AsyncLogEnableCommand

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

func NewAsyncLogEnableCommand

func NewAsyncLogEnableCommand(cb LogEnableCB) *AsyncLogEnableCommand

func (*AsyncLogEnableCommand) Done

func (cmd *AsyncLogEnableCommand) Done(data []byte, err error)

func (*AsyncLogEnableCommand) Name

func (cmd *AsyncLogEnableCommand) Name() string

func (*AsyncLogEnableCommand) Params

func (cmd *AsyncLogEnableCommand) Params() interface{}

type AsyncMakeSnapshotCommand

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

func NewAsyncMakeSnapshotCommand

func NewAsyncMakeSnapshotCommand(params *MakeSnapshotParams, cb MakeSnapshotCB) *AsyncMakeSnapshotCommand

func (*AsyncMakeSnapshotCommand) Done

func (cmd *AsyncMakeSnapshotCommand) Done(data []byte, err error)

func (*AsyncMakeSnapshotCommand) Name

func (cmd *AsyncMakeSnapshotCommand) Name() string

func (*AsyncMakeSnapshotCommand) Params

func (cmd *AsyncMakeSnapshotCommand) Params() interface{}

type AsyncMarkUndoableStateCommand

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

Marks last undoable state. @experimental

func (*AsyncMarkUndoableStateCommand) Done

func (cmd *AsyncMarkUndoableStateCommand) Done(data []byte, err error)

func (*AsyncMarkUndoableStateCommand) Name

func (*AsyncMarkUndoableStateCommand) Params

func (cmd *AsyncMarkUndoableStateCommand) Params() interface{}

type AsyncMoveToCommand

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

func NewAsyncMoveToCommand

func NewAsyncMoveToCommand(params *MoveToParams, cb MoveToCB) *AsyncMoveToCommand

func (*AsyncMoveToCommand) Done

func (cmd *AsyncMoveToCommand) Done(data []byte, err error)

func (*AsyncMoveToCommand) Name

func (cmd *AsyncMoveToCommand) Name() string

func (*AsyncMoveToCommand) Params

func (cmd *AsyncMoveToCommand) Params() interface{}

type AsyncNavigateCommand

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

func NewAsyncNavigateCommand

func NewAsyncNavigateCommand(params *NavigateParams, cb NavigateCB) *AsyncNavigateCommand

func (*AsyncNavigateCommand) Done

func (cmd *AsyncNavigateCommand) Done(data []byte, err error)

func (*AsyncNavigateCommand) Name

func (cmd *AsyncNavigateCommand) Name() string

func (*AsyncNavigateCommand) Params

func (cmd *AsyncNavigateCommand) Params() interface{}

type AsyncNavigateToHistoryEntryCommand

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

Navigates current page to the given history entry. @experimental

func (*AsyncNavigateToHistoryEntryCommand) Done

func (cmd *AsyncNavigateToHistoryEntryCommand) Done(data []byte, err error)

func (*AsyncNavigateToHistoryEntryCommand) Name

func (*AsyncNavigateToHistoryEntryCommand) Params

func (cmd *AsyncNavigateToHistoryEntryCommand) Params() interface{}

type AsyncNetworkDeleteCookieCommand

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

Deletes browser cookie with given name, domain and path. @experimental

func (*AsyncNetworkDeleteCookieCommand) Done

func (cmd *AsyncNetworkDeleteCookieCommand) Done(data []byte, err error)

func (*AsyncNetworkDeleteCookieCommand) Name

func (*AsyncNetworkDeleteCookieCommand) Params

func (cmd *AsyncNetworkDeleteCookieCommand) Params() interface{}

type AsyncNetworkDisableCommand

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

func NewAsyncNetworkDisableCommand

func NewAsyncNetworkDisableCommand(cb NetworkDisableCB) *AsyncNetworkDisableCommand

func (*AsyncNetworkDisableCommand) Done

func (cmd *AsyncNetworkDisableCommand) Done(data []byte, err error)

func (*AsyncNetworkDisableCommand) Name

func (cmd *AsyncNetworkDisableCommand) Name() string

func (*AsyncNetworkDisableCommand) Params

func (cmd *AsyncNetworkDisableCommand) Params() interface{}

type AsyncNetworkEnableCommand

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

func (*AsyncNetworkEnableCommand) Done

func (cmd *AsyncNetworkEnableCommand) Done(data []byte, err error)

func (*AsyncNetworkEnableCommand) Name

func (cmd *AsyncNetworkEnableCommand) Name() string

func (*AsyncNetworkEnableCommand) Params

func (cmd *AsyncNetworkEnableCommand) Params() interface{}

type AsyncNetworkGetCookiesCommand

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

Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func (*AsyncNetworkGetCookiesCommand) Done

func (cmd *AsyncNetworkGetCookiesCommand) Done(data []byte, err error)

func (*AsyncNetworkGetCookiesCommand) Name

func (*AsyncNetworkGetCookiesCommand) Params

func (cmd *AsyncNetworkGetCookiesCommand) Params() interface{}

type AsyncPageClearDeviceMetricsOverrideCommand

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

Clears the overriden device metrics. @experimental

func (*AsyncPageClearDeviceMetricsOverrideCommand) Done

func (cmd *AsyncPageClearDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*AsyncPageClearDeviceMetricsOverrideCommand) Name

func (*AsyncPageClearDeviceMetricsOverrideCommand) Params

func (cmd *AsyncPageClearDeviceMetricsOverrideCommand) Params() interface{}

type AsyncPageClearDeviceOrientationOverrideCommand

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

Clears the overridden Device Orientation. @experimental

func (*AsyncPageClearDeviceOrientationOverrideCommand) Done

func (*AsyncPageClearDeviceOrientationOverrideCommand) Name

func (*AsyncPageClearDeviceOrientationOverrideCommand) Params

func (cmd *AsyncPageClearDeviceOrientationOverrideCommand) Params() interface{}

type AsyncPageClearGeolocationOverrideCommand

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

func (*AsyncPageClearGeolocationOverrideCommand) Done

func (cmd *AsyncPageClearGeolocationOverrideCommand) Done(data []byte, err error)

func (*AsyncPageClearGeolocationOverrideCommand) Name

func (*AsyncPageClearGeolocationOverrideCommand) Params

func (cmd *AsyncPageClearGeolocationOverrideCommand) Params() interface{}

type AsyncPageDeleteCookieCommand

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

Deletes browser cookie with given name, domain and path. @experimental

func (*AsyncPageDeleteCookieCommand) Done

func (cmd *AsyncPageDeleteCookieCommand) Done(data []byte, err error)

func (*AsyncPageDeleteCookieCommand) Name

func (*AsyncPageDeleteCookieCommand) Params

func (cmd *AsyncPageDeleteCookieCommand) Params() interface{}

type AsyncPageDisableCommand

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

func NewAsyncPageDisableCommand

func NewAsyncPageDisableCommand(cb PageDisableCB) *AsyncPageDisableCommand

func (*AsyncPageDisableCommand) Done

func (cmd *AsyncPageDisableCommand) Done(data []byte, err error)

func (*AsyncPageDisableCommand) Name

func (cmd *AsyncPageDisableCommand) Name() string

func (*AsyncPageDisableCommand) Params

func (cmd *AsyncPageDisableCommand) Params() interface{}

type AsyncPageEnableCommand

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

func NewAsyncPageEnableCommand

func NewAsyncPageEnableCommand(cb PageEnableCB) *AsyncPageEnableCommand

func (*AsyncPageEnableCommand) Done

func (cmd *AsyncPageEnableCommand) Done(data []byte, err error)

func (*AsyncPageEnableCommand) Name

func (cmd *AsyncPageEnableCommand) Name() string

func (*AsyncPageEnableCommand) Params

func (cmd *AsyncPageEnableCommand) Params() interface{}

type AsyncPageGetCookiesCommand

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

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func NewAsyncPageGetCookiesCommand

func NewAsyncPageGetCookiesCommand(cb PageGetCookiesCB) *AsyncPageGetCookiesCommand

func (*AsyncPageGetCookiesCommand) Done

func (cmd *AsyncPageGetCookiesCommand) Done(data []byte, err error)

func (*AsyncPageGetCookiesCommand) Name

func (cmd *AsyncPageGetCookiesCommand) Name() string

func (*AsyncPageGetCookiesCommand) Params

func (cmd *AsyncPageGetCookiesCommand) Params() interface{}

type AsyncPageSetDeviceMetricsOverrideCommand

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

Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results). @experimental

func (*AsyncPageSetDeviceMetricsOverrideCommand) Done

func (cmd *AsyncPageSetDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*AsyncPageSetDeviceMetricsOverrideCommand) Name

func (*AsyncPageSetDeviceMetricsOverrideCommand) Params

func (cmd *AsyncPageSetDeviceMetricsOverrideCommand) Params() interface{}

type AsyncPageSetDeviceOrientationOverrideCommand

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

Overrides the Device Orientation. @experimental

func (*AsyncPageSetDeviceOrientationOverrideCommand) Done

func (*AsyncPageSetDeviceOrientationOverrideCommand) Name

func (*AsyncPageSetDeviceOrientationOverrideCommand) Params

func (cmd *AsyncPageSetDeviceOrientationOverrideCommand) Params() interface{}

type AsyncPageSetGeolocationOverrideCommand

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

func (*AsyncPageSetGeolocationOverrideCommand) Done

func (cmd *AsyncPageSetGeolocationOverrideCommand) Done(data []byte, err error)

func (*AsyncPageSetGeolocationOverrideCommand) Name

func (*AsyncPageSetGeolocationOverrideCommand) Params

func (cmd *AsyncPageSetGeolocationOverrideCommand) Params() interface{}

type AsyncPageSetTouchEmulationEnabledCommand

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

Toggles mouse event-based touch event emulation. @experimental

func (*AsyncPageSetTouchEmulationEnabledCommand) Done

func (cmd *AsyncPageSetTouchEmulationEnabledCommand) Done(data []byte, err error)

func (*AsyncPageSetTouchEmulationEnabledCommand) Name

func (*AsyncPageSetTouchEmulationEnabledCommand) Params

func (cmd *AsyncPageSetTouchEmulationEnabledCommand) Params() interface{}

type AsyncPauseCommand

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

func NewAsyncPauseCommand

func NewAsyncPauseCommand(cb PauseCB) *AsyncPauseCommand

func (*AsyncPauseCommand) Done

func (cmd *AsyncPauseCommand) Done(data []byte, err error)

func (*AsyncPauseCommand) Name

func (cmd *AsyncPauseCommand) Name() string

func (*AsyncPauseCommand) Params

func (cmd *AsyncPauseCommand) Params() interface{}

type AsyncPerformSearchCommand

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

Searches for a given string in the DOM tree. Use getSearchResults to access search results or cancelSearch to end this search session. @experimental

func (*AsyncPerformSearchCommand) Done

func (cmd *AsyncPerformSearchCommand) Done(data []byte, err error)

func (*AsyncPerformSearchCommand) Name

func (cmd *AsyncPerformSearchCommand) Name() string

func (*AsyncPerformSearchCommand) Params

func (cmd *AsyncPerformSearchCommand) Params() interface{}

type AsyncProcessNavigationCommand

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

Should be sent in response to a navigationRequested or a redirectRequested event, telling the browser how to handle the navigation. @experimental

func (*AsyncProcessNavigationCommand) Done

func (cmd *AsyncProcessNavigationCommand) Done(data []byte, err error)

func (*AsyncProcessNavigationCommand) Name

func (*AsyncProcessNavigationCommand) Params

func (cmd *AsyncProcessNavigationCommand) Params() interface{}

type AsyncProfileSnapshotCommand

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

func (*AsyncProfileSnapshotCommand) Done

func (cmd *AsyncProfileSnapshotCommand) Done(data []byte, err error)

func (*AsyncProfileSnapshotCommand) Name

func (cmd *AsyncProfileSnapshotCommand) Name() string

func (*AsyncProfileSnapshotCommand) Params

func (cmd *AsyncProfileSnapshotCommand) Params() interface{}

type AsyncProfilerDisableCommand

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

func NewAsyncProfilerDisableCommand

func NewAsyncProfilerDisableCommand(cb ProfilerDisableCB) *AsyncProfilerDisableCommand

func (*AsyncProfilerDisableCommand) Done

func (cmd *AsyncProfilerDisableCommand) Done(data []byte, err error)

func (*AsyncProfilerDisableCommand) Name

func (cmd *AsyncProfilerDisableCommand) Name() string

func (*AsyncProfilerDisableCommand) Params

func (cmd *AsyncProfilerDisableCommand) Params() interface{}

type AsyncProfilerEnableCommand

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

func NewAsyncProfilerEnableCommand

func NewAsyncProfilerEnableCommand(cb ProfilerEnableCB) *AsyncProfilerEnableCommand

func (*AsyncProfilerEnableCommand) Done

func (cmd *AsyncProfilerEnableCommand) Done(data []byte, err error)

func (*AsyncProfilerEnableCommand) Name

func (cmd *AsyncProfilerEnableCommand) Name() string

func (*AsyncProfilerEnableCommand) Params

func (cmd *AsyncProfilerEnableCommand) Params() interface{}

type AsyncProfilerStartCommand

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

func NewAsyncProfilerStartCommand

func NewAsyncProfilerStartCommand(cb ProfilerStartCB) *AsyncProfilerStartCommand

func (*AsyncProfilerStartCommand) Done

func (cmd *AsyncProfilerStartCommand) Done(data []byte, err error)

func (*AsyncProfilerStartCommand) Name

func (cmd *AsyncProfilerStartCommand) Name() string

func (*AsyncProfilerStartCommand) Params

func (cmd *AsyncProfilerStartCommand) Params() interface{}

type AsyncPushNodeByPathToFrontendCommand

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

Requests that the node is sent to the caller given its path. // FIXME, use XPath @experimental

func (*AsyncPushNodeByPathToFrontendCommand) Done

func (cmd *AsyncPushNodeByPathToFrontendCommand) Done(data []byte, err error)

func (*AsyncPushNodeByPathToFrontendCommand) Name

func (*AsyncPushNodeByPathToFrontendCommand) Params

func (cmd *AsyncPushNodeByPathToFrontendCommand) Params() interface{}

type AsyncPushNodesByBackendIdsToFrontendCommand

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

Requests that a batch of nodes is sent to the caller given their backend node ids. @experimental

func (*AsyncPushNodesByBackendIdsToFrontendCommand) Done

func (*AsyncPushNodesByBackendIdsToFrontendCommand) Name

func (*AsyncPushNodesByBackendIdsToFrontendCommand) Params

func (cmd *AsyncPushNodesByBackendIdsToFrontendCommand) Params() interface{}

type AsyncQuerySelectorAllCommand

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

func (*AsyncQuerySelectorAllCommand) Done

func (cmd *AsyncQuerySelectorAllCommand) Done(data []byte, err error)

func (*AsyncQuerySelectorAllCommand) Name

func (*AsyncQuerySelectorAllCommand) Params

func (cmd *AsyncQuerySelectorAllCommand) Params() interface{}

type AsyncQuerySelectorCommand

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

func (*AsyncQuerySelectorCommand) Done

func (cmd *AsyncQuerySelectorCommand) Done(data []byte, err error)

func (*AsyncQuerySelectorCommand) Name

func (cmd *AsyncQuerySelectorCommand) Name() string

func (*AsyncQuerySelectorCommand) Params

func (cmd *AsyncQuerySelectorCommand) Params() interface{}

type AsyncReadCommand

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

func NewAsyncReadCommand

func NewAsyncReadCommand(params *ReadParams, cb ReadCB) *AsyncReadCommand

func (*AsyncReadCommand) Done

func (cmd *AsyncReadCommand) Done(data []byte, err error)

func (*AsyncReadCommand) Name

func (cmd *AsyncReadCommand) Name() string

func (*AsyncReadCommand) Params

func (cmd *AsyncReadCommand) Params() interface{}

type AsyncRecordClockSyncMarkerCommand

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

func (*AsyncRecordClockSyncMarkerCommand) Done

func (cmd *AsyncRecordClockSyncMarkerCommand) Done(data []byte, err error)

func (*AsyncRecordClockSyncMarkerCommand) Name

func (*AsyncRecordClockSyncMarkerCommand) Params

func (cmd *AsyncRecordClockSyncMarkerCommand) Params() interface{}

type AsyncRedoCommand

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

Re-does the last undone action. @experimental

func NewAsyncRedoCommand

func NewAsyncRedoCommand(cb RedoCB) *AsyncRedoCommand

func (*AsyncRedoCommand) Done

func (cmd *AsyncRedoCommand) Done(data []byte, err error)

func (*AsyncRedoCommand) Name

func (cmd *AsyncRedoCommand) Name() string

func (*AsyncRedoCommand) Params

func (cmd *AsyncRedoCommand) Params() interface{}

type AsyncReleaseAnimationsCommand

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

func (*AsyncReleaseAnimationsCommand) Done

func (cmd *AsyncReleaseAnimationsCommand) Done(data []byte, err error)

func (*AsyncReleaseAnimationsCommand) Name

func (*AsyncReleaseAnimationsCommand) Params

func (cmd *AsyncReleaseAnimationsCommand) Params() interface{}

type AsyncReleaseObjectCommand

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

func (*AsyncReleaseObjectCommand) Done

func (cmd *AsyncReleaseObjectCommand) Done(data []byte, err error)

func (*AsyncReleaseObjectCommand) Name

func (cmd *AsyncReleaseObjectCommand) Name() string

func (*AsyncReleaseObjectCommand) Params

func (cmd *AsyncReleaseObjectCommand) Params() interface{}

type AsyncReleaseObjectGroupCommand

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

func (*AsyncReleaseObjectGroupCommand) Done

func (cmd *AsyncReleaseObjectGroupCommand) Done(data []byte, err error)

func (*AsyncReleaseObjectGroupCommand) Name

func (*AsyncReleaseObjectGroupCommand) Params

func (cmd *AsyncReleaseObjectGroupCommand) Params() interface{}

type AsyncReleaseSnapshotCommand

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

func (*AsyncReleaseSnapshotCommand) Done

func (cmd *AsyncReleaseSnapshotCommand) Done(data []byte, err error)

func (*AsyncReleaseSnapshotCommand) Name

func (cmd *AsyncReleaseSnapshotCommand) Name() string

func (*AsyncReleaseSnapshotCommand) Params

func (cmd *AsyncReleaseSnapshotCommand) Params() interface{}

type AsyncReloadCommand

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

func NewAsyncReloadCommand

func NewAsyncReloadCommand(params *ReloadParams, cb ReloadCB) *AsyncReloadCommand

func (*AsyncReloadCommand) Done

func (cmd *AsyncReloadCommand) Done(data []byte, err error)

func (*AsyncReloadCommand) Name

func (cmd *AsyncReloadCommand) Name() string

func (*AsyncReloadCommand) Params

func (cmd *AsyncReloadCommand) Params() interface{}

type AsyncRemoveAttributeCommand

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

func (*AsyncRemoveAttributeCommand) Done

func (cmd *AsyncRemoveAttributeCommand) Done(data []byte, err error)

func (*AsyncRemoveAttributeCommand) Name

func (cmd *AsyncRemoveAttributeCommand) Name() string

func (*AsyncRemoveAttributeCommand) Params

func (cmd *AsyncRemoveAttributeCommand) Params() interface{}

type AsyncRemoveBlockedURLCommand

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

Cancels blocking of a specific URL from loading. @experimental

func (*AsyncRemoveBlockedURLCommand) Done

func (cmd *AsyncRemoveBlockedURLCommand) Done(data []byte, err error)

func (*AsyncRemoveBlockedURLCommand) Name

func (*AsyncRemoveBlockedURLCommand) Params

func (cmd *AsyncRemoveBlockedURLCommand) Params() interface{}

type AsyncRemoveBreakpointCommand

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

func (*AsyncRemoveBreakpointCommand) Done

func (cmd *AsyncRemoveBreakpointCommand) Done(data []byte, err error)

func (*AsyncRemoveBreakpointCommand) Name

func (*AsyncRemoveBreakpointCommand) Params

func (cmd *AsyncRemoveBreakpointCommand) Params() interface{}

type AsyncRemoveDOMBreakpointCommand

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

func (*AsyncRemoveDOMBreakpointCommand) Done

func (cmd *AsyncRemoveDOMBreakpointCommand) Done(data []byte, err error)

func (*AsyncRemoveDOMBreakpointCommand) Name

func (*AsyncRemoveDOMBreakpointCommand) Params

func (cmd *AsyncRemoveDOMBreakpointCommand) Params() interface{}

type AsyncRemoveDOMStorageItemCommand

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

func (*AsyncRemoveDOMStorageItemCommand) Done

func (cmd *AsyncRemoveDOMStorageItemCommand) Done(data []byte, err error)

func (*AsyncRemoveDOMStorageItemCommand) Name

func (*AsyncRemoveDOMStorageItemCommand) Params

func (cmd *AsyncRemoveDOMStorageItemCommand) Params() interface{}

type AsyncRemoveEventListenerBreakpointCommand

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

func (*AsyncRemoveEventListenerBreakpointCommand) Done

func (cmd *AsyncRemoveEventListenerBreakpointCommand) Done(data []byte, err error)

func (*AsyncRemoveEventListenerBreakpointCommand) Name

func (*AsyncRemoveEventListenerBreakpointCommand) Params

func (cmd *AsyncRemoveEventListenerBreakpointCommand) Params() interface{}

type AsyncRemoveInstrumentationBreakpointCommand

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

Removes breakpoint on particular native event. @experimental

func (*AsyncRemoveInstrumentationBreakpointCommand) Done

func (*AsyncRemoveInstrumentationBreakpointCommand) Name

func (*AsyncRemoveInstrumentationBreakpointCommand) Params

func (cmd *AsyncRemoveInstrumentationBreakpointCommand) Params() interface{}

type AsyncRemoveNodeCommand

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

func NewAsyncRemoveNodeCommand

func NewAsyncRemoveNodeCommand(params *RemoveNodeParams, cb RemoveNodeCB) *AsyncRemoveNodeCommand

func (*AsyncRemoveNodeCommand) Done

func (cmd *AsyncRemoveNodeCommand) Done(data []byte, err error)

func (*AsyncRemoveNodeCommand) Name

func (cmd *AsyncRemoveNodeCommand) Name() string

func (*AsyncRemoveNodeCommand) Params

func (cmd *AsyncRemoveNodeCommand) Params() interface{}

type AsyncRemoveScriptToEvaluateOnLoadCommand

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

@experimental

func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Done

func (cmd *AsyncRemoveScriptToEvaluateOnLoadCommand) Done(data []byte, err error)

func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Name

func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Params

func (cmd *AsyncRemoveScriptToEvaluateOnLoadCommand) Params() interface{}

type AsyncRemoveXHRBreakpointCommand

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

func (*AsyncRemoveXHRBreakpointCommand) Done

func (cmd *AsyncRemoveXHRBreakpointCommand) Done(data []byte, err error)

func (*AsyncRemoveXHRBreakpointCommand) Name

func (*AsyncRemoveXHRBreakpointCommand) Params

func (cmd *AsyncRemoveXHRBreakpointCommand) Params() interface{}

type AsyncReplaySnapshotCommand

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

func (*AsyncReplaySnapshotCommand) Done

func (cmd *AsyncReplaySnapshotCommand) Done(data []byte, err error)

func (*AsyncReplaySnapshotCommand) Name

func (cmd *AsyncReplaySnapshotCommand) Name() string

func (*AsyncReplaySnapshotCommand) Params

func (cmd *AsyncReplaySnapshotCommand) Params() interface{}

type AsyncReplayXHRCommand

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

This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. @experimental

func NewAsyncReplayXHRCommand

func NewAsyncReplayXHRCommand(params *ReplayXHRParams, cb ReplayXHRCB) *AsyncReplayXHRCommand

func (*AsyncReplayXHRCommand) Done

func (cmd *AsyncReplayXHRCommand) Done(data []byte, err error)

func (*AsyncReplayXHRCommand) Name

func (cmd *AsyncReplayXHRCommand) Name() string

func (*AsyncReplayXHRCommand) Params

func (cmd *AsyncReplayXHRCommand) Params() interface{}

type AsyncRequestAppBannerCommand

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

@experimental

func (*AsyncRequestAppBannerCommand) Done

func (cmd *AsyncRequestAppBannerCommand) Done(data []byte, err error)

func (*AsyncRequestAppBannerCommand) Name

func (*AsyncRequestAppBannerCommand) Params

func (cmd *AsyncRequestAppBannerCommand) Params() interface{}

type AsyncRequestCacheNamesCommand

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

func (*AsyncRequestCacheNamesCommand) Done

func (cmd *AsyncRequestCacheNamesCommand) Done(data []byte, err error)

func (*AsyncRequestCacheNamesCommand) Name

func (*AsyncRequestCacheNamesCommand) Params

func (cmd *AsyncRequestCacheNamesCommand) Params() interface{}

type AsyncRequestChildNodesCommand

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

func (*AsyncRequestChildNodesCommand) Done

func (cmd *AsyncRequestChildNodesCommand) Done(data []byte, err error)

func (*AsyncRequestChildNodesCommand) Name

func (*AsyncRequestChildNodesCommand) Params

func (cmd *AsyncRequestChildNodesCommand) Params() interface{}

type AsyncRequestDataCommand

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

func NewAsyncRequestDataCommand

func NewAsyncRequestDataCommand(params *RequestDataParams, cb RequestDataCB) *AsyncRequestDataCommand

func (*AsyncRequestDataCommand) Done

func (cmd *AsyncRequestDataCommand) Done(data []byte, err error)

func (*AsyncRequestDataCommand) Name

func (cmd *AsyncRequestDataCommand) Name() string

func (*AsyncRequestDataCommand) Params

func (cmd *AsyncRequestDataCommand) Params() interface{}

type AsyncRequestDatabaseCommand

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

func (*AsyncRequestDatabaseCommand) Done

func (cmd *AsyncRequestDatabaseCommand) Done(data []byte, err error)

func (*AsyncRequestDatabaseCommand) Name

func (cmd *AsyncRequestDatabaseCommand) Name() string

func (*AsyncRequestDatabaseCommand) Params

func (cmd *AsyncRequestDatabaseCommand) Params() interface{}

type AsyncRequestDatabaseNamesCommand

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

func (*AsyncRequestDatabaseNamesCommand) Done

func (cmd *AsyncRequestDatabaseNamesCommand) Done(data []byte, err error)

func (*AsyncRequestDatabaseNamesCommand) Name

func (*AsyncRequestDatabaseNamesCommand) Params

func (cmd *AsyncRequestDatabaseNamesCommand) Params() interface{}

type AsyncRequestEntriesCommand

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

func (*AsyncRequestEntriesCommand) Done

func (cmd *AsyncRequestEntriesCommand) Done(data []byte, err error)

func (*AsyncRequestEntriesCommand) Name

func (cmd *AsyncRequestEntriesCommand) Name() string

func (*AsyncRequestEntriesCommand) Params

func (cmd *AsyncRequestEntriesCommand) Params() interface{}

type AsyncRequestMemoryDumpCommand

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

func (*AsyncRequestMemoryDumpCommand) Done

func (cmd *AsyncRequestMemoryDumpCommand) Done(data []byte, err error)

func (*AsyncRequestMemoryDumpCommand) Name

func (*AsyncRequestMemoryDumpCommand) Params

func (cmd *AsyncRequestMemoryDumpCommand) Params() interface{}

type AsyncRequestNodeCommand

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

func NewAsyncRequestNodeCommand

func NewAsyncRequestNodeCommand(params *RequestNodeParams, cb RequestNodeCB) *AsyncRequestNodeCommand

func (*AsyncRequestNodeCommand) Done

func (cmd *AsyncRequestNodeCommand) Done(data []byte, err error)

func (*AsyncRequestNodeCommand) Name

func (cmd *AsyncRequestNodeCommand) Name() string

func (*AsyncRequestNodeCommand) Params

func (cmd *AsyncRequestNodeCommand) Params() interface{}

type AsyncResetPageScaleFactorCommand

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

Requests that page scale factor is reset to initial values. @experimental

func (*AsyncResetPageScaleFactorCommand) Done

func (cmd *AsyncResetPageScaleFactorCommand) Done(data []byte, err error)

func (*AsyncResetPageScaleFactorCommand) Name

func (*AsyncResetPageScaleFactorCommand) Params

func (cmd *AsyncResetPageScaleFactorCommand) Params() interface{}

type AsyncResetViewportCommand

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

Resets the visible area of the page to the original viewport, undoing any effects of the forceViewport command. @experimental

func NewAsyncResetViewportCommand

func NewAsyncResetViewportCommand(cb ResetViewportCB) *AsyncResetViewportCommand

func (*AsyncResetViewportCommand) Done

func (cmd *AsyncResetViewportCommand) Done(data []byte, err error)

func (*AsyncResetViewportCommand) Name

func (cmd *AsyncResetViewportCommand) Name() string

func (*AsyncResetViewportCommand) Params

func (cmd *AsyncResetViewportCommand) Params() interface{}

type AsyncResolveAnimationCommand

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

func (*AsyncResolveAnimationCommand) Done

func (cmd *AsyncResolveAnimationCommand) Done(data []byte, err error)

func (*AsyncResolveAnimationCommand) Name

func (*AsyncResolveAnimationCommand) Params

func (cmd *AsyncResolveAnimationCommand) Params() interface{}

type AsyncResolveNodeCommand

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

func NewAsyncResolveNodeCommand

func NewAsyncResolveNodeCommand(params *ResolveNodeParams, cb ResolveNodeCB) *AsyncResolveNodeCommand

func (*AsyncResolveNodeCommand) Done

func (cmd *AsyncResolveNodeCommand) Done(data []byte, err error)

func (*AsyncResolveNodeCommand) Name

func (cmd *AsyncResolveNodeCommand) Name() string

func (*AsyncResolveNodeCommand) Params

func (cmd *AsyncResolveNodeCommand) Params() interface{}

type AsyncRestartFrameCommand

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

func NewAsyncRestartFrameCommand

func NewAsyncRestartFrameCommand(params *RestartFrameParams, cb RestartFrameCB) *AsyncRestartFrameCommand

func (*AsyncRestartFrameCommand) Done

func (cmd *AsyncRestartFrameCommand) Done(data []byte, err error)

func (*AsyncRestartFrameCommand) Name

func (cmd *AsyncRestartFrameCommand) Name() string

func (*AsyncRestartFrameCommand) Params

func (cmd *AsyncRestartFrameCommand) Params() interface{}

type AsyncResumeCommand

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

func NewAsyncResumeCommand

func NewAsyncResumeCommand(cb ResumeCB) *AsyncResumeCommand

func (*AsyncResumeCommand) Done

func (cmd *AsyncResumeCommand) Done(data []byte, err error)

func (*AsyncResumeCommand) Name

func (cmd *AsyncResumeCommand) Name() string

func (*AsyncResumeCommand) Params

func (cmd *AsyncResumeCommand) Params() interface{}

type AsyncRunIfWaitingForDebuggerCommand

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

func (*AsyncRunIfWaitingForDebuggerCommand) Done

func (cmd *AsyncRunIfWaitingForDebuggerCommand) Done(data []byte, err error)

func (*AsyncRunIfWaitingForDebuggerCommand) Name

func (*AsyncRunIfWaitingForDebuggerCommand) Params

func (cmd *AsyncRunIfWaitingForDebuggerCommand) Params() interface{}

type AsyncRunScriptCommand

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

func NewAsyncRunScriptCommand

func NewAsyncRunScriptCommand(params *RunScriptParams, cb RunScriptCB) *AsyncRunScriptCommand

func (*AsyncRunScriptCommand) Done

func (cmd *AsyncRunScriptCommand) Done(data []byte, err error)

func (*AsyncRunScriptCommand) Name

func (cmd *AsyncRunScriptCommand) Name() string

func (*AsyncRunScriptCommand) Params

func (cmd *AsyncRunScriptCommand) Params() interface{}

type AsyncRuntimeDisableCommand

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

func NewAsyncRuntimeDisableCommand

func NewAsyncRuntimeDisableCommand(cb RuntimeDisableCB) *AsyncRuntimeDisableCommand

func (*AsyncRuntimeDisableCommand) Done

func (cmd *AsyncRuntimeDisableCommand) Done(data []byte, err error)

func (*AsyncRuntimeDisableCommand) Name

func (cmd *AsyncRuntimeDisableCommand) Name() string

func (*AsyncRuntimeDisableCommand) Params

func (cmd *AsyncRuntimeDisableCommand) Params() interface{}

type AsyncRuntimeEnableCommand

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

func NewAsyncRuntimeEnableCommand

func NewAsyncRuntimeEnableCommand(cb RuntimeEnableCB) *AsyncRuntimeEnableCommand

func (*AsyncRuntimeEnableCommand) Done

func (cmd *AsyncRuntimeEnableCommand) Done(data []byte, err error)

func (*AsyncRuntimeEnableCommand) Name

func (cmd *AsyncRuntimeEnableCommand) Name() string

func (*AsyncRuntimeEnableCommand) Params

func (cmd *AsyncRuntimeEnableCommand) Params() interface{}

type AsyncScreencastFrameAckCommand

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

Acknowledges that a screencast frame has been received by the frontend. @experimental

func (*AsyncScreencastFrameAckCommand) Done

func (cmd *AsyncScreencastFrameAckCommand) Done(data []byte, err error)

func (*AsyncScreencastFrameAckCommand) Name

func (*AsyncScreencastFrameAckCommand) Params

func (cmd *AsyncScreencastFrameAckCommand) Params() interface{}

type AsyncSearchInContentCommand

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

Searches for given string in script content. @experimental

func (*AsyncSearchInContentCommand) Done

func (cmd *AsyncSearchInContentCommand) Done(data []byte, err error)

func (*AsyncSearchInContentCommand) Name

func (cmd *AsyncSearchInContentCommand) Name() string

func (*AsyncSearchInContentCommand) Params

func (cmd *AsyncSearchInContentCommand) Params() interface{}

type AsyncSearchInResourceCommand

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

Searches for given string in resource content. @experimental

func (*AsyncSearchInResourceCommand) Done

func (cmd *AsyncSearchInResourceCommand) Done(data []byte, err error)

func (*AsyncSearchInResourceCommand) Name

func (*AsyncSearchInResourceCommand) Params

func (cmd *AsyncSearchInResourceCommand) Params() interface{}

type AsyncSecurityDisableCommand

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

func NewAsyncSecurityDisableCommand

func NewAsyncSecurityDisableCommand(cb SecurityDisableCB) *AsyncSecurityDisableCommand

func (*AsyncSecurityDisableCommand) Done

func (cmd *AsyncSecurityDisableCommand) Done(data []byte, err error)

func (*AsyncSecurityDisableCommand) Name

func (cmd *AsyncSecurityDisableCommand) Name() string

func (*AsyncSecurityDisableCommand) Params

func (cmd *AsyncSecurityDisableCommand) Params() interface{}

type AsyncSecurityEnableCommand

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

func NewAsyncSecurityEnableCommand

func NewAsyncSecurityEnableCommand(cb SecurityEnableCB) *AsyncSecurityEnableCommand

func (*AsyncSecurityEnableCommand) Done

func (cmd *AsyncSecurityEnableCommand) Done(data []byte, err error)

func (*AsyncSecurityEnableCommand) Name

func (cmd *AsyncSecurityEnableCommand) Name() string

func (*AsyncSecurityEnableCommand) Params

func (cmd *AsyncSecurityEnableCommand) Params() interface{}

type AsyncSeekAnimationsCommand

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

func (*AsyncSeekAnimationsCommand) Done

func (cmd *AsyncSeekAnimationsCommand) Done(data []byte, err error)

func (*AsyncSeekAnimationsCommand) Name

func (cmd *AsyncSeekAnimationsCommand) Name() string

func (*AsyncSeekAnimationsCommand) Params

func (cmd *AsyncSeekAnimationsCommand) Params() interface{}

type AsyncSendMessageToTargetCommand

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

func (*AsyncSendMessageToTargetCommand) Done

func (cmd *AsyncSendMessageToTargetCommand) Done(data []byte, err error)

func (*AsyncSendMessageToTargetCommand) Name

func (*AsyncSendMessageToTargetCommand) Params

func (cmd *AsyncSendMessageToTargetCommand) Params() interface{}

type AsyncServiceWorkerDisableCommand

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

func (*AsyncServiceWorkerDisableCommand) Done

func (cmd *AsyncServiceWorkerDisableCommand) Done(data []byte, err error)

func (*AsyncServiceWorkerDisableCommand) Name

func (*AsyncServiceWorkerDisableCommand) Params

func (cmd *AsyncServiceWorkerDisableCommand) Params() interface{}

type AsyncServiceWorkerEnableCommand

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

func (*AsyncServiceWorkerEnableCommand) Done

func (cmd *AsyncServiceWorkerEnableCommand) Done(data []byte, err error)

func (*AsyncServiceWorkerEnableCommand) Name

func (*AsyncServiceWorkerEnableCommand) Params

func (cmd *AsyncServiceWorkerEnableCommand) Params() interface{}

type AsyncSetAsyncCallStackDepthCommand

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

func (*AsyncSetAsyncCallStackDepthCommand) Done

func (cmd *AsyncSetAsyncCallStackDepthCommand) Done(data []byte, err error)

func (*AsyncSetAsyncCallStackDepthCommand) Name

func (*AsyncSetAsyncCallStackDepthCommand) Params

func (cmd *AsyncSetAsyncCallStackDepthCommand) Params() interface{}

type AsyncSetAttachToFramesCommand

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

func (*AsyncSetAttachToFramesCommand) Done

func (cmd *AsyncSetAttachToFramesCommand) Done(data []byte, err error)

func (*AsyncSetAttachToFramesCommand) Name

func (*AsyncSetAttachToFramesCommand) Params

func (cmd *AsyncSetAttachToFramesCommand) Params() interface{}

type AsyncSetAttributeValueCommand

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

func (*AsyncSetAttributeValueCommand) Done

func (cmd *AsyncSetAttributeValueCommand) Done(data []byte, err error)

func (*AsyncSetAttributeValueCommand) Name

func (*AsyncSetAttributeValueCommand) Params

func (cmd *AsyncSetAttributeValueCommand) Params() interface{}

type AsyncSetAttributesAsTextCommand

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

func (*AsyncSetAttributesAsTextCommand) Done

func (cmd *AsyncSetAttributesAsTextCommand) Done(data []byte, err error)

func (*AsyncSetAttributesAsTextCommand) Name

func (*AsyncSetAttributesAsTextCommand) Params

func (cmd *AsyncSetAttributesAsTextCommand) Params() interface{}

type AsyncSetAutoAttachCommand

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

func (*AsyncSetAutoAttachCommand) Done

func (cmd *AsyncSetAutoAttachCommand) Done(data []byte, err error)

func (*AsyncSetAutoAttachCommand) Name

func (cmd *AsyncSetAutoAttachCommand) Name() string

func (*AsyncSetAutoAttachCommand) Params

func (cmd *AsyncSetAutoAttachCommand) Params() interface{}

type AsyncSetAutoAttachToCreatedPagesCommand

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

Controls whether browser will open a new inspector window for connected pages. @experimental

func (*AsyncSetAutoAttachToCreatedPagesCommand) Done

func (cmd *AsyncSetAutoAttachToCreatedPagesCommand) Done(data []byte, err error)

func (*AsyncSetAutoAttachToCreatedPagesCommand) Name

func (*AsyncSetAutoAttachToCreatedPagesCommand) Params

func (cmd *AsyncSetAutoAttachToCreatedPagesCommand) Params() interface{}

type AsyncSetBlackboxPatternsCommand

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

Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. @experimental

func (*AsyncSetBlackboxPatternsCommand) Done

func (cmd *AsyncSetBlackboxPatternsCommand) Done(data []byte, err error)

func (*AsyncSetBlackboxPatternsCommand) Name

func (*AsyncSetBlackboxPatternsCommand) Params

func (cmd *AsyncSetBlackboxPatternsCommand) Params() interface{}

type AsyncSetBlackboxedRangesCommand

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

Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. @experimental

func (*AsyncSetBlackboxedRangesCommand) Done

func (cmd *AsyncSetBlackboxedRangesCommand) Done(data []byte, err error)

func (*AsyncSetBlackboxedRangesCommand) Name

func (*AsyncSetBlackboxedRangesCommand) Params

func (cmd *AsyncSetBlackboxedRangesCommand) Params() interface{}

type AsyncSetBreakpointByUrlCommand

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

func (*AsyncSetBreakpointByUrlCommand) Done

func (cmd *AsyncSetBreakpointByUrlCommand) Done(data []byte, err error)

func (*AsyncSetBreakpointByUrlCommand) Name

func (*AsyncSetBreakpointByUrlCommand) Params

func (cmd *AsyncSetBreakpointByUrlCommand) Params() interface{}

type AsyncSetBreakpointCommand

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

func (*AsyncSetBreakpointCommand) Done

func (cmd *AsyncSetBreakpointCommand) Done(data []byte, err error)

func (*AsyncSetBreakpointCommand) Name

func (cmd *AsyncSetBreakpointCommand) Name() string

func (*AsyncSetBreakpointCommand) Params

func (cmd *AsyncSetBreakpointCommand) Params() interface{}

type AsyncSetBreakpointsActiveCommand

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

func (*AsyncSetBreakpointsActiveCommand) Done

func (cmd *AsyncSetBreakpointsActiveCommand) Done(data []byte, err error)

func (*AsyncSetBreakpointsActiveCommand) Name

func (*AsyncSetBreakpointsActiveCommand) Params

func (cmd *AsyncSetBreakpointsActiveCommand) Params() interface{}

type AsyncSetBypassServiceWorkerCommand

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

Toggles ignoring of service worker for each request. @experimental

func (*AsyncSetBypassServiceWorkerCommand) Done

func (cmd *AsyncSetBypassServiceWorkerCommand) Done(data []byte, err error)

func (*AsyncSetBypassServiceWorkerCommand) Name

func (*AsyncSetBypassServiceWorkerCommand) Params

func (cmd *AsyncSetBypassServiceWorkerCommand) Params() interface{}

type AsyncSetCPUThrottlingRateCommand

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

Enables CPU throttling to emulate slow CPUs. @experimental

func (*AsyncSetCPUThrottlingRateCommand) Done

func (cmd *AsyncSetCPUThrottlingRateCommand) Done(data []byte, err error)

func (*AsyncSetCPUThrottlingRateCommand) Name

func (*AsyncSetCPUThrottlingRateCommand) Params

func (cmd *AsyncSetCPUThrottlingRateCommand) Params() interface{}

type AsyncSetCacheDisabledCommand

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

func (*AsyncSetCacheDisabledCommand) Done

func (cmd *AsyncSetCacheDisabledCommand) Done(data []byte, err error)

func (*AsyncSetCacheDisabledCommand) Name

func (*AsyncSetCacheDisabledCommand) Params

func (cmd *AsyncSetCacheDisabledCommand) Params() interface{}

type AsyncSetColorPickerEnabledCommand

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

Shows / hides color picker @experimental

func (*AsyncSetColorPickerEnabledCommand) Done

func (cmd *AsyncSetColorPickerEnabledCommand) Done(data []byte, err error)

func (*AsyncSetColorPickerEnabledCommand) Name

func (*AsyncSetColorPickerEnabledCommand) Params

func (cmd *AsyncSetColorPickerEnabledCommand) Params() interface{}

type AsyncSetControlNavigationsCommand

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

Toggles navigation throttling which allows programatic control over navigation and redirect response. @experimental

func (*AsyncSetControlNavigationsCommand) Done

func (cmd *AsyncSetControlNavigationsCommand) Done(data []byte, err error)

func (*AsyncSetControlNavigationsCommand) Name

func (*AsyncSetControlNavigationsCommand) Params

func (cmd *AsyncSetControlNavigationsCommand) Params() interface{}

type AsyncSetCookieCommand

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

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. @experimental

func NewAsyncSetCookieCommand

func NewAsyncSetCookieCommand(params *SetCookieParams, cb SetCookieCB) *AsyncSetCookieCommand

func (*AsyncSetCookieCommand) Done

func (cmd *AsyncSetCookieCommand) Done(data []byte, err error)

func (*AsyncSetCookieCommand) Name

func (cmd *AsyncSetCookieCommand) Name() string

func (*AsyncSetCookieCommand) Params

func (cmd *AsyncSetCookieCommand) Params() interface{}

type AsyncSetCustomObjectFormatterEnabledCommand

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

@experimental

func (*AsyncSetCustomObjectFormatterEnabledCommand) Done

func (*AsyncSetCustomObjectFormatterEnabledCommand) Name

func (*AsyncSetCustomObjectFormatterEnabledCommand) Params

func (cmd *AsyncSetCustomObjectFormatterEnabledCommand) Params() interface{}

type AsyncSetDOMBreakpointCommand

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

func (*AsyncSetDOMBreakpointCommand) Done

func (cmd *AsyncSetDOMBreakpointCommand) Done(data []byte, err error)

func (*AsyncSetDOMBreakpointCommand) Name

func (*AsyncSetDOMBreakpointCommand) Params

func (cmd *AsyncSetDOMBreakpointCommand) Params() interface{}

type AsyncSetDOMStorageItemCommand

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

func (*AsyncSetDOMStorageItemCommand) Done

func (cmd *AsyncSetDOMStorageItemCommand) Done(data []byte, err error)

func (*AsyncSetDOMStorageItemCommand) Name

func (*AsyncSetDOMStorageItemCommand) Params

func (cmd *AsyncSetDOMStorageItemCommand) Params() interface{}

type AsyncSetDataSizeLimitsForTestCommand

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

For testing. @experimental

func (*AsyncSetDataSizeLimitsForTestCommand) Done

func (cmd *AsyncSetDataSizeLimitsForTestCommand) Done(data []byte, err error)

func (*AsyncSetDataSizeLimitsForTestCommand) Name

func (*AsyncSetDataSizeLimitsForTestCommand) Params

func (cmd *AsyncSetDataSizeLimitsForTestCommand) Params() interface{}

type AsyncSetDiscoverTargetsCommand

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

func (*AsyncSetDiscoverTargetsCommand) Done

func (cmd *AsyncSetDiscoverTargetsCommand) Done(data []byte, err error)

func (*AsyncSetDiscoverTargetsCommand) Name

func (*AsyncSetDiscoverTargetsCommand) Params

func (cmd *AsyncSetDiscoverTargetsCommand) Params() interface{}

type AsyncSetDocumentContentCommand

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

Sets given markup as the document's HTML. @experimental

func (*AsyncSetDocumentContentCommand) Done

func (cmd *AsyncSetDocumentContentCommand) Done(data []byte, err error)

func (*AsyncSetDocumentContentCommand) Name

func (*AsyncSetDocumentContentCommand) Params

func (cmd *AsyncSetDocumentContentCommand) Params() interface{}

type AsyncSetEffectivePropertyValueForNodeCommand

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

Find a rule with the given active property for the given node and set the new value for this property @experimental

func (*AsyncSetEffectivePropertyValueForNodeCommand) Done

func (*AsyncSetEffectivePropertyValueForNodeCommand) Name

func (*AsyncSetEffectivePropertyValueForNodeCommand) Params

func (cmd *AsyncSetEffectivePropertyValueForNodeCommand) Params() interface{}

type AsyncSetEmulatedMediaCommand

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

func (*AsyncSetEmulatedMediaCommand) Done

func (cmd *AsyncSetEmulatedMediaCommand) Done(data []byte, err error)

func (*AsyncSetEmulatedMediaCommand) Name

func (*AsyncSetEmulatedMediaCommand) Params

func (cmd *AsyncSetEmulatedMediaCommand) Params() interface{}

type AsyncSetEventListenerBreakpointCommand

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

func (*AsyncSetEventListenerBreakpointCommand) Done

func (cmd *AsyncSetEventListenerBreakpointCommand) Done(data []byte, err error)

func (*AsyncSetEventListenerBreakpointCommand) Name

func (*AsyncSetEventListenerBreakpointCommand) Params

func (cmd *AsyncSetEventListenerBreakpointCommand) Params() interface{}

type AsyncSetExtraHTTPHeadersCommand

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

func (*AsyncSetExtraHTTPHeadersCommand) Done

func (cmd *AsyncSetExtraHTTPHeadersCommand) Done(data []byte, err error)

func (*AsyncSetExtraHTTPHeadersCommand) Name

func (*AsyncSetExtraHTTPHeadersCommand) Params

func (cmd *AsyncSetExtraHTTPHeadersCommand) Params() interface{}

type AsyncSetFileInputFilesCommand

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

Sets files for the given file input element. @experimental

func (*AsyncSetFileInputFilesCommand) Done

func (cmd *AsyncSetFileInputFilesCommand) Done(data []byte, err error)

func (*AsyncSetFileInputFilesCommand) Name

func (*AsyncSetFileInputFilesCommand) Params

func (cmd *AsyncSetFileInputFilesCommand) Params() interface{}

type AsyncSetForceUpdateOnPageLoadCommand

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

func (*AsyncSetForceUpdateOnPageLoadCommand) Done

func (cmd *AsyncSetForceUpdateOnPageLoadCommand) Done(data []byte, err error)

func (*AsyncSetForceUpdateOnPageLoadCommand) Name

func (*AsyncSetForceUpdateOnPageLoadCommand) Params

func (cmd *AsyncSetForceUpdateOnPageLoadCommand) Params() interface{}

type AsyncSetInspectModeCommand

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

Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection. @experimental

func (*AsyncSetInspectModeCommand) Done

func (cmd *AsyncSetInspectModeCommand) Done(data []byte, err error)

func (*AsyncSetInspectModeCommand) Name

func (cmd *AsyncSetInspectModeCommand) Name() string

func (*AsyncSetInspectModeCommand) Params

func (cmd *AsyncSetInspectModeCommand) Params() interface{}

type AsyncSetInspectedNodeCommand

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

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). @experimental

func (*AsyncSetInspectedNodeCommand) Done

func (cmd *AsyncSetInspectedNodeCommand) Done(data []byte, err error)

func (*AsyncSetInspectedNodeCommand) Name

func (*AsyncSetInspectedNodeCommand) Params

func (cmd *AsyncSetInspectedNodeCommand) Params() interface{}

type AsyncSetInstrumentationBreakpointCommand

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

Sets breakpoint on particular native event. @experimental

func (*AsyncSetInstrumentationBreakpointCommand) Done

func (cmd *AsyncSetInstrumentationBreakpointCommand) Done(data []byte, err error)

func (*AsyncSetInstrumentationBreakpointCommand) Name

func (*AsyncSetInstrumentationBreakpointCommand) Params

func (cmd *AsyncSetInstrumentationBreakpointCommand) Params() interface{}

type AsyncSetKeyframeKeyCommand

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

func (*AsyncSetKeyframeKeyCommand) Done

func (cmd *AsyncSetKeyframeKeyCommand) Done(data []byte, err error)

func (*AsyncSetKeyframeKeyCommand) Name

func (cmd *AsyncSetKeyframeKeyCommand) Name() string

func (*AsyncSetKeyframeKeyCommand) Params

func (cmd *AsyncSetKeyframeKeyCommand) Params() interface{}

type AsyncSetMediaTextCommand

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

func NewAsyncSetMediaTextCommand

func NewAsyncSetMediaTextCommand(params *SetMediaTextParams, cb SetMediaTextCB) *AsyncSetMediaTextCommand

func (*AsyncSetMediaTextCommand) Done

func (cmd *AsyncSetMediaTextCommand) Done(data []byte, err error)

func (*AsyncSetMediaTextCommand) Name

func (cmd *AsyncSetMediaTextCommand) Name() string

func (*AsyncSetMediaTextCommand) Params

func (cmd *AsyncSetMediaTextCommand) Params() interface{}

type AsyncSetMonitoringXHREnabledCommand

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

Toggles monitoring of XMLHttpRequest. If true, console will receive messages upon each XHR issued. @experimental

func (*AsyncSetMonitoringXHREnabledCommand) Done

func (cmd *AsyncSetMonitoringXHREnabledCommand) Done(data []byte, err error)

func (*AsyncSetMonitoringXHREnabledCommand) Name

func (*AsyncSetMonitoringXHREnabledCommand) Params

func (cmd *AsyncSetMonitoringXHREnabledCommand) Params() interface{}

type AsyncSetNodeNameCommand

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

func NewAsyncSetNodeNameCommand

func NewAsyncSetNodeNameCommand(params *SetNodeNameParams, cb SetNodeNameCB) *AsyncSetNodeNameCommand

func (*AsyncSetNodeNameCommand) Done

func (cmd *AsyncSetNodeNameCommand) Done(data []byte, err error)

func (*AsyncSetNodeNameCommand) Name

func (cmd *AsyncSetNodeNameCommand) Name() string

func (*AsyncSetNodeNameCommand) Params

func (cmd *AsyncSetNodeNameCommand) Params() interface{}

type AsyncSetNodeValueCommand

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

func NewAsyncSetNodeValueCommand

func NewAsyncSetNodeValueCommand(params *SetNodeValueParams, cb SetNodeValueCB) *AsyncSetNodeValueCommand

func (*AsyncSetNodeValueCommand) Done

func (cmd *AsyncSetNodeValueCommand) Done(data []byte, err error)

func (*AsyncSetNodeValueCommand) Name

func (cmd *AsyncSetNodeValueCommand) Name() string

func (*AsyncSetNodeValueCommand) Params

func (cmd *AsyncSetNodeValueCommand) Params() interface{}

type AsyncSetOuterHTMLCommand

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

func NewAsyncSetOuterHTMLCommand

func NewAsyncSetOuterHTMLCommand(params *SetOuterHTMLParams, cb SetOuterHTMLCB) *AsyncSetOuterHTMLCommand

func (*AsyncSetOuterHTMLCommand) Done

func (cmd *AsyncSetOuterHTMLCommand) Done(data []byte, err error)

func (*AsyncSetOuterHTMLCommand) Name

func (cmd *AsyncSetOuterHTMLCommand) Name() string

func (*AsyncSetOuterHTMLCommand) Params

func (cmd *AsyncSetOuterHTMLCommand) Params() interface{}

type AsyncSetPageScaleFactorCommand

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

Sets a specified page scale factor. @experimental

func (*AsyncSetPageScaleFactorCommand) Done

func (cmd *AsyncSetPageScaleFactorCommand) Done(data []byte, err error)

func (*AsyncSetPageScaleFactorCommand) Name

func (*AsyncSetPageScaleFactorCommand) Params

func (cmd *AsyncSetPageScaleFactorCommand) Params() interface{}

type AsyncSetPauseOnExceptionsCommand

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

func (*AsyncSetPauseOnExceptionsCommand) Done

func (cmd *AsyncSetPauseOnExceptionsCommand) Done(data []byte, err error)

func (*AsyncSetPauseOnExceptionsCommand) Name

func (*AsyncSetPauseOnExceptionsCommand) Params

func (cmd *AsyncSetPauseOnExceptionsCommand) Params() interface{}

type AsyncSetPausedCommand

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

func NewAsyncSetPausedCommand

func NewAsyncSetPausedCommand(params *SetPausedParams, cb SetPausedCB) *AsyncSetPausedCommand

func (*AsyncSetPausedCommand) Done

func (cmd *AsyncSetPausedCommand) Done(data []byte, err error)

func (*AsyncSetPausedCommand) Name

func (cmd *AsyncSetPausedCommand) Name() string

func (*AsyncSetPausedCommand) Params

func (cmd *AsyncSetPausedCommand) Params() interface{}

type AsyncSetPlaybackRateCommand

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

func (*AsyncSetPlaybackRateCommand) Done

func (cmd *AsyncSetPlaybackRateCommand) Done(data []byte, err error)

func (*AsyncSetPlaybackRateCommand) Name

func (cmd *AsyncSetPlaybackRateCommand) Name() string

func (*AsyncSetPlaybackRateCommand) Params

func (cmd *AsyncSetPlaybackRateCommand) Params() interface{}

type AsyncSetPressureNotificationsSuppressedCommand

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

func (*AsyncSetPressureNotificationsSuppressedCommand) Done

func (*AsyncSetPressureNotificationsSuppressedCommand) Name

func (*AsyncSetPressureNotificationsSuppressedCommand) Params

func (cmd *AsyncSetPressureNotificationsSuppressedCommand) Params() interface{}

type AsyncSetRemoteLocationsCommand

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

func (*AsyncSetRemoteLocationsCommand) Done

func (cmd *AsyncSetRemoteLocationsCommand) Done(data []byte, err error)

func (*AsyncSetRemoteLocationsCommand) Name

func (*AsyncSetRemoteLocationsCommand) Params

func (cmd *AsyncSetRemoteLocationsCommand) Params() interface{}

type AsyncSetRuleSelectorCommand

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

func (*AsyncSetRuleSelectorCommand) Done

func (cmd *AsyncSetRuleSelectorCommand) Done(data []byte, err error)

func (*AsyncSetRuleSelectorCommand) Name

func (cmd *AsyncSetRuleSelectorCommand) Name() string

func (*AsyncSetRuleSelectorCommand) Params

func (cmd *AsyncSetRuleSelectorCommand) Params() interface{}

type AsyncSetSamplingIntervalCommand

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

func (*AsyncSetSamplingIntervalCommand) Done

func (cmd *AsyncSetSamplingIntervalCommand) Done(data []byte, err error)

func (*AsyncSetSamplingIntervalCommand) Name

func (*AsyncSetSamplingIntervalCommand) Params

func (cmd *AsyncSetSamplingIntervalCommand) Params() interface{}

type AsyncSetScriptExecutionDisabledCommand

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

Switches script execution in the page. @experimental

func (*AsyncSetScriptExecutionDisabledCommand) Done

func (cmd *AsyncSetScriptExecutionDisabledCommand) Done(data []byte, err error)

func (*AsyncSetScriptExecutionDisabledCommand) Name

func (*AsyncSetScriptExecutionDisabledCommand) Params

func (cmd *AsyncSetScriptExecutionDisabledCommand) Params() interface{}

type AsyncSetScriptSourceCommand

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

func (*AsyncSetScriptSourceCommand) Done

func (cmd *AsyncSetScriptSourceCommand) Done(data []byte, err error)

func (*AsyncSetScriptSourceCommand) Name

func (cmd *AsyncSetScriptSourceCommand) Name() string

func (*AsyncSetScriptSourceCommand) Params

func (cmd *AsyncSetScriptSourceCommand) Params() interface{}

type AsyncSetShowDebugBordersCommand

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

func (*AsyncSetShowDebugBordersCommand) Done

func (cmd *AsyncSetShowDebugBordersCommand) Done(data []byte, err error)

func (*AsyncSetShowDebugBordersCommand) Name

func (*AsyncSetShowDebugBordersCommand) Params

func (cmd *AsyncSetShowDebugBordersCommand) Params() interface{}

type AsyncSetShowFPSCounterCommand

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

func (*AsyncSetShowFPSCounterCommand) Done

func (cmd *AsyncSetShowFPSCounterCommand) Done(data []byte, err error)

func (*AsyncSetShowFPSCounterCommand) Name

func (*AsyncSetShowFPSCounterCommand) Params

func (cmd *AsyncSetShowFPSCounterCommand) Params() interface{}

type AsyncSetShowPaintRectsCommand

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

func (*AsyncSetShowPaintRectsCommand) Done

func (cmd *AsyncSetShowPaintRectsCommand) Done(data []byte, err error)

func (*AsyncSetShowPaintRectsCommand) Name

func (*AsyncSetShowPaintRectsCommand) Params

func (cmd *AsyncSetShowPaintRectsCommand) Params() interface{}

type AsyncSetShowScrollBottleneckRectsCommand

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

func (*AsyncSetShowScrollBottleneckRectsCommand) Done

func (cmd *AsyncSetShowScrollBottleneckRectsCommand) Done(data []byte, err error)

func (*AsyncSetShowScrollBottleneckRectsCommand) Name

func (*AsyncSetShowScrollBottleneckRectsCommand) Params

func (cmd *AsyncSetShowScrollBottleneckRectsCommand) Params() interface{}

type AsyncSetShowViewportSizeOnResizeCommand

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

func (*AsyncSetShowViewportSizeOnResizeCommand) Done

func (cmd *AsyncSetShowViewportSizeOnResizeCommand) Done(data []byte, err error)

func (*AsyncSetShowViewportSizeOnResizeCommand) Name

func (*AsyncSetShowViewportSizeOnResizeCommand) Params

func (cmd *AsyncSetShowViewportSizeOnResizeCommand) Params() interface{}

type AsyncSetSkipAllPausesCommand

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

func (*AsyncSetSkipAllPausesCommand) Done

func (cmd *AsyncSetSkipAllPausesCommand) Done(data []byte, err error)

func (*AsyncSetSkipAllPausesCommand) Name

func (*AsyncSetSkipAllPausesCommand) Params

func (cmd *AsyncSetSkipAllPausesCommand) Params() interface{}

type AsyncSetStyleSheetTextCommand

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

func (*AsyncSetStyleSheetTextCommand) Done

func (cmd *AsyncSetStyleSheetTextCommand) Done(data []byte, err error)

func (*AsyncSetStyleSheetTextCommand) Name

func (*AsyncSetStyleSheetTextCommand) Params

func (cmd *AsyncSetStyleSheetTextCommand) Params() interface{}

type AsyncSetStyleTextsCommand

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

func (*AsyncSetStyleTextsCommand) Done

func (cmd *AsyncSetStyleTextsCommand) Done(data []byte, err error)

func (*AsyncSetStyleTextsCommand) Name

func (cmd *AsyncSetStyleTextsCommand) Name() string

func (*AsyncSetStyleTextsCommand) Params

func (cmd *AsyncSetStyleTextsCommand) Params() interface{}

type AsyncSetTimingCommand

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

func NewAsyncSetTimingCommand

func NewAsyncSetTimingCommand(params *SetTimingParams, cb SetTimingCB) *AsyncSetTimingCommand

func (*AsyncSetTimingCommand) Done

func (cmd *AsyncSetTimingCommand) Done(data []byte, err error)

func (*AsyncSetTimingCommand) Name

func (cmd *AsyncSetTimingCommand) Name() string

func (*AsyncSetTimingCommand) Params

func (cmd *AsyncSetTimingCommand) Params() interface{}

type AsyncSetUserAgentOverrideCommand

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

func (*AsyncSetUserAgentOverrideCommand) Done

func (cmd *AsyncSetUserAgentOverrideCommand) Done(data []byte, err error)

func (*AsyncSetUserAgentOverrideCommand) Name

func (*AsyncSetUserAgentOverrideCommand) Params

func (cmd *AsyncSetUserAgentOverrideCommand) Params() interface{}

type AsyncSetVariableValueCommand

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

func (*AsyncSetVariableValueCommand) Done

func (cmd *AsyncSetVariableValueCommand) Done(data []byte, err error)

func (*AsyncSetVariableValueCommand) Name

func (*AsyncSetVariableValueCommand) Params

func (cmd *AsyncSetVariableValueCommand) Params() interface{}

type AsyncSetVirtualTimePolicyCommand

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

Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy. Note this supersedes any previous time budget. @experimental

func (*AsyncSetVirtualTimePolicyCommand) Done

func (cmd *AsyncSetVirtualTimePolicyCommand) Done(data []byte, err error)

func (*AsyncSetVirtualTimePolicyCommand) Name

func (*AsyncSetVirtualTimePolicyCommand) Params

func (cmd *AsyncSetVirtualTimePolicyCommand) Params() interface{}

type AsyncSetVisibleSizeCommand

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

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android. @experimental

func (*AsyncSetVisibleSizeCommand) Done

func (cmd *AsyncSetVisibleSizeCommand) Done(data []byte, err error)

func (*AsyncSetVisibleSizeCommand) Name

func (cmd *AsyncSetVisibleSizeCommand) Name() string

func (*AsyncSetVisibleSizeCommand) Params

func (cmd *AsyncSetVisibleSizeCommand) Params() interface{}

type AsyncSetXHRBreakpointCommand

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

func (*AsyncSetXHRBreakpointCommand) Done

func (cmd *AsyncSetXHRBreakpointCommand) Done(data []byte, err error)

func (*AsyncSetXHRBreakpointCommand) Name

func (*AsyncSetXHRBreakpointCommand) Params

func (cmd *AsyncSetXHRBreakpointCommand) Params() interface{}

type AsyncShowCertificateViewerCommand

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

func (*AsyncShowCertificateViewerCommand) Done

func (cmd *AsyncShowCertificateViewerCommand) Done(data []byte, err error)

func (*AsyncShowCertificateViewerCommand) Name

func (*AsyncShowCertificateViewerCommand) Params

func (cmd *AsyncShowCertificateViewerCommand) Params() interface{}

type AsyncSimulatePressureNotificationCommand

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

func (*AsyncSimulatePressureNotificationCommand) Done

func (cmd *AsyncSimulatePressureNotificationCommand) Done(data []byte, err error)

func (*AsyncSimulatePressureNotificationCommand) Name

func (*AsyncSimulatePressureNotificationCommand) Params

func (cmd *AsyncSimulatePressureNotificationCommand) Params() interface{}

type AsyncSkipWaitingCommand

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

func NewAsyncSkipWaitingCommand

func NewAsyncSkipWaitingCommand(params *SkipWaitingParams, cb SkipWaitingCB) *AsyncSkipWaitingCommand

func (*AsyncSkipWaitingCommand) Done

func (cmd *AsyncSkipWaitingCommand) Done(data []byte, err error)

func (*AsyncSkipWaitingCommand) Name

func (cmd *AsyncSkipWaitingCommand) Name() string

func (*AsyncSkipWaitingCommand) Params

func (cmd *AsyncSkipWaitingCommand) Params() interface{}

type AsyncSnapshotCommandLogCommand

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

func (*AsyncSnapshotCommandLogCommand) Done

func (cmd *AsyncSnapshotCommandLogCommand) Done(data []byte, err error)

func (*AsyncSnapshotCommandLogCommand) Name

func (*AsyncSnapshotCommandLogCommand) Params

func (cmd *AsyncSnapshotCommandLogCommand) Params() interface{}

type AsyncStartRuleUsageTrackingCommand

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

Enables the selector recording. @experimental

func (*AsyncStartRuleUsageTrackingCommand) Done

func (cmd *AsyncStartRuleUsageTrackingCommand) Done(data []byte, err error)

func (*AsyncStartRuleUsageTrackingCommand) Name

func (*AsyncStartRuleUsageTrackingCommand) Params

func (cmd *AsyncStartRuleUsageTrackingCommand) Params() interface{}

type AsyncStartSamplingCommand

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

func (*AsyncStartSamplingCommand) Done

func (cmd *AsyncStartSamplingCommand) Done(data []byte, err error)

func (*AsyncStartSamplingCommand) Name

func (cmd *AsyncStartSamplingCommand) Name() string

func (*AsyncStartSamplingCommand) Params

func (cmd *AsyncStartSamplingCommand) Params() interface{}

type AsyncStartScreencastCommand

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

Starts sending each frame using the screencastFrame event. @experimental

func (*AsyncStartScreencastCommand) Done

func (cmd *AsyncStartScreencastCommand) Done(data []byte, err error)

func (*AsyncStartScreencastCommand) Name

func (cmd *AsyncStartScreencastCommand) Name() string

func (*AsyncStartScreencastCommand) Params

func (cmd *AsyncStartScreencastCommand) Params() interface{}

type AsyncStartTrackingHeapObjectsCommand

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

func (*AsyncStartTrackingHeapObjectsCommand) Done

func (cmd *AsyncStartTrackingHeapObjectsCommand) Done(data []byte, err error)

func (*AsyncStartTrackingHeapObjectsCommand) Name

func (*AsyncStartTrackingHeapObjectsCommand) Params

func (cmd *AsyncStartTrackingHeapObjectsCommand) Params() interface{}

type AsyncStartViolationsReportCommand

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

func (*AsyncStartViolationsReportCommand) Done

func (cmd *AsyncStartViolationsReportCommand) Done(data []byte, err error)

func (*AsyncStartViolationsReportCommand) Name

func (*AsyncStartViolationsReportCommand) Params

func (cmd *AsyncStartViolationsReportCommand) Params() interface{}

type AsyncStartWorkerCommand

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

func NewAsyncStartWorkerCommand

func NewAsyncStartWorkerCommand(params *StartWorkerParams, cb StartWorkerCB) *AsyncStartWorkerCommand

func (*AsyncStartWorkerCommand) Done

func (cmd *AsyncStartWorkerCommand) Done(data []byte, err error)

func (*AsyncStartWorkerCommand) Name

func (cmd *AsyncStartWorkerCommand) Name() string

func (*AsyncStartWorkerCommand) Params

func (cmd *AsyncStartWorkerCommand) Params() interface{}

type AsyncStepIntoCommand

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

func NewAsyncStepIntoCommand

func NewAsyncStepIntoCommand(cb StepIntoCB) *AsyncStepIntoCommand

func (*AsyncStepIntoCommand) Done

func (cmd *AsyncStepIntoCommand) Done(data []byte, err error)

func (*AsyncStepIntoCommand) Name

func (cmd *AsyncStepIntoCommand) Name() string

func (*AsyncStepIntoCommand) Params

func (cmd *AsyncStepIntoCommand) Params() interface{}

type AsyncStepOutCommand

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

func NewAsyncStepOutCommand

func NewAsyncStepOutCommand(cb StepOutCB) *AsyncStepOutCommand

func (*AsyncStepOutCommand) Done

func (cmd *AsyncStepOutCommand) Done(data []byte, err error)

func (*AsyncStepOutCommand) Name

func (cmd *AsyncStepOutCommand) Name() string

func (*AsyncStepOutCommand) Params

func (cmd *AsyncStepOutCommand) Params() interface{}

type AsyncStepOverCommand

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

func NewAsyncStepOverCommand

func NewAsyncStepOverCommand(cb StepOverCB) *AsyncStepOverCommand

func (*AsyncStepOverCommand) Done

func (cmd *AsyncStepOverCommand) Done(data []byte, err error)

func (*AsyncStepOverCommand) Name

func (cmd *AsyncStepOverCommand) Name() string

func (*AsyncStepOverCommand) Params

func (cmd *AsyncStepOverCommand) Params() interface{}

type AsyncStopCommand

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

func NewAsyncStopCommand

func NewAsyncStopCommand(cb StopCB) *AsyncStopCommand

func (*AsyncStopCommand) Done

func (cmd *AsyncStopCommand) Done(data []byte, err error)

func (*AsyncStopCommand) Name

func (cmd *AsyncStopCommand) Name() string

func (*AsyncStopCommand) Params

func (cmd *AsyncStopCommand) Params() interface{}

type AsyncStopLoadingCommand

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

Force the page stop all navigations and pending resource fetches. @experimental

func NewAsyncStopLoadingCommand

func NewAsyncStopLoadingCommand(cb StopLoadingCB) *AsyncStopLoadingCommand

func (*AsyncStopLoadingCommand) Done

func (cmd *AsyncStopLoadingCommand) Done(data []byte, err error)

func (*AsyncStopLoadingCommand) Name

func (cmd *AsyncStopLoadingCommand) Name() string

func (*AsyncStopLoadingCommand) Params

func (cmd *AsyncStopLoadingCommand) Params() interface{}

type AsyncStopRuleUsageTrackingCommand

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

The list of rules with an indication of whether these were used @experimental

func (*AsyncStopRuleUsageTrackingCommand) Done

func (cmd *AsyncStopRuleUsageTrackingCommand) Done(data []byte, err error)

func (*AsyncStopRuleUsageTrackingCommand) Name

func (*AsyncStopRuleUsageTrackingCommand) Params

func (cmd *AsyncStopRuleUsageTrackingCommand) Params() interface{}

type AsyncStopSamplingCommand

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

func NewAsyncStopSamplingCommand

func NewAsyncStopSamplingCommand(cb StopSamplingCB) *AsyncStopSamplingCommand

func (*AsyncStopSamplingCommand) Done

func (cmd *AsyncStopSamplingCommand) Done(data []byte, err error)

func (*AsyncStopSamplingCommand) Name

func (cmd *AsyncStopSamplingCommand) Name() string

func (*AsyncStopSamplingCommand) Params

func (cmd *AsyncStopSamplingCommand) Params() interface{}

type AsyncStopScreencastCommand

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

Stops sending each frame in the screencastFrame. @experimental

func NewAsyncStopScreencastCommand

func NewAsyncStopScreencastCommand(cb StopScreencastCB) *AsyncStopScreencastCommand

func (*AsyncStopScreencastCommand) Done

func (cmd *AsyncStopScreencastCommand) Done(data []byte, err error)

func (*AsyncStopScreencastCommand) Name

func (cmd *AsyncStopScreencastCommand) Name() string

func (*AsyncStopScreencastCommand) Params

func (cmd *AsyncStopScreencastCommand) Params() interface{}

type AsyncStopTrackingHeapObjectsCommand

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

func (*AsyncStopTrackingHeapObjectsCommand) Done

func (cmd *AsyncStopTrackingHeapObjectsCommand) Done(data []byte, err error)

func (*AsyncStopTrackingHeapObjectsCommand) Name

func (*AsyncStopTrackingHeapObjectsCommand) Params

func (cmd *AsyncStopTrackingHeapObjectsCommand) Params() interface{}

type AsyncStopViolationsReportCommand

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

func (*AsyncStopViolationsReportCommand) Done

func (cmd *AsyncStopViolationsReportCommand) Done(data []byte, err error)

func (*AsyncStopViolationsReportCommand) Name

func (*AsyncStopViolationsReportCommand) Params

func (cmd *AsyncStopViolationsReportCommand) Params() interface{}

type AsyncStopWorkerCommand

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

func NewAsyncStopWorkerCommand

func NewAsyncStopWorkerCommand(params *StopWorkerParams, cb StopWorkerCB) *AsyncStopWorkerCommand

func (*AsyncStopWorkerCommand) Done

func (cmd *AsyncStopWorkerCommand) Done(data []byte, err error)

func (*AsyncStopWorkerCommand) Name

func (cmd *AsyncStopWorkerCommand) Name() string

func (*AsyncStopWorkerCommand) Params

func (cmd *AsyncStopWorkerCommand) Params() interface{}

type AsyncSynthesizePinchGestureCommand

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

Synthesizes a pinch gesture over a time period by issuing appropriate touch events. @experimental

func (*AsyncSynthesizePinchGestureCommand) Done

func (cmd *AsyncSynthesizePinchGestureCommand) Done(data []byte, err error)

func (*AsyncSynthesizePinchGestureCommand) Name

func (*AsyncSynthesizePinchGestureCommand) Params

func (cmd *AsyncSynthesizePinchGestureCommand) Params() interface{}

type AsyncSynthesizeScrollGestureCommand

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

Synthesizes a scroll gesture over a time period by issuing appropriate touch events. @experimental

func (*AsyncSynthesizeScrollGestureCommand) Done

func (cmd *AsyncSynthesizeScrollGestureCommand) Done(data []byte, err error)

func (*AsyncSynthesizeScrollGestureCommand) Name

func (*AsyncSynthesizeScrollGestureCommand) Params

func (cmd *AsyncSynthesizeScrollGestureCommand) Params() interface{}

type AsyncSynthesizeTapGestureCommand

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

Synthesizes a tap gesture over a time period by issuing appropriate touch events. @experimental

func (*AsyncSynthesizeTapGestureCommand) Done

func (cmd *AsyncSynthesizeTapGestureCommand) Done(data []byte, err error)

func (*AsyncSynthesizeTapGestureCommand) Name

func (*AsyncSynthesizeTapGestureCommand) Params

func (cmd *AsyncSynthesizeTapGestureCommand) Params() interface{}

type AsyncTakeHeapSnapshotCommand

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

func (*AsyncTakeHeapSnapshotCommand) Done

func (cmd *AsyncTakeHeapSnapshotCommand) Done(data []byte, err error)

func (*AsyncTakeHeapSnapshotCommand) Name

func (*AsyncTakeHeapSnapshotCommand) Params

func (cmd *AsyncTakeHeapSnapshotCommand) Params() interface{}

type AsyncTracingStartCommand

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

func NewAsyncTracingStartCommand

func NewAsyncTracingStartCommand(params *TracingStartParams, cb TracingStartCB) *AsyncTracingStartCommand

func (*AsyncTracingStartCommand) Done

func (cmd *AsyncTracingStartCommand) Done(data []byte, err error)

func (*AsyncTracingStartCommand) Name

func (cmd *AsyncTracingStartCommand) Name() string

func (*AsyncTracingStartCommand) Params

func (cmd *AsyncTracingStartCommand) Params() interface{}

type AsyncUnbindCommand

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

func NewAsyncUnbindCommand

func NewAsyncUnbindCommand(params *UnbindParams, cb UnbindCB) *AsyncUnbindCommand

func (*AsyncUnbindCommand) Done

func (cmd *AsyncUnbindCommand) Done(data []byte, err error)

func (*AsyncUnbindCommand) Name

func (cmd *AsyncUnbindCommand) Name() string

func (*AsyncUnbindCommand) Params

func (cmd *AsyncUnbindCommand) Params() interface{}

type AsyncUndoCommand

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

Undoes the last performed action. @experimental

func NewAsyncUndoCommand

func NewAsyncUndoCommand(cb UndoCB) *AsyncUndoCommand

func (*AsyncUndoCommand) Done

func (cmd *AsyncUndoCommand) Done(data []byte, err error)

func (*AsyncUndoCommand) Name

func (cmd *AsyncUndoCommand) Name() string

func (*AsyncUndoCommand) Params

func (cmd *AsyncUndoCommand) Params() interface{}

type AsyncUnregisterCommand

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

func NewAsyncUnregisterCommand

func NewAsyncUnregisterCommand(params *UnregisterParams, cb UnregisterCB) *AsyncUnregisterCommand

func (*AsyncUnregisterCommand) Done

func (cmd *AsyncUnregisterCommand) Done(data []byte, err error)

func (*AsyncUnregisterCommand) Name

func (cmd *AsyncUnregisterCommand) Name() string

func (*AsyncUnregisterCommand) Params

func (cmd *AsyncUnregisterCommand) Params() interface{}

type AsyncUpdateRegistrationCommand

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

func (*AsyncUpdateRegistrationCommand) Done

func (cmd *AsyncUpdateRegistrationCommand) Done(data []byte, err error)

func (*AsyncUpdateRegistrationCommand) Name

func (*AsyncUpdateRegistrationCommand) Params

func (cmd *AsyncUpdateRegistrationCommand) Params() interface{}

type AttachToTargetCB

type AttachToTargetCB func(result *AttachToTargetResult, err error)

type AttachToTargetCommand

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

func NewAttachToTargetCommand

func NewAttachToTargetCommand(params *AttachToTargetParams) *AttachToTargetCommand

func (*AttachToTargetCommand) Done

func (cmd *AttachToTargetCommand) Done(data []byte, err error)

func (*AttachToTargetCommand) Name

func (cmd *AttachToTargetCommand) Name() string

func (*AttachToTargetCommand) Params

func (cmd *AttachToTargetCommand) Params() interface{}

func (*AttachToTargetCommand) Result

func (*AttachToTargetCommand) Run

func (cmd *AttachToTargetCommand) Run(conn *hc.Conn) error

type AttachToTargetParams

type AttachToTargetParams struct {
	TargetId TargetID `json:"targetId"`
}

type AttachToTargetResult

type AttachToTargetResult struct {
	Success bool `json:"success"` // Whether attach succeeded.
}

func AttachToTarget

func AttachToTarget(params *AttachToTargetParams, conn *hc.Conn) (result *AttachToTargetResult, err error)

type AttachedToTargetEvent

type AttachedToTargetEvent struct {
	TargetInfo         *TargetInfo `json:"targetInfo"`
	WaitingForDebugger bool        `json:"waitingForDebugger"`
}

type AttributeModifiedEvent

type AttributeModifiedEvent struct {
	NodeId NodeId `json:"nodeId"` // Id of the node that has changed.
	Name   string `json:"name"`   // Attribute name.
	Value  string `json:"value"`  // Attribute value.
}

type AttributeRemovedEvent

type AttributeRemovedEvent struct {
	NodeId NodeId `json:"nodeId"` // Id of the node that has changed.
	Name   string `json:"name"`   // A ttribute name.
}

type AwaitPromiseCB

type AwaitPromiseCB func(result *AwaitPromiseResult, err error)

type AwaitPromiseCommand

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

func NewAwaitPromiseCommand

func NewAwaitPromiseCommand(params *AwaitPromiseParams) *AwaitPromiseCommand

func (*AwaitPromiseCommand) Done

func (cmd *AwaitPromiseCommand) Done(data []byte, err error)

func (*AwaitPromiseCommand) Name

func (cmd *AwaitPromiseCommand) Name() string

func (*AwaitPromiseCommand) Params

func (cmd *AwaitPromiseCommand) Params() interface{}

func (*AwaitPromiseCommand) Result

func (cmd *AwaitPromiseCommand) Result() *AwaitPromiseResult

func (*AwaitPromiseCommand) Run

func (cmd *AwaitPromiseCommand) Run(conn *hc.Conn) error

type AwaitPromiseParams

type AwaitPromiseParams struct {
	PromiseObjectId RemoteObjectId `json:"promiseObjectId"`           // Identifier of the promise.
	ReturnByValue   bool           `json:"returnByValue,omitempty"`   // Whether the result is expected to be a JSON object that should be sent by value.
	GeneratePreview bool           `json:"generatePreview,omitempty"` // Whether preview should be generated for the result.
}

type AwaitPromiseResult

type AwaitPromiseResult struct {
	Result           *RemoteObject     `json:"result"`           // Promise result. Will contain rejected value if promise was rejected.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details if stack strace is available.
}

func AwaitPromise

func AwaitPromise(params *AwaitPromiseParams, conn *hc.Conn) (result *AwaitPromiseResult, err error)

type BackendNode

type BackendNode struct {
	NodeType      int           `json:"nodeType"` // Node's nodeType.
	NodeName      string        `json:"nodeName"` // Node's nodeName.
	BackendNodeId BackendNodeId `json:"backendNodeId"`
}

Backend node with a friendly name. @experimental

type BackendNodeId

type BackendNodeId int

Unique DOM node identifier used to reference a node that may not have been pushed to the front-end. @experimental

type BindCB

type BindCB func(err error)

type BindCommand

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

func NewBindCommand

func NewBindCommand(params *BindParams) *BindCommand

func (*BindCommand) Done

func (cmd *BindCommand) Done(data []byte, err error)

func (*BindCommand) Name

func (cmd *BindCommand) Name() string

func (*BindCommand) Params

func (cmd *BindCommand) Params() interface{}

func (*BindCommand) Run

func (cmd *BindCommand) Run(conn *hc.Conn) error

type BindParams

type BindParams struct {
	Port int `json:"port"` // Port number to bind.
}

type BlockedReason

type BlockedReason string

The reason why request was blocked. @experimental

const BlockedReasonCsp BlockedReason = "csp"
const BlockedReasonInspector BlockedReason = "inspector"
const BlockedReasonMixedContent BlockedReason = "mixed-content"
const BlockedReasonOrigin BlockedReason = "origin"
const BlockedReasonOther BlockedReason = "other"
const BlockedReasonSubresourceFilter BlockedReason = "subresource-filter"

type BoxModel

type BoxModel struct {
	Content      Quad              `json:"content"`                // Content box
	Padding      Quad              `json:"padding"`                // Padding box
	Border       Quad              `json:"border"`                 // Border box
	Margin       Quad              `json:"margin"`                 // Margin box
	Width        int               `json:"width"`                  // Node width
	Height       int               `json:"height"`                 // Node height
	ShapeOutside *ShapeOutsideInfo `json:"shapeOutside,omitempty"` // Shape outside coordinates
}

Box model. @experimental

type BreakpointId

type BreakpointId string

Breakpoint identifier.

type BreakpointResolvedEvent

type BreakpointResolvedEvent struct {
	BreakpointId BreakpointId `json:"breakpointId"` // Breakpoint unique identifier.
	Location     *Location    `json:"location"`     // Actual breakpoint location.
}

type BrowserContextID

type BrowserContextID string

type BufferUsageEvent

type BufferUsageEvent struct {
	PercentFull float64 `json:"percentFull"` // A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.
	EventCount  float64 `json:"eventCount"`  // An approximate number of events in the trace log.
	Value       float64 `json:"value"`       // A number in range [0..1] that indicates the used size of event buffer as a fraction of its total size.
}

type CSSComputedStyleProperty

type CSSComputedStyleProperty struct {
	Name  string `json:"name"`  // Computed style property name.
	Value string `json:"value"` // Computed style property value.
}

type CSSDisableCB

type CSSDisableCB func(err error)

type CSSDisableCommand

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

func NewCSSDisableCommand

func NewCSSDisableCommand() *CSSDisableCommand

func (*CSSDisableCommand) Done

func (cmd *CSSDisableCommand) Done(data []byte, err error)

func (*CSSDisableCommand) Name

func (cmd *CSSDisableCommand) Name() string

func (*CSSDisableCommand) Params

func (cmd *CSSDisableCommand) Params() interface{}

func (*CSSDisableCommand) Run

func (cmd *CSSDisableCommand) Run(conn *hc.Conn) error

type CSSEnableCB

type CSSEnableCB func(err error)

type CSSEnableCommand

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

func NewCSSEnableCommand

func NewCSSEnableCommand() *CSSEnableCommand

func (*CSSEnableCommand) Done

func (cmd *CSSEnableCommand) Done(data []byte, err error)

func (*CSSEnableCommand) Name

func (cmd *CSSEnableCommand) Name() string

func (*CSSEnableCommand) Params

func (cmd *CSSEnableCommand) Params() interface{}

func (*CSSEnableCommand) Run

func (cmd *CSSEnableCommand) Run(conn *hc.Conn) error

type CSSKeyframeRule

type CSSKeyframeRule struct {
	StyleSheetId StyleSheetId     `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
	Origin       StyleSheetOrigin `json:"origin"`                 // Parent stylesheet's origin.
	KeyText      *Value           `json:"keyText"`                // Associated key text.
	Style        *CSSStyle        `json:"style"`                  // Associated style declaration.
}

CSS keyframe rule representation.

type CSSKeyframesRule

type CSSKeyframesRule struct {
	AnimationName *Value             `json:"animationName"` // Animation name.
	Keyframes     []*CSSKeyframeRule `json:"keyframes"`     // List of keyframes.
}

CSS keyframes rule representation.

type CSSMedia

type CSSMedia struct {
	Text         string        `json:"text"`                   // Media query text.
	Source       string        `json:"source"`                 // Source of the media query: "mediaRule" if specified by a @media rule, "importRule" if specified by an @import rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag.
	SourceURL    string        `json:"sourceURL,omitempty"`    // URL of the document containing the media query description.
	Range        *SourceRange  `json:"range,omitempty"`        // The associated rule (@media or @import) header range in the enclosing stylesheet (if available).
	StyleSheetId StyleSheetId  `json:"styleSheetId,omitempty"` // Identifier of the stylesheet containing this object (if exists).
	MediaList    []*MediaQuery `json:"mediaList,omitempty"`    // Array of media queries.
}

CSS media rule descriptor.

type CSSProperty

type CSSProperty struct {
	Name      string       `json:"name"`                // The property name.
	Value     string       `json:"value"`               // The property value.
	Important bool         `json:"important,omitempty"` // Whether the property has "!important" annotation (implies false if absent).
	Implicit  bool         `json:"implicit,omitempty"`  // Whether the property is implicit (implies false if absent).
	Text      string       `json:"text,omitempty"`      // The full property text as specified in the style.
	ParsedOk  bool         `json:"parsedOk,omitempty"`  // Whether the property is understood by the browser (implies true if absent).
	Disabled  bool         `json:"disabled,omitempty"`  // Whether the property is disabled by the user (present for source-based properties only).
	Range     *SourceRange `json:"range,omitempty"`     // The entire property range in the enclosing style declaration (if available).
}

CSS property declaration data.

type CSSRule

type CSSRule struct {
	StyleSheetId StyleSheetId     `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
	SelectorList *SelectorList    `json:"selectorList"`           // Rule selector data.
	Origin       StyleSheetOrigin `json:"origin"`                 // Parent stylesheet's origin.
	Style        *CSSStyle        `json:"style"`                  // Associated style declaration.
	Media        []*CSSMedia      `json:"media,omitempty"`        // Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
}

CSS rule representation.

type CSSStyle

type CSSStyle struct {
	StyleSheetId     StyleSheetId      `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
	CssProperties    []*CSSProperty    `json:"cssProperties"`          // CSS properties in the style.
	ShorthandEntries []*ShorthandEntry `json:"shorthandEntries"`       // Computed values for all shorthands found in the style.
	CssText          string            `json:"cssText,omitempty"`      // Style declaration text (if available).
	Range            *SourceRange      `json:"range,omitempty"`        // Style declaration range in the enclosing stylesheet (if available).
}

CSS style representation.

type CSSStyleSheetHeader

type CSSStyleSheetHeader struct {
	StyleSheetId StyleSheetId     `json:"styleSheetId"`           // The stylesheet identifier.
	FrameId      *FrameId         `json:"frameId"`                // Owner frame identifier.
	SourceURL    string           `json:"sourceURL"`              // Stylesheet resource URL.
	SourceMapURL string           `json:"sourceMapURL,omitempty"` // URL of source map associated with the stylesheet (if any).
	Origin       StyleSheetOrigin `json:"origin"`                 // Stylesheet origin.
	Title        string           `json:"title"`                  // Stylesheet title.
	OwnerNode    *BackendNodeId   `json:"ownerNode,omitempty"`    // The backend id for the owner node of the stylesheet.
	Disabled     bool             `json:"disabled"`               // Denotes whether the stylesheet is disabled.
	HasSourceURL bool             `json:"hasSourceURL,omitempty"` // Whether the sourceURL field value comes from the sourceURL comment.
	IsInline     bool             `json:"isInline"`               // Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
	StartLine    float64          `json:"startLine"`              // Line offset of the stylesheet within the resource (zero based).
	StartColumn  float64          `json:"startColumn"`            // Column offset of the stylesheet within the resource (zero based).
}

CSS stylesheet metainformation.

type Cache

type Cache struct {
	CacheId        CacheId `json:"cacheId"`        // An opaque unique id of the cache.
	SecurityOrigin string  `json:"securityOrigin"` // Security origin of the cache.
	CacheName      string  `json:"cacheName"`      // The name of the cache.
}

Cache identifier.

type CacheId

type CacheId string

Unique identifier of the Cache object.

type CacheStorageDataEntry

type CacheStorageDataEntry struct {
	Request  string `json:"request"`  // Request url spec.
	Response string `json:"response"` // Response stataus text.
}

Data entry.

type CachedResource

type CachedResource struct {
	Url      string        `json:"url"`                // Resource URL. This is the url of the original network request.
	Type     *ResourceType `json:"type"`               // Type of this resource.
	Response *Response     `json:"response,omitempty"` // Cached response data.
	BodySize float64       `json:"bodySize"`           // Cached response body size.
}

Information about the cached resource.

type CallArgument

type CallArgument struct {
	Value               json.RawMessage     `json:"value,omitempty"`               // Primitive value.
	UnserializableValue UnserializableValue `json:"unserializableValue,omitempty"` // Primitive value which can not be JSON-stringified.
	ObjectId            RemoteObjectId      `json:"objectId,omitempty"`            // Remote object handle.
}

Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

type CallFrameId

type CallFrameId string

Call frame identifier.

type CallFunctionOnCB

type CallFunctionOnCB func(result *CallFunctionOnResult, err error)

type CallFunctionOnCommand

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

func NewCallFunctionOnCommand

func NewCallFunctionOnCommand(params *CallFunctionOnParams) *CallFunctionOnCommand

func (*CallFunctionOnCommand) Done

func (cmd *CallFunctionOnCommand) Done(data []byte, err error)

func (*CallFunctionOnCommand) Name

func (cmd *CallFunctionOnCommand) Name() string

func (*CallFunctionOnCommand) Params

func (cmd *CallFunctionOnCommand) Params() interface{}

func (*CallFunctionOnCommand) Result

func (*CallFunctionOnCommand) Run

func (cmd *CallFunctionOnCommand) Run(conn *hc.Conn) error

type CallFunctionOnParams

type CallFunctionOnParams struct {
	ObjectId            RemoteObjectId  `json:"objectId"`                  // Identifier of the object to call function on.
	FunctionDeclaration string          `json:"functionDeclaration"`       // Declaration of the function to call.
	Arguments           []*CallArgument `json:"arguments,omitempty"`       // Call arguments. All call arguments must belong to the same JavaScript world as the target object.
	Silent              bool            `json:"silent,omitempty"`          // In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
	ReturnByValue       bool            `json:"returnByValue,omitempty"`   // Whether the result is expected to be a JSON object which should be sent by value.
	GeneratePreview     bool            `json:"generatePreview,omitempty"` // Whether preview should be generated for the result.
	UserGesture         bool            `json:"userGesture,omitempty"`     // Whether execution should be treated as initiated by user in the UI.
	AwaitPromise        bool            `json:"awaitPromise,omitempty"`    // Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
}

type CallFunctionOnResult

type CallFunctionOnResult struct {
	Result           *RemoteObject     `json:"result"`           // Call result.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details.
}

func CallFunctionOn

func CallFunctionOn(params *CallFunctionOnParams, conn *hc.Conn) (result *CallFunctionOnResult, err error)

type CanClearBrowserCacheCB

type CanClearBrowserCacheCB func(result *CanClearBrowserCacheResult, err error)

type CanClearBrowserCacheCommand

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

func NewCanClearBrowserCacheCommand

func NewCanClearBrowserCacheCommand() *CanClearBrowserCacheCommand

func (*CanClearBrowserCacheCommand) Done

func (cmd *CanClearBrowserCacheCommand) Done(data []byte, err error)

func (*CanClearBrowserCacheCommand) Name

func (cmd *CanClearBrowserCacheCommand) Name() string

func (*CanClearBrowserCacheCommand) Params

func (cmd *CanClearBrowserCacheCommand) Params() interface{}

func (*CanClearBrowserCacheCommand) Result

func (*CanClearBrowserCacheCommand) Run

func (cmd *CanClearBrowserCacheCommand) Run(conn *hc.Conn) error

type CanClearBrowserCacheResult

type CanClearBrowserCacheResult struct {
	Result bool `json:"result"` // True if browser cache can be cleared.
}

func CanClearBrowserCache

func CanClearBrowserCache(conn *hc.Conn) (result *CanClearBrowserCacheResult, err error)

type CanClearBrowserCookiesCB

type CanClearBrowserCookiesCB func(result *CanClearBrowserCookiesResult, err error)

type CanClearBrowserCookiesCommand

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

func NewCanClearBrowserCookiesCommand

func NewCanClearBrowserCookiesCommand() *CanClearBrowserCookiesCommand

func (*CanClearBrowserCookiesCommand) Done

func (cmd *CanClearBrowserCookiesCommand) Done(data []byte, err error)

func (*CanClearBrowserCookiesCommand) Name

func (*CanClearBrowserCookiesCommand) Params

func (cmd *CanClearBrowserCookiesCommand) Params() interface{}

func (*CanClearBrowserCookiesCommand) Result

func (*CanClearBrowserCookiesCommand) Run

func (cmd *CanClearBrowserCookiesCommand) Run(conn *hc.Conn) error

type CanClearBrowserCookiesResult

type CanClearBrowserCookiesResult struct {
	Result bool `json:"result"` // True if browser cookies can be cleared.
}

func CanClearBrowserCookies

func CanClearBrowserCookies(conn *hc.Conn) (result *CanClearBrowserCookiesResult, err error)

type CanEmulateCB

type CanEmulateCB func(result *CanEmulateResult, err error)

type CanEmulateCommand

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

Tells whether emulation is supported. @experimental

func NewCanEmulateCommand

func NewCanEmulateCommand() *CanEmulateCommand

func (*CanEmulateCommand) Done

func (cmd *CanEmulateCommand) Done(data []byte, err error)

func (*CanEmulateCommand) Name

func (cmd *CanEmulateCommand) Name() string

func (*CanEmulateCommand) Params

func (cmd *CanEmulateCommand) Params() interface{}

func (*CanEmulateCommand) Result

func (cmd *CanEmulateCommand) Result() *CanEmulateResult

func (*CanEmulateCommand) Run

func (cmd *CanEmulateCommand) Run(conn *hc.Conn) error

type CanEmulateNetworkConditionsCB

type CanEmulateNetworkConditionsCB func(result *CanEmulateNetworkConditionsResult, err error)

type CanEmulateNetworkConditionsCommand

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

Tells whether emulation of network conditions is supported. @experimental

func NewCanEmulateNetworkConditionsCommand

func NewCanEmulateNetworkConditionsCommand() *CanEmulateNetworkConditionsCommand

func (*CanEmulateNetworkConditionsCommand) Done

func (cmd *CanEmulateNetworkConditionsCommand) Done(data []byte, err error)

func (*CanEmulateNetworkConditionsCommand) Name

func (*CanEmulateNetworkConditionsCommand) Params

func (cmd *CanEmulateNetworkConditionsCommand) Params() interface{}

func (*CanEmulateNetworkConditionsCommand) Result

func (*CanEmulateNetworkConditionsCommand) Run

type CanEmulateNetworkConditionsResult

type CanEmulateNetworkConditionsResult struct {
	Result bool `json:"result"` // True if emulation of network conditions is supported.
}

func CanEmulateNetworkConditions

func CanEmulateNetworkConditions(conn *hc.Conn) (result *CanEmulateNetworkConditionsResult, err error)

type CanEmulateResult

type CanEmulateResult struct {
	Result bool `json:"result"` // True if emulation is supported.
}

func CanEmulate

func CanEmulate(conn *hc.Conn) (result *CanEmulateResult, err error)

type CaptureScreenshotCB

type CaptureScreenshotCB func(result *CaptureScreenshotResult, err error)

type CaptureScreenshotCommand

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

Capture page screenshot. @experimental

func NewCaptureScreenshotCommand

func NewCaptureScreenshotCommand() *CaptureScreenshotCommand

func (*CaptureScreenshotCommand) Done

func (cmd *CaptureScreenshotCommand) Done(data []byte, err error)

func (*CaptureScreenshotCommand) Name

func (cmd *CaptureScreenshotCommand) Name() string

func (*CaptureScreenshotCommand) Params

func (cmd *CaptureScreenshotCommand) Params() interface{}

func (*CaptureScreenshotCommand) Result

func (*CaptureScreenshotCommand) Run

func (cmd *CaptureScreenshotCommand) Run(conn *hc.Conn) error

type CaptureScreenshotResult

type CaptureScreenshotResult struct {
	Data string `json:"data"` // Base64-encoded image data (PNG).
}

func CaptureScreenshot

func CaptureScreenshot(conn *hc.Conn) (result *CaptureScreenshotResult, err error)

type CertificateId

type CertificateId int

An internal certificate ID value.

type CharacterDataModifiedEvent

type CharacterDataModifiedEvent struct {
	NodeId        NodeId `json:"nodeId"`        // Id of the node that has changed.
	CharacterData string `json:"characterData"` // New text value.
}

type ChildNodeCountUpdatedEvent

type ChildNodeCountUpdatedEvent struct {
	NodeId         NodeId `json:"nodeId"`         // Id of the node that has changed.
	ChildNodeCount int    `json:"childNodeCount"` // New node count.
}

type ChildNodeInsertedEvent

type ChildNodeInsertedEvent struct {
	ParentNodeId   NodeId `json:"parentNodeId"`   // Id of the node that has changed.
	PreviousNodeId NodeId `json:"previousNodeId"` // If of the previous siblint.
	Node           *Node  `json:"node"`           // Inserted node data.
}

type ChildNodeRemovedEvent

type ChildNodeRemovedEvent struct {
	ParentNodeId NodeId `json:"parentNodeId"` // Parent id.
	NodeId       NodeId `json:"nodeId"`       // Id of the node that has been removed.
}

type ClearBrowserCacheCB

type ClearBrowserCacheCB func(err error)

type ClearBrowserCacheCommand

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

func NewClearBrowserCacheCommand

func NewClearBrowserCacheCommand() *ClearBrowserCacheCommand

func (*ClearBrowserCacheCommand) Done

func (cmd *ClearBrowserCacheCommand) Done(data []byte, err error)

func (*ClearBrowserCacheCommand) Name

func (cmd *ClearBrowserCacheCommand) Name() string

func (*ClearBrowserCacheCommand) Params

func (cmd *ClearBrowserCacheCommand) Params() interface{}

func (*ClearBrowserCacheCommand) Run

func (cmd *ClearBrowserCacheCommand) Run(conn *hc.Conn) error

type ClearBrowserCookiesCB

type ClearBrowserCookiesCB func(err error)

type ClearBrowserCookiesCommand

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

func NewClearBrowserCookiesCommand

func NewClearBrowserCookiesCommand() *ClearBrowserCookiesCommand

func (*ClearBrowserCookiesCommand) Done

func (cmd *ClearBrowserCookiesCommand) Done(data []byte, err error)

func (*ClearBrowserCookiesCommand) Name

func (cmd *ClearBrowserCookiesCommand) Name() string

func (*ClearBrowserCookiesCommand) Params

func (cmd *ClearBrowserCookiesCommand) Params() interface{}

func (*ClearBrowserCookiesCommand) Run

func (cmd *ClearBrowserCookiesCommand) Run(conn *hc.Conn) error

type ClearCB

type ClearCB func(err error)

type ClearCommand

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

func NewClearCommand

func NewClearCommand() *ClearCommand

func (*ClearCommand) Done

func (cmd *ClearCommand) Done(data []byte, err error)

func (*ClearCommand) Name

func (cmd *ClearCommand) Name() string

func (*ClearCommand) Params

func (cmd *ClearCommand) Params() interface{}

func (*ClearCommand) Run

func (cmd *ClearCommand) Run(conn *hc.Conn) error

type ClearDataForOriginCB

type ClearDataForOriginCB func(err error)

type ClearDataForOriginCommand

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

func NewClearDataForOriginCommand

func NewClearDataForOriginCommand(params *ClearDataForOriginParams) *ClearDataForOriginCommand

func (*ClearDataForOriginCommand) Done

func (cmd *ClearDataForOriginCommand) Done(data []byte, err error)

func (*ClearDataForOriginCommand) Name

func (cmd *ClearDataForOriginCommand) Name() string

func (*ClearDataForOriginCommand) Params

func (cmd *ClearDataForOriginCommand) Params() interface{}

func (*ClearDataForOriginCommand) Run

func (cmd *ClearDataForOriginCommand) Run(conn *hc.Conn) error

type ClearDataForOriginParams

type ClearDataForOriginParams struct {
	Origin       string `json:"origin"`       // Security origin.
	StorageTypes string `json:"storageTypes"` // Comma separated origin names.
}

type ClearMessagesCB

type ClearMessagesCB func(err error)

type ClearMessagesCommand

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

func NewClearMessagesCommand

func NewClearMessagesCommand() *ClearMessagesCommand

func (*ClearMessagesCommand) Done

func (cmd *ClearMessagesCommand) Done(data []byte, err error)

func (*ClearMessagesCommand) Name

func (cmd *ClearMessagesCommand) Name() string

func (*ClearMessagesCommand) Params

func (cmd *ClearMessagesCommand) Params() interface{}

func (*ClearMessagesCommand) Run

func (cmd *ClearMessagesCommand) Run(conn *hc.Conn) error

type ClearObjectStoreCB

type ClearObjectStoreCB func(err error)

type ClearObjectStoreCommand

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

func NewClearObjectStoreCommand

func NewClearObjectStoreCommand(params *ClearObjectStoreParams) *ClearObjectStoreCommand

func (*ClearObjectStoreCommand) Done

func (cmd *ClearObjectStoreCommand) Done(data []byte, err error)

func (*ClearObjectStoreCommand) Name

func (cmd *ClearObjectStoreCommand) Name() string

func (*ClearObjectStoreCommand) Params

func (cmd *ClearObjectStoreCommand) Params() interface{}

func (*ClearObjectStoreCommand) Run

func (cmd *ClearObjectStoreCommand) Run(conn *hc.Conn) error

type ClearObjectStoreParams

type ClearObjectStoreParams struct {
	SecurityOrigin  string `json:"securityOrigin"`  // Security origin.
	DatabaseName    string `json:"databaseName"`    // Database name.
	ObjectStoreName string `json:"objectStoreName"` // Object store name.
}

type CloseCB

type CloseCB func(err error)

type CloseCommand

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

func NewCloseCommand

func NewCloseCommand(params *CloseParams) *CloseCommand

func (*CloseCommand) Done

func (cmd *CloseCommand) Done(data []byte, err error)

func (*CloseCommand) Name

func (cmd *CloseCommand) Name() string

func (*CloseCommand) Params

func (cmd *CloseCommand) Params() interface{}

func (*CloseCommand) Run

func (cmd *CloseCommand) Run(conn *hc.Conn) error

type CloseParams

type CloseParams struct {
	Handle StreamHandle `json:"handle"` // Handle of the stream to close.
}

type CloseTargetCB

type CloseTargetCB func(result *CloseTargetResult, err error)

type CloseTargetCommand

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

func NewCloseTargetCommand

func NewCloseTargetCommand(params *CloseTargetParams) *CloseTargetCommand

func (*CloseTargetCommand) Done

func (cmd *CloseTargetCommand) Done(data []byte, err error)

func (*CloseTargetCommand) Name

func (cmd *CloseTargetCommand) Name() string

func (*CloseTargetCommand) Params

func (cmd *CloseTargetCommand) Params() interface{}

func (*CloseTargetCommand) Result

func (cmd *CloseTargetCommand) Result() *CloseTargetResult

func (*CloseTargetCommand) Run

func (cmd *CloseTargetCommand) Run(conn *hc.Conn) error

type CloseTargetParams

type CloseTargetParams struct {
	TargetId TargetID `json:"targetId"`
}

type CloseTargetResult

type CloseTargetResult struct {
	Success bool `json:"success"`
}

func CloseTarget

func CloseTarget(params *CloseTargetParams, conn *hc.Conn) (result *CloseTargetResult, err error)

type CollectClassNamesCB

type CollectClassNamesCB func(result *CollectClassNamesResult, err error)

type CollectClassNamesCommand

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

Returns all class names from specified stylesheet. @experimental

func NewCollectClassNamesCommand

func NewCollectClassNamesCommand(params *CollectClassNamesParams) *CollectClassNamesCommand

func (*CollectClassNamesCommand) Done

func (cmd *CollectClassNamesCommand) Done(data []byte, err error)

func (*CollectClassNamesCommand) Name

func (cmd *CollectClassNamesCommand) Name() string

func (*CollectClassNamesCommand) Params

func (cmd *CollectClassNamesCommand) Params() interface{}

func (*CollectClassNamesCommand) Result

func (*CollectClassNamesCommand) Run

func (cmd *CollectClassNamesCommand) Run(conn *hc.Conn) error

type CollectClassNamesFromSubtreeCB

type CollectClassNamesFromSubtreeCB func(result *CollectClassNamesFromSubtreeResult, err error)

type CollectClassNamesFromSubtreeCommand

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

Collects class names for the node with given id and all of it's child nodes. @experimental

func (*CollectClassNamesFromSubtreeCommand) Done

func (cmd *CollectClassNamesFromSubtreeCommand) Done(data []byte, err error)

func (*CollectClassNamesFromSubtreeCommand) Name

func (*CollectClassNamesFromSubtreeCommand) Params

func (cmd *CollectClassNamesFromSubtreeCommand) Params() interface{}

func (*CollectClassNamesFromSubtreeCommand) Result

func (*CollectClassNamesFromSubtreeCommand) Run

type CollectClassNamesFromSubtreeParams

type CollectClassNamesFromSubtreeParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to collect class names.
}

type CollectClassNamesFromSubtreeResult

type CollectClassNamesFromSubtreeResult struct {
	ClassNames []string `json:"classNames"` // Class name list.
}

func CollectClassNamesFromSubtree

func CollectClassNamesFromSubtree(params *CollectClassNamesFromSubtreeParams, conn *hc.Conn) (result *CollectClassNamesFromSubtreeResult, err error)

type CollectClassNamesParams

type CollectClassNamesParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
}

type CollectClassNamesResult

type CollectClassNamesResult struct {
	ClassNames []string `json:"classNames"` // Class name list.
}

func CollectClassNames

func CollectClassNames(params *CollectClassNamesParams, conn *hc.Conn) (result *CollectClassNamesResult, err error)

type CollectGarbageCB

type CollectGarbageCB func(err error)

type CollectGarbageCommand

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

func NewCollectGarbageCommand

func NewCollectGarbageCommand() *CollectGarbageCommand

func (*CollectGarbageCommand) Done

func (cmd *CollectGarbageCommand) Done(data []byte, err error)

func (*CollectGarbageCommand) Name

func (cmd *CollectGarbageCommand) Name() string

func (*CollectGarbageCommand) Params

func (cmd *CollectGarbageCommand) Params() interface{}

func (*CollectGarbageCommand) Run

func (cmd *CollectGarbageCommand) Run(conn *hc.Conn) error

type ColorPickedEvent

type ColorPickedEvent struct {
	Color *RGBA `json:"color"` // RGBA of the picked color.
}

Fired when a color has been picked. @experimental

type CompileScriptCB

type CompileScriptCB func(result *CompileScriptResult, err error)

type CompileScriptCommand

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

func NewCompileScriptCommand

func NewCompileScriptCommand(params *CompileScriptParams) *CompileScriptCommand

func (*CompileScriptCommand) Done

func (cmd *CompileScriptCommand) Done(data []byte, err error)

func (*CompileScriptCommand) Name

func (cmd *CompileScriptCommand) Name() string

func (*CompileScriptCommand) Params

func (cmd *CompileScriptCommand) Params() interface{}

func (*CompileScriptCommand) Result

func (*CompileScriptCommand) Run

func (cmd *CompileScriptCommand) Run(conn *hc.Conn) error

type CompileScriptParams

type CompileScriptParams struct {
	Expression         string             `json:"expression"`                   // Expression to compile.
	SourceURL          string             `json:"sourceURL"`                    // Source url to be set for the script.
	PersistScript      bool               `json:"persistScript"`                // Specifies whether the compiled script should be persisted.
	ExecutionContextId ExecutionContextId `json:"executionContextId,omitempty"` // Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
}

type CompileScriptResult

type CompileScriptResult struct {
	ScriptId         ScriptId          `json:"scriptId"`         // Id of the script.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details.
}

func CompileScript

func CompileScript(params *CompileScriptParams, conn *hc.Conn) (result *CompileScriptResult, err error)

type CompositingReasonsCB

type CompositingReasonsCB func(result *CompositingReasonsResult, err error)

type CompositingReasonsCommand

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

func NewCompositingReasonsCommand

func NewCompositingReasonsCommand(params *CompositingReasonsParams) *CompositingReasonsCommand

func (*CompositingReasonsCommand) Done

func (cmd *CompositingReasonsCommand) Done(data []byte, err error)

func (*CompositingReasonsCommand) Name

func (cmd *CompositingReasonsCommand) Name() string

func (*CompositingReasonsCommand) Params

func (cmd *CompositingReasonsCommand) Params() interface{}

func (*CompositingReasonsCommand) Result

func (*CompositingReasonsCommand) Run

func (cmd *CompositingReasonsCommand) Run(conn *hc.Conn) error

type CompositingReasonsParams

type CompositingReasonsParams struct {
	LayerId LayerId `json:"layerId"` // The id of the layer for which we want to get the reasons it was composited.
}

type CompositingReasonsResult

type CompositingReasonsResult struct {
	CompositingReasons []string `json:"compositingReasons"` // A list of strings specifying reasons for the given layer to become composited.
}

func CompositingReasons

func CompositingReasons(params *CompositingReasonsParams, conn *hc.Conn) (result *CompositingReasonsResult, err error)

type ComputedStyle

type ComputedStyle struct {
	Properties []*CSSComputedStyleProperty `json:"properties"`
}

A subset of the full ComputedStyle as defined by the request whitelist. @experimental

type ConfigureOverlayCB

type ConfigureOverlayCB func(err error)

type ConfigureOverlayCommand

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

Configures overlay. @experimental

func NewConfigureOverlayCommand

func NewConfigureOverlayCommand(params *ConfigureOverlayParams) *ConfigureOverlayCommand

func (*ConfigureOverlayCommand) Done

func (cmd *ConfigureOverlayCommand) Done(data []byte, err error)

func (*ConfigureOverlayCommand) Name

func (cmd *ConfigureOverlayCommand) Name() string

func (*ConfigureOverlayCommand) Params

func (cmd *ConfigureOverlayCommand) Params() interface{}

func (*ConfigureOverlayCommand) Run

func (cmd *ConfigureOverlayCommand) Run(conn *hc.Conn) error

type ConfigureOverlayParams

type ConfigureOverlayParams struct {
	Suspended bool   `json:"suspended,omitempty"` // Whether overlay should be suspended and not consume any resources.
	Message   string `json:"message,omitempty"`   // Overlay message to display.
}

type ConnectionType

type ConnectionType string

Loading priority of a resource request.

const ConnectionTypeBluetooth ConnectionType = "bluetooth"
const ConnectionTypeCellular2g ConnectionType = "cellular2g"
const ConnectionTypeCellular3g ConnectionType = "cellular3g"
const ConnectionTypeCellular4g ConnectionType = "cellular4g"
const ConnectionTypeEthernet ConnectionType = "ethernet"
const ConnectionTypeNone ConnectionType = "none"
const ConnectionTypeOther ConnectionType = "other"
const ConnectionTypeWifi ConnectionType = "wifi"
const ConnectionTypeWimax ConnectionType = "wimax"

type ConsoleAPICalledEvent

type ConsoleAPICalledEvent struct {
	Type               string             `json:"type"`               // Type of the call.
	Args               []*RemoteObject    `json:"args"`               // Call arguments.
	ExecutionContextId ExecutionContextId `json:"executionContextId"` // Identifier of the context where the call was made.
	Timestamp          RuntimeTimestamp   `json:"timestamp"`          // Call timestamp.
	StackTrace         *StackTrace        `json:"stackTrace"`         // Stack trace captured when the call was made.
}

type ConsoleDisableCB

type ConsoleDisableCB func(err error)

type ConsoleDisableCommand

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

func NewConsoleDisableCommand

func NewConsoleDisableCommand() *ConsoleDisableCommand

func (*ConsoleDisableCommand) Done

func (cmd *ConsoleDisableCommand) Done(data []byte, err error)

func (*ConsoleDisableCommand) Name

func (cmd *ConsoleDisableCommand) Name() string

func (*ConsoleDisableCommand) Params

func (cmd *ConsoleDisableCommand) Params() interface{}

func (*ConsoleDisableCommand) Run

func (cmd *ConsoleDisableCommand) Run(conn *hc.Conn) error

type ConsoleEnableCB

type ConsoleEnableCB func(err error)

type ConsoleEnableCommand

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

func NewConsoleEnableCommand

func NewConsoleEnableCommand() *ConsoleEnableCommand

func (*ConsoleEnableCommand) Done

func (cmd *ConsoleEnableCommand) Done(data []byte, err error)

func (*ConsoleEnableCommand) Name

func (cmd *ConsoleEnableCommand) Name() string

func (*ConsoleEnableCommand) Params

func (cmd *ConsoleEnableCommand) Params() interface{}

func (*ConsoleEnableCommand) Run

func (cmd *ConsoleEnableCommand) Run(conn *hc.Conn) error

type ConsoleMessage

type ConsoleMessage struct {
	Source string `json:"source"`           // Message source.
	Level  string `json:"level"`            // Message severity.
	Text   string `json:"text"`             // Message text.
	Url    string `json:"url,omitempty"`    // URL of the message origin.
	Line   int    `json:"line,omitempty"`   // Line number in the resource that generated this message (1-based).
	Column int    `json:"column,omitempty"` // Column number in the resource that generated this message (1-based).
}

Console message.

type ConsoleProfileFinishedEvent

type ConsoleProfileFinishedEvent struct {
	Id       string    `json:"id"`
	Location *Location `json:"location"` // Location of console.profileEnd().
	Profile  *Profile  `json:"profile"`
	Title    string    `json:"title"` // Profile title passed as an argument to console.profile().
}

type ConsoleProfileStartedEvent

type ConsoleProfileStartedEvent struct {
	Id       string    `json:"id"`
	Location *Location `json:"location"` // Location of console.profile().
	Title    string    `json:"title"`    // Profile title passed as an argument to console.profile().
}

type ContinueToLocationCB

type ContinueToLocationCB func(err error)

type ContinueToLocationCommand

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

func NewContinueToLocationCommand

func NewContinueToLocationCommand(params *ContinueToLocationParams) *ContinueToLocationCommand

func (*ContinueToLocationCommand) Done

func (cmd *ContinueToLocationCommand) Done(data []byte, err error)

func (*ContinueToLocationCommand) Name

func (cmd *ContinueToLocationCommand) Name() string

func (*ContinueToLocationCommand) Params

func (cmd *ContinueToLocationCommand) Params() interface{}

func (*ContinueToLocationCommand) Run

func (cmd *ContinueToLocationCommand) Run(conn *hc.Conn) error

type ContinueToLocationParams

type ContinueToLocationParams struct {
	Location *Location `json:"location"` // Location to continue to.
}
type Cookie struct {
	Name     string         `json:"name"`               // Cookie name.
	Value    string         `json:"value"`              // Cookie value.
	Domain   string         `json:"domain"`             // Cookie domain.
	Path     string         `json:"path"`               // Cookie path.
	Expires  float64        `json:"expires"`            // Cookie expiration date as the number of seconds since the UNIX epoch.
	Size     int            `json:"size"`               // Cookie size.
	HttpOnly bool           `json:"httpOnly"`           // True if cookie is http-only.
	Secure   bool           `json:"secure"`             // True if cookie is secure.
	Session  bool           `json:"session"`            // True in case of session cookie.
	SameSite CookieSameSite `json:"sameSite,omitempty"` // Cookie SameSite type.
}

Cookie object @experimental

type CookieSameSite

type CookieSameSite string

Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies

const CookieSameSiteLax CookieSameSite = "Lax"
const CookieSameSiteStrict CookieSameSite = "Strict"

type CopyToCB

type CopyToCB func(result *CopyToResult, err error)

type CopyToCommand

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

Creates a deep copy of the specified node and places it into the target container before the given anchor. @experimental

func NewCopyToCommand

func NewCopyToCommand(params *CopyToParams) *CopyToCommand

func (*CopyToCommand) Done

func (cmd *CopyToCommand) Done(data []byte, err error)

func (*CopyToCommand) Name

func (cmd *CopyToCommand) Name() string

func (*CopyToCommand) Params

func (cmd *CopyToCommand) Params() interface{}

func (*CopyToCommand) Result

func (cmd *CopyToCommand) Result() *CopyToResult

func (*CopyToCommand) Run

func (cmd *CopyToCommand) Run(conn *hc.Conn) error

type CopyToParams

type CopyToParams struct {
	NodeId             NodeId `json:"nodeId"`                       // Id of the node to copy.
	TargetNodeId       NodeId `json:"targetNodeId"`                 // Id of the element to drop the copy into.
	InsertBeforeNodeId NodeId `json:"insertBeforeNodeId,omitempty"` // Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).
}

type CopyToResult

type CopyToResult struct {
	NodeId NodeId `json:"nodeId"` // Id of the node clone.
}

func CopyTo

func CopyTo(params *CopyToParams, conn *hc.Conn) (result *CopyToResult, err error)

type CreateBrowserContextCB

type CreateBrowserContextCB func(result *CreateBrowserContextResult, err error)

type CreateBrowserContextCommand

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

func NewCreateBrowserContextCommand

func NewCreateBrowserContextCommand() *CreateBrowserContextCommand

func (*CreateBrowserContextCommand) Done

func (cmd *CreateBrowserContextCommand) Done(data []byte, err error)

func (*CreateBrowserContextCommand) Name

func (cmd *CreateBrowserContextCommand) Name() string

func (*CreateBrowserContextCommand) Params

func (cmd *CreateBrowserContextCommand) Params() interface{}

func (*CreateBrowserContextCommand) Result

func (*CreateBrowserContextCommand) Run

func (cmd *CreateBrowserContextCommand) Run(conn *hc.Conn) error

type CreateBrowserContextResult

type CreateBrowserContextResult struct {
	BrowserContextId BrowserContextID `json:"browserContextId"` // The id of the context created.
}

func CreateBrowserContext

func CreateBrowserContext(conn *hc.Conn) (result *CreateBrowserContextResult, err error)

type CreateStyleSheetCB

type CreateStyleSheetCB func(result *CreateStyleSheetResult, err error)

type CreateStyleSheetCommand

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

func NewCreateStyleSheetCommand

func NewCreateStyleSheetCommand(params *CreateStyleSheetParams) *CreateStyleSheetCommand

func (*CreateStyleSheetCommand) Done

func (cmd *CreateStyleSheetCommand) Done(data []byte, err error)

func (*CreateStyleSheetCommand) Name

func (cmd *CreateStyleSheetCommand) Name() string

func (*CreateStyleSheetCommand) Params

func (cmd *CreateStyleSheetCommand) Params() interface{}

func (*CreateStyleSheetCommand) Result

func (*CreateStyleSheetCommand) Run

func (cmd *CreateStyleSheetCommand) Run(conn *hc.Conn) error

type CreateStyleSheetParams

type CreateStyleSheetParams struct {
	FrameId *FrameId `json:"frameId"` // Identifier of the frame where "via-inspector" stylesheet should be created.
}

type CreateStyleSheetResult

type CreateStyleSheetResult struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"` // Identifier of the created "via-inspector" stylesheet.
}

func CreateStyleSheet

func CreateStyleSheet(params *CreateStyleSheetParams, conn *hc.Conn) (result *CreateStyleSheetResult, err error)

type CreateTargetCB

type CreateTargetCB func(result *CreateTargetResult, err error)

type CreateTargetCommand

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

func NewCreateTargetCommand

func NewCreateTargetCommand(params *CreateTargetParams) *CreateTargetCommand

func (*CreateTargetCommand) Done

func (cmd *CreateTargetCommand) Done(data []byte, err error)

func (*CreateTargetCommand) Name

func (cmd *CreateTargetCommand) Name() string

func (*CreateTargetCommand) Params

func (cmd *CreateTargetCommand) Params() interface{}

func (*CreateTargetCommand) Result

func (cmd *CreateTargetCommand) Result() *CreateTargetResult

func (*CreateTargetCommand) Run

func (cmd *CreateTargetCommand) Run(conn *hc.Conn) error

type CreateTargetParams

type CreateTargetParams struct {
	Url              string           `json:"url"`                        // The initial URL the page will be navigated to.
	Width            int              `json:"width,omitempty"`            // Frame width in DIP (headless chrome only).
	Height           int              `json:"height,omitempty"`           // Frame height in DIP (headless chrome only).
	BrowserContextId BrowserContextID `json:"browserContextId,omitempty"` // The browser context to create the page in (headless chrome only).
}

type CreateTargetResult

type CreateTargetResult struct {
	TargetId TargetID `json:"targetId"` // The id of the page opened.
}

func CreateTarget

func CreateTarget(params *CreateTargetParams, conn *hc.Conn) (result *CreateTargetResult, err error)

type CustomPreview

type CustomPreview struct {
	Header                     string         `json:"header"`
	HasBody                    bool           `json:"hasBody"`
	FormatterObjectId          RemoteObjectId `json:"formatterObjectId"`
	BindRemoteObjectFunctionId RemoteObjectId `json:"bindRemoteObjectFunctionId"`
	ConfigObjectId             RemoteObjectId `json:"configObjectId,omitempty"`
}

@experimental

type DOMBreakpointType

type DOMBreakpointType string

DOM breakpoint type.

const DOMBreakpointTypeAttributeModified DOMBreakpointType = "attribute-modified"
const DOMBreakpointTypeNodeRemoved DOMBreakpointType = "node-removed"
const DOMBreakpointTypeSubtreeModified DOMBreakpointType = "subtree-modified"

type DOMDisableCB

type DOMDisableCB func(err error)

type DOMDisableCommand

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

func NewDOMDisableCommand

func NewDOMDisableCommand() *DOMDisableCommand

func (*DOMDisableCommand) Done

func (cmd *DOMDisableCommand) Done(data []byte, err error)

func (*DOMDisableCommand) Name

func (cmd *DOMDisableCommand) Name() string

func (*DOMDisableCommand) Params

func (cmd *DOMDisableCommand) Params() interface{}

func (*DOMDisableCommand) Run

func (cmd *DOMDisableCommand) Run(conn *hc.Conn) error

type DOMEnableCB

type DOMEnableCB func(err error)

type DOMEnableCommand

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

func NewDOMEnableCommand

func NewDOMEnableCommand() *DOMEnableCommand

func (*DOMEnableCommand) Done

func (cmd *DOMEnableCommand) Done(data []byte, err error)

func (*DOMEnableCommand) Name

func (cmd *DOMEnableCommand) Name() string

func (*DOMEnableCommand) Params

func (cmd *DOMEnableCommand) Params() interface{}

func (*DOMEnableCommand) Run

func (cmd *DOMEnableCommand) Run(conn *hc.Conn) error

type DOMStorageDisableCB

type DOMStorageDisableCB func(err error)

type DOMStorageDisableCommand

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

func NewDOMStorageDisableCommand

func NewDOMStorageDisableCommand() *DOMStorageDisableCommand

func (*DOMStorageDisableCommand) Done

func (cmd *DOMStorageDisableCommand) Done(data []byte, err error)

func (*DOMStorageDisableCommand) Name

func (cmd *DOMStorageDisableCommand) Name() string

func (*DOMStorageDisableCommand) Params

func (cmd *DOMStorageDisableCommand) Params() interface{}

func (*DOMStorageDisableCommand) Run

func (cmd *DOMStorageDisableCommand) Run(conn *hc.Conn) error

type DOMStorageEnableCB

type DOMStorageEnableCB func(err error)

type DOMStorageEnableCommand

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

func NewDOMStorageEnableCommand

func NewDOMStorageEnableCommand() *DOMStorageEnableCommand

func (*DOMStorageEnableCommand) Done

func (cmd *DOMStorageEnableCommand) Done(data []byte, err error)

func (*DOMStorageEnableCommand) Name

func (cmd *DOMStorageEnableCommand) Name() string

func (*DOMStorageEnableCommand) Params

func (cmd *DOMStorageEnableCommand) Params() interface{}

func (*DOMStorageEnableCommand) Run

func (cmd *DOMStorageEnableCommand) Run(conn *hc.Conn) error

type DataCollectedEvent

type DataCollectedEvent struct {
	Value []map[string]string `json:"value"`
}

type DataReceivedEvent

type DataReceivedEvent struct {
	RequestId         RequestId        `json:"requestId"`         // Request identifier.
	Timestamp         NetworkTimestamp `json:"timestamp"`         // Timestamp.
	DataLength        int              `json:"dataLength"`        // Data chunk length.
	EncodedDataLength int              `json:"encodedDataLength"` // Actual bytes received (might be less than dataLength for compressed encodings).
}

type Database

type Database struct {
	Id      DatabaseId `json:"id"`      // Database ID.
	Domain  string     `json:"domain"`  // Database domain.
	Name    string     `json:"name"`    // Database name.
	Version string     `json:"version"` // Database version.
}

Database object. @experimental

type DatabaseDisableCB

type DatabaseDisableCB func(err error)

type DatabaseDisableCommand

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

func NewDatabaseDisableCommand

func NewDatabaseDisableCommand() *DatabaseDisableCommand

func (*DatabaseDisableCommand) Done

func (cmd *DatabaseDisableCommand) Done(data []byte, err error)

func (*DatabaseDisableCommand) Name

func (cmd *DatabaseDisableCommand) Name() string

func (*DatabaseDisableCommand) Params

func (cmd *DatabaseDisableCommand) Params() interface{}

func (*DatabaseDisableCommand) Run

func (cmd *DatabaseDisableCommand) Run(conn *hc.Conn) error

type DatabaseEnableCB

type DatabaseEnableCB func(err error)

type DatabaseEnableCommand

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

func NewDatabaseEnableCommand

func NewDatabaseEnableCommand() *DatabaseEnableCommand

func (*DatabaseEnableCommand) Done

func (cmd *DatabaseEnableCommand) Done(data []byte, err error)

func (*DatabaseEnableCommand) Name

func (cmd *DatabaseEnableCommand) Name() string

func (*DatabaseEnableCommand) Params

func (cmd *DatabaseEnableCommand) Params() interface{}

func (*DatabaseEnableCommand) Run

func (cmd *DatabaseEnableCommand) Run(conn *hc.Conn) error

type DatabaseId

type DatabaseId string

Unique identifier of Database object. @experimental

type DatabaseWithObjectStores

type DatabaseWithObjectStores struct {
	Name         string         `json:"name"`         // Database name.
	Version      int            `json:"version"`      // Database version.
	ObjectStores []*ObjectStore `json:"objectStores"` // Object stores in this database.
}

Database with an array of object stores.

type DebuggerCallFrame

type DebuggerCallFrame struct {
	CallFrameId      CallFrameId   `json:"callFrameId"`                // Call frame identifier. This identifier is only valid while the virtual machine is paused.
	FunctionName     string        `json:"functionName"`               // Name of the JavaScript function called on this call frame.
	FunctionLocation *Location     `json:"functionLocation,omitempty"` // Location in the source code.
	Location         *Location     `json:"location"`                   // Location in the source code.
	ScopeChain       []*Scope      `json:"scopeChain"`                 // Scope chain for this call frame.
	This             *RemoteObject `json:"this"`                       // this object for this call frame.
	ReturnValue      *RemoteObject `json:"returnValue,omitempty"`      // The value being returned, if the function is at return point.
}

JavaScript call frame. Array of call frames form the call stack.

type DebuggerDisableCB

type DebuggerDisableCB func(err error)

type DebuggerDisableCommand

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

func NewDebuggerDisableCommand

func NewDebuggerDisableCommand() *DebuggerDisableCommand

func (*DebuggerDisableCommand) Done

func (cmd *DebuggerDisableCommand) Done(data []byte, err error)

func (*DebuggerDisableCommand) Name

func (cmd *DebuggerDisableCommand) Name() string

func (*DebuggerDisableCommand) Params

func (cmd *DebuggerDisableCommand) Params() interface{}

func (*DebuggerDisableCommand) Run

func (cmd *DebuggerDisableCommand) Run(conn *hc.Conn) error

type DebuggerEnableCB

type DebuggerEnableCB func(err error)

type DebuggerEnableCommand

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

func NewDebuggerEnableCommand

func NewDebuggerEnableCommand() *DebuggerEnableCommand

func (*DebuggerEnableCommand) Done

func (cmd *DebuggerEnableCommand) Done(data []byte, err error)

func (*DebuggerEnableCommand) Name

func (cmd *DebuggerEnableCommand) Name() string

func (*DebuggerEnableCommand) Params

func (cmd *DebuggerEnableCommand) Params() interface{}

func (*DebuggerEnableCommand) Run

func (cmd *DebuggerEnableCommand) Run(conn *hc.Conn) error

type DeleteCacheCB

type DeleteCacheCB func(err error)

type DeleteCacheCommand

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

func NewDeleteCacheCommand

func NewDeleteCacheCommand(params *DeleteCacheParams) *DeleteCacheCommand

func (*DeleteCacheCommand) Done

func (cmd *DeleteCacheCommand) Done(data []byte, err error)

func (*DeleteCacheCommand) Name

func (cmd *DeleteCacheCommand) Name() string

func (*DeleteCacheCommand) Params

func (cmd *DeleteCacheCommand) Params() interface{}

func (*DeleteCacheCommand) Run

func (cmd *DeleteCacheCommand) Run(conn *hc.Conn) error

type DeleteCacheParams

type DeleteCacheParams struct {
	CacheId CacheId `json:"cacheId"` // Id of cache for deletion.
}

type DeleteEntryCB

type DeleteEntryCB func(err error)

type DeleteEntryCommand

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

func NewDeleteEntryCommand

func NewDeleteEntryCommand(params *DeleteEntryParams) *DeleteEntryCommand

func (*DeleteEntryCommand) Done

func (cmd *DeleteEntryCommand) Done(data []byte, err error)

func (*DeleteEntryCommand) Name

func (cmd *DeleteEntryCommand) Name() string

func (*DeleteEntryCommand) Params

func (cmd *DeleteEntryCommand) Params() interface{}

func (*DeleteEntryCommand) Run

func (cmd *DeleteEntryCommand) Run(conn *hc.Conn) error

type DeleteEntryParams

type DeleteEntryParams struct {
	CacheId CacheId `json:"cacheId"` // Id of cache where the entry will be deleted.
	Request string  `json:"request"` // URL spec of the request.
}

type DeliverPushMessageCB

type DeliverPushMessageCB func(err error)

type DeliverPushMessageCommand

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

func NewDeliverPushMessageCommand

func NewDeliverPushMessageCommand(params *DeliverPushMessageParams) *DeliverPushMessageCommand

func (*DeliverPushMessageCommand) Done

func (cmd *DeliverPushMessageCommand) Done(data []byte, err error)

func (*DeliverPushMessageCommand) Name

func (cmd *DeliverPushMessageCommand) Name() string

func (*DeliverPushMessageCommand) Params

func (cmd *DeliverPushMessageCommand) Params() interface{}

func (*DeliverPushMessageCommand) Run

func (cmd *DeliverPushMessageCommand) Run(conn *hc.Conn) error

type DeliverPushMessageParams

type DeliverPushMessageParams struct {
	Origin         string `json:"origin"`
	RegistrationId string `json:"registrationId"`
	Data           string `json:"data"`
}

type DetachFromTargetCB

type DetachFromTargetCB func(err error)

type DetachFromTargetCommand

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

func NewDetachFromTargetCommand

func NewDetachFromTargetCommand(params *DetachFromTargetParams) *DetachFromTargetCommand

func (*DetachFromTargetCommand) Done

func (cmd *DetachFromTargetCommand) Done(data []byte, err error)

func (*DetachFromTargetCommand) Name

func (cmd *DetachFromTargetCommand) Name() string

func (*DetachFromTargetCommand) Params

func (cmd *DetachFromTargetCommand) Params() interface{}

func (*DetachFromTargetCommand) Run

func (cmd *DetachFromTargetCommand) Run(conn *hc.Conn) error

type DetachFromTargetParams

type DetachFromTargetParams struct {
	TargetId TargetID `json:"targetId"`
}

type DetachedEvent

type DetachedEvent struct {
	Reason string `json:"reason"` // The reason why connection has been terminated.
}

type DetachedFromTargetEvent

type DetachedFromTargetEvent struct {
	TargetId TargetID `json:"targetId"`
}

type DeviceOrientationClearDeviceOrientationOverrideCB

type DeviceOrientationClearDeviceOrientationOverrideCB func(err error)

type DeviceOrientationClearDeviceOrientationOverrideCommand

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

func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Done

func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Name

func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Params

func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Run

type DeviceOrientationSetDeviceOrientationOverrideCB

type DeviceOrientationSetDeviceOrientationOverrideCB func(err error)

type DeviceOrientationSetDeviceOrientationOverrideCommand

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

func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Done

func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Name

func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Params

func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Params() interface{}

func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Run

type DeviceOrientationSetDeviceOrientationOverrideParams

type DeviceOrientationSetDeviceOrientationOverrideParams struct {
	Alpha float64 `json:"alpha"` // Mock alpha
	Beta  float64 `json:"beta"`  // Mock beta
	Gamma float64 `json:"gamma"` // Mock gamma
}

type DialogType

type DialogType string

Javascript dialog type. @experimental

const DialogTypeAlert DialogType = "alert"
const DialogTypeBeforeunload DialogType = "beforeunload"
const DialogTypeConfirm DialogType = "confirm"
const DialogTypePrompt DialogType = "prompt"

type DiscardConsoleEntriesCB

type DiscardConsoleEntriesCB func(err error)

type DiscardConsoleEntriesCommand

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

func NewDiscardConsoleEntriesCommand

func NewDiscardConsoleEntriesCommand() *DiscardConsoleEntriesCommand

func (*DiscardConsoleEntriesCommand) Done

func (cmd *DiscardConsoleEntriesCommand) Done(data []byte, err error)

func (*DiscardConsoleEntriesCommand) Name

func (*DiscardConsoleEntriesCommand) Params

func (cmd *DiscardConsoleEntriesCommand) Params() interface{}

func (*DiscardConsoleEntriesCommand) Run

func (cmd *DiscardConsoleEntriesCommand) Run(conn *hc.Conn) error

type DiscardSearchResultsCB

type DiscardSearchResultsCB func(err error)

type DiscardSearchResultsCommand

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

Discards search results from the session with the given id. getSearchResults should no longer be called for that search. @experimental

func (*DiscardSearchResultsCommand) Done

func (cmd *DiscardSearchResultsCommand) Done(data []byte, err error)

func (*DiscardSearchResultsCommand) Name

func (cmd *DiscardSearchResultsCommand) Name() string

func (*DiscardSearchResultsCommand) Params

func (cmd *DiscardSearchResultsCommand) Params() interface{}

func (*DiscardSearchResultsCommand) Run

func (cmd *DiscardSearchResultsCommand) Run(conn *hc.Conn) error

type DiscardSearchResultsParams

type DiscardSearchResultsParams struct {
	SearchId string `json:"searchId"` // Unique search session identifier.
}

type DispatchKeyEventCB

type DispatchKeyEventCB func(err error)

type DispatchKeyEventCommand

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

func NewDispatchKeyEventCommand

func NewDispatchKeyEventCommand(params *DispatchKeyEventParams) *DispatchKeyEventCommand

func (*DispatchKeyEventCommand) Done

func (cmd *DispatchKeyEventCommand) Done(data []byte, err error)

func (*DispatchKeyEventCommand) Name

func (cmd *DispatchKeyEventCommand) Name() string

func (*DispatchKeyEventCommand) Params

func (cmd *DispatchKeyEventCommand) Params() interface{}

func (*DispatchKeyEventCommand) Run

func (cmd *DispatchKeyEventCommand) Run(conn *hc.Conn) error

type DispatchKeyEventParams

type DispatchKeyEventParams struct {
	Type                  string  `json:"type"`                            // Type of the key event.
	Modifiers             int     `json:"modifiers,omitempty"`             // Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
	Timestamp             float64 `json:"timestamp,omitempty"`             // Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time).
	Text                  string  `json:"text,omitempty"`                  // Text as generated by processing a virtual key code with a keyboard layout. Not needed for for keyUp and rawKeyDown events (default: "")
	UnmodifiedText        string  `json:"unmodifiedText,omitempty"`        // Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: "").
	KeyIdentifier         string  `json:"keyIdentifier,omitempty"`         // Unique key identifier (e.g., 'U+0041') (default: "").
	Code                  string  `json:"code,omitempty"`                  // Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: "").
	Key                   string  `json:"key,omitempty"`                   // Unique DOM defined string value describing the meaning of the key in the context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: "").
	WindowsVirtualKeyCode int     `json:"windowsVirtualKeyCode,omitempty"` // Windows virtual key code (default: 0).
	NativeVirtualKeyCode  int     `json:"nativeVirtualKeyCode,omitempty"`  // Native virtual key code (default: 0).
	AutoRepeat            bool    `json:"autoRepeat,omitempty"`            // Whether the event was generated from auto repeat (default: false).
	IsKeypad              bool    `json:"isKeypad,omitempty"`              // Whether the event was generated from the keypad (default: false).
	IsSystemKey           bool    `json:"isSystemKey,omitempty"`           // Whether the event was a system key event (default: false).
}

type DispatchMouseEventCB

type DispatchMouseEventCB func(err error)

type DispatchMouseEventCommand

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

func NewDispatchMouseEventCommand

func NewDispatchMouseEventCommand(params *DispatchMouseEventParams) *DispatchMouseEventCommand

func (*DispatchMouseEventCommand) Done

func (cmd *DispatchMouseEventCommand) Done(data []byte, err error)

func (*DispatchMouseEventCommand) Name

func (cmd *DispatchMouseEventCommand) Name() string

func (*DispatchMouseEventCommand) Params

func (cmd *DispatchMouseEventCommand) Params() interface{}

func (*DispatchMouseEventCommand) Run

func (cmd *DispatchMouseEventCommand) Run(conn *hc.Conn) error

type DispatchMouseEventParams

type DispatchMouseEventParams struct {
	Type       string  `json:"type"`                 // Type of the mouse event.
	X          int     `json:"x"`                    // X coordinate of the event relative to the main frame's viewport.
	Y          int     `json:"y"`                    // Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
	Modifiers  int     `json:"modifiers,omitempty"`  // Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
	Timestamp  float64 `json:"timestamp,omitempty"`  // Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time).
	Button     string  `json:"button,omitempty"`     // Mouse button (default: "none").
	ClickCount int     `json:"clickCount,omitempty"` // Number of times the mouse button was clicked (default: 0).
}

type DispatchSyncEventCB

type DispatchSyncEventCB func(err error)

type DispatchSyncEventCommand

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

func NewDispatchSyncEventCommand

func NewDispatchSyncEventCommand(params *DispatchSyncEventParams) *DispatchSyncEventCommand

func (*DispatchSyncEventCommand) Done

func (cmd *DispatchSyncEventCommand) Done(data []byte, err error)

func (*DispatchSyncEventCommand) Name

func (cmd *DispatchSyncEventCommand) Name() string

func (*DispatchSyncEventCommand) Params

func (cmd *DispatchSyncEventCommand) Params() interface{}

func (*DispatchSyncEventCommand) Run

func (cmd *DispatchSyncEventCommand) Run(conn *hc.Conn) error

type DispatchSyncEventParams

type DispatchSyncEventParams struct {
	Origin         string `json:"origin"`
	RegistrationId string `json:"registrationId"`
	Tag            string `json:"tag"`
	LastChance     bool   `json:"lastChance"`
}

type DispatchTouchEventCB

type DispatchTouchEventCB func(err error)

type DispatchTouchEventCommand

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

Dispatches a touch event to the page. @experimental

func NewDispatchTouchEventCommand

func NewDispatchTouchEventCommand(params *DispatchTouchEventParams) *DispatchTouchEventCommand

func (*DispatchTouchEventCommand) Done

func (cmd *DispatchTouchEventCommand) Done(data []byte, err error)

func (*DispatchTouchEventCommand) Name

func (cmd *DispatchTouchEventCommand) Name() string

func (*DispatchTouchEventCommand) Params

func (cmd *DispatchTouchEventCommand) Params() interface{}

func (*DispatchTouchEventCommand) Run

func (cmd *DispatchTouchEventCommand) Run(conn *hc.Conn) error

type DispatchTouchEventParams

type DispatchTouchEventParams struct {
	Type        string        `json:"type"`                // Type of the touch event.
	TouchPoints []*TouchPoint `json:"touchPoints"`         // Touch points.
	Modifiers   int           `json:"modifiers,omitempty"` // Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
	Timestamp   float64       `json:"timestamp,omitempty"` // Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time).
}

type DisposeBrowserContextCB

type DisposeBrowserContextCB func(result *DisposeBrowserContextResult, err error)

type DisposeBrowserContextCommand

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

func (*DisposeBrowserContextCommand) Done

func (cmd *DisposeBrowserContextCommand) Done(data []byte, err error)

func (*DisposeBrowserContextCommand) Name

func (*DisposeBrowserContextCommand) Params

func (cmd *DisposeBrowserContextCommand) Params() interface{}

func (*DisposeBrowserContextCommand) Result

func (*DisposeBrowserContextCommand) Run

func (cmd *DisposeBrowserContextCommand) Run(conn *hc.Conn) error

type DisposeBrowserContextParams

type DisposeBrowserContextParams struct {
	BrowserContextId BrowserContextID `json:"browserContextId"`
}

type DisposeBrowserContextResult

type DisposeBrowserContextResult struct {
	Success bool `json:"success"`
}

func DisposeBrowserContext

func DisposeBrowserContext(params *DisposeBrowserContextParams, conn *hc.Conn) (result *DisposeBrowserContextResult, err error)

type DistributedNodesUpdatedEvent

type DistributedNodesUpdatedEvent struct {
	InsertionPointId NodeId         `json:"insertionPointId"` // Insertion point where distrubuted nodes were updated.
	DistributedNodes []*BackendNode `json:"distributedNodes"` // Distributed nodes for given insertion point.
}

Called when distrubution is changed. @experimental

type DocumentUpdatedEvent

type DocumentUpdatedEvent struct {
}

type DomContentEventFiredEvent

type DomContentEventFiredEvent struct {
	Timestamp float64 `json:"timestamp"`
}

type DomStorageItemAddedEvent

type DomStorageItemAddedEvent struct {
	StorageId *StorageId `json:"storageId"`
	Key       string     `json:"key"`
	NewValue  string     `json:"newValue"`
}

type DomStorageItemRemovedEvent

type DomStorageItemRemovedEvent struct {
	StorageId *StorageId `json:"storageId"`
	Key       string     `json:"key"`
}

type DomStorageItemUpdatedEvent

type DomStorageItemUpdatedEvent struct {
	StorageId *StorageId `json:"storageId"`
	Key       string     `json:"key"`
	OldValue  string     `json:"oldValue"`
	NewValue  string     `json:"newValue"`
}

type DomStorageItemsClearedEvent

type DomStorageItemsClearedEvent struct {
	StorageId *StorageId `json:"storageId"`
}

type Domain

type Domain struct {
	Name    string `json:"name"`    // Domain name.
	Version string `json:"version"` // Domain version.
}

Description of the protocol domain.

type EmulateNetworkConditionsCB

type EmulateNetworkConditionsCB func(err error)

type EmulateNetworkConditionsCommand

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

func (*EmulateNetworkConditionsCommand) Done

func (cmd *EmulateNetworkConditionsCommand) Done(data []byte, err error)

func (*EmulateNetworkConditionsCommand) Name

func (*EmulateNetworkConditionsCommand) Params

func (cmd *EmulateNetworkConditionsCommand) Params() interface{}

func (*EmulateNetworkConditionsCommand) Run

func (cmd *EmulateNetworkConditionsCommand) Run(conn *hc.Conn) error

type EmulateNetworkConditionsParams

type EmulateNetworkConditionsParams struct {
	Offline            bool           `json:"offline"`                  // True to emulate internet disconnection.
	Latency            float64        `json:"latency"`                  // Additional latency (ms).
	DownloadThroughput float64        `json:"downloadThroughput"`       // Maximal aggregated download throughput.
	UploadThroughput   float64        `json:"uploadThroughput"`         // Maximal aggregated upload throughput.
	ConnectionType     ConnectionType `json:"connectionType,omitempty"` // Connection type if known.
}

type EmulateTouchFromMouseEventCB

type EmulateTouchFromMouseEventCB func(err error)

type EmulateTouchFromMouseEventCommand

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

Emulates touch event from the mouse event parameters. @experimental

func (*EmulateTouchFromMouseEventCommand) Done

func (cmd *EmulateTouchFromMouseEventCommand) Done(data []byte, err error)

func (*EmulateTouchFromMouseEventCommand) Name

func (*EmulateTouchFromMouseEventCommand) Params

func (cmd *EmulateTouchFromMouseEventCommand) Params() interface{}

func (*EmulateTouchFromMouseEventCommand) Run

type EmulateTouchFromMouseEventParams

type EmulateTouchFromMouseEventParams struct {
	Type       string  `json:"type"`                 // Type of the mouse event.
	X          int     `json:"x"`                    // X coordinate of the mouse pointer in DIP.
	Y          int     `json:"y"`                    // Y coordinate of the mouse pointer in DIP.
	Timestamp  float64 `json:"timestamp"`            // Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970.
	Button     string  `json:"button"`               // Mouse button.
	DeltaX     float64 `json:"deltaX,omitempty"`     // X delta in DIP for mouse wheel event (default: 0).
	DeltaY     float64 `json:"deltaY,omitempty"`     // Y delta in DIP for mouse wheel event (default: 0).
	Modifiers  int     `json:"modifiers,omitempty"`  // Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
	ClickCount int     `json:"clickCount,omitempty"` // Number of times the mouse button was clicked (default: 0).
}

type EmulationClearDeviceMetricsOverrideCB

type EmulationClearDeviceMetricsOverrideCB func(err error)

type EmulationClearDeviceMetricsOverrideCommand

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

func NewEmulationClearDeviceMetricsOverrideCommand

func NewEmulationClearDeviceMetricsOverrideCommand() *EmulationClearDeviceMetricsOverrideCommand

func (*EmulationClearDeviceMetricsOverrideCommand) Done

func (cmd *EmulationClearDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*EmulationClearDeviceMetricsOverrideCommand) Name

func (*EmulationClearDeviceMetricsOverrideCommand) Params

func (cmd *EmulationClearDeviceMetricsOverrideCommand) Params() interface{}

func (*EmulationClearDeviceMetricsOverrideCommand) Run

type EmulationClearGeolocationOverrideCB

type EmulationClearGeolocationOverrideCB func(err error)

type EmulationClearGeolocationOverrideCommand

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

Clears the overriden Geolocation Position and Error. @experimental

func NewEmulationClearGeolocationOverrideCommand

func NewEmulationClearGeolocationOverrideCommand() *EmulationClearGeolocationOverrideCommand

func (*EmulationClearGeolocationOverrideCommand) Done

func (cmd *EmulationClearGeolocationOverrideCommand) Done(data []byte, err error)

func (*EmulationClearGeolocationOverrideCommand) Name

func (*EmulationClearGeolocationOverrideCommand) Params

func (cmd *EmulationClearGeolocationOverrideCommand) Params() interface{}

func (*EmulationClearGeolocationOverrideCommand) Run

type EmulationSetDeviceMetricsOverrideCB

type EmulationSetDeviceMetricsOverrideCB func(err error)

type EmulationSetDeviceMetricsOverrideCommand

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

func (*EmulationSetDeviceMetricsOverrideCommand) Done

func (cmd *EmulationSetDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*EmulationSetDeviceMetricsOverrideCommand) Name

func (*EmulationSetDeviceMetricsOverrideCommand) Params

func (cmd *EmulationSetDeviceMetricsOverrideCommand) Params() interface{}

func (*EmulationSetDeviceMetricsOverrideCommand) Run

type EmulationSetDeviceMetricsOverrideParams

type EmulationSetDeviceMetricsOverrideParams struct {
	Width             int                `json:"width"`                       // Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
	Height            int                `json:"height"`                      // Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.
	DeviceScaleFactor float64            `json:"deviceScaleFactor"`           // Overriding device scale factor value. 0 disables the override.
	Mobile            bool               `json:"mobile"`                      // Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.
	FitWindow         bool               `json:"fitWindow"`                   // Whether a view that exceeds the available browser window area should be scaled down to fit.
	Scale             float64            `json:"scale,omitempty"`             // Scale to apply to resulting view image. Ignored in |fitWindow| mode.
	OffsetX           float64            `json:"offsetX,omitempty"`           // Not used.
	OffsetY           float64            `json:"offsetY,omitempty"`           // Not used.
	ScreenWidth       int                `json:"screenWidth,omitempty"`       // Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	ScreenHeight      int                `json:"screenHeight,omitempty"`      // Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	PositionX         int                `json:"positionX,omitempty"`         // Overriding view X position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	PositionY         int                `json:"positionY,omitempty"`         // Overriding view Y position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	ScreenOrientation *ScreenOrientation `json:"screenOrientation,omitempty"` // Screen orientation override.
}

type EmulationSetGeolocationOverrideCB

type EmulationSetGeolocationOverrideCB func(err error)

type EmulationSetGeolocationOverrideCommand

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

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. @experimental

func (*EmulationSetGeolocationOverrideCommand) Done

func (cmd *EmulationSetGeolocationOverrideCommand) Done(data []byte, err error)

func (*EmulationSetGeolocationOverrideCommand) Name

func (*EmulationSetGeolocationOverrideCommand) Params

func (cmd *EmulationSetGeolocationOverrideCommand) Params() interface{}

func (*EmulationSetGeolocationOverrideCommand) Run

type EmulationSetGeolocationOverrideParams

type EmulationSetGeolocationOverrideParams struct {
	Latitude  float64 `json:"latitude,omitempty"`  // Mock latitude
	Longitude float64 `json:"longitude,omitempty"` // Mock longitude
	Accuracy  float64 `json:"accuracy,omitempty"`  // Mock accuracy
}

type EmulationSetTouchEmulationEnabledCB

type EmulationSetTouchEmulationEnabledCB func(err error)

type EmulationSetTouchEmulationEnabledCommand

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

func (*EmulationSetTouchEmulationEnabledCommand) Done

func (cmd *EmulationSetTouchEmulationEnabledCommand) Done(data []byte, err error)

func (*EmulationSetTouchEmulationEnabledCommand) Name

func (*EmulationSetTouchEmulationEnabledCommand) Params

func (cmd *EmulationSetTouchEmulationEnabledCommand) Params() interface{}

func (*EmulationSetTouchEmulationEnabledCommand) Run

type EmulationSetTouchEmulationEnabledParams

type EmulationSetTouchEmulationEnabledParams struct {
	Enabled       bool   `json:"enabled"`                 // Whether the touch event emulation should be enabled.
	Configuration string `json:"configuration,omitempty"` // Touch/gesture events configuration. Default: current platform.
}

type EndCB

type EndCB func(err error)

type EndCommand

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

func NewEndCommand

func NewEndCommand() *EndCommand

func (*EndCommand) Done

func (cmd *EndCommand) Done(data []byte, err error)

func (*EndCommand) Name

func (cmd *EndCommand) Name() string

func (*EndCommand) Params

func (cmd *EndCommand) Params() interface{}

func (*EndCommand) Run

func (cmd *EndCommand) Run(conn *hc.Conn) error

type EntryAddedEvent

type EntryAddedEvent struct {
	Entry *LogEntry `json:"entry"` // The entry.
}

type EntryPreview

type EntryPreview struct {
	Key   *ObjectPreview `json:"key,omitempty"` // Preview of the key. Specified for map-like collection entries.
	Value *ObjectPreview `json:"value"`         // Preview of the value.
}

@experimental

type Error

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

Database error.

type EvaluateCB

type EvaluateCB func(result *EvaluateResult, err error)

type EvaluateCommand

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

func NewEvaluateCommand

func NewEvaluateCommand(params *EvaluateParams) *EvaluateCommand

func (*EvaluateCommand) Done

func (cmd *EvaluateCommand) Done(data []byte, err error)

func (*EvaluateCommand) Name

func (cmd *EvaluateCommand) Name() string

func (*EvaluateCommand) Params

func (cmd *EvaluateCommand) Params() interface{}

func (*EvaluateCommand) Result

func (cmd *EvaluateCommand) Result() *EvaluateResult

func (*EvaluateCommand) Run

func (cmd *EvaluateCommand) Run(conn *hc.Conn) error

type EvaluateOnCallFrameCB

type EvaluateOnCallFrameCB func(result *EvaluateOnCallFrameResult, err error)

type EvaluateOnCallFrameCommand

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

func NewEvaluateOnCallFrameCommand

func NewEvaluateOnCallFrameCommand(params *EvaluateOnCallFrameParams) *EvaluateOnCallFrameCommand

func (*EvaluateOnCallFrameCommand) Done

func (cmd *EvaluateOnCallFrameCommand) Done(data []byte, err error)

func (*EvaluateOnCallFrameCommand) Name

func (cmd *EvaluateOnCallFrameCommand) Name() string

func (*EvaluateOnCallFrameCommand) Params

func (cmd *EvaluateOnCallFrameCommand) Params() interface{}

func (*EvaluateOnCallFrameCommand) Result

func (*EvaluateOnCallFrameCommand) Run

func (cmd *EvaluateOnCallFrameCommand) Run(conn *hc.Conn) error

type EvaluateOnCallFrameParams

type EvaluateOnCallFrameParams struct {
	CallFrameId           CallFrameId `json:"callFrameId"`                     // Call frame identifier to evaluate on.
	Expression            string      `json:"expression"`                      // Expression to evaluate.
	ObjectGroup           string      `json:"objectGroup,omitempty"`           // String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).
	IncludeCommandLineAPI bool        `json:"includeCommandLineAPI,omitempty"` // Specifies whether command line API should be available to the evaluated expression, defaults to false.
	Silent                bool        `json:"silent,omitempty"`                // In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
	ReturnByValue         bool        `json:"returnByValue,omitempty"`         // Whether the result is expected to be a JSON object that should be sent by value.
	GeneratePreview       bool        `json:"generatePreview,omitempty"`       // Whether preview should be generated for the result.
}

type EvaluateOnCallFrameResult

type EvaluateOnCallFrameResult struct {
	Result           *RemoteObject     `json:"result"`           // Object wrapper for the evaluation result.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details.
}

func EvaluateOnCallFrame

func EvaluateOnCallFrame(params *EvaluateOnCallFrameParams, conn *hc.Conn) (result *EvaluateOnCallFrameResult, err error)

type EvaluateParams

type EvaluateParams struct {
	Expression            string             `json:"expression"`                      // Expression to evaluate.
	ObjectGroup           string             `json:"objectGroup,omitempty"`           // Symbolic group name that can be used to release multiple objects.
	IncludeCommandLineAPI bool               `json:"includeCommandLineAPI,omitempty"` // Determines whether Command Line API should be available during the evaluation.
	Silent                bool               `json:"silent,omitempty"`                // In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
	ContextId             ExecutionContextId `json:"contextId,omitempty"`             // Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
	ReturnByValue         bool               `json:"returnByValue,omitempty"`         // Whether the result is expected to be a JSON object that should be sent by value.
	GeneratePreview       bool               `json:"generatePreview,omitempty"`       // Whether preview should be generated for the result.
	UserGesture           bool               `json:"userGesture,omitempty"`           // Whether execution should be treated as initiated by user in the UI.
	AwaitPromise          bool               `json:"awaitPromise,omitempty"`          // Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
}

type EvaluateResult

type EvaluateResult struct {
	Result           *RemoteObject     `json:"result"`           // Evaluation result.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details.
}

func Evaluate

func Evaluate(params *EvaluateParams, conn *hc.Conn) (result *EvaluateResult, err error)

type EventListener

type EventListener struct {
	Type            string        `json:"type"`                      // EventListener's type.
	UseCapture      bool          `json:"useCapture"`                // EventListener's useCapture.
	Passive         bool          `json:"passive"`                   // EventListener's passive flag.
	Once            bool          `json:"once"`                      // EventListener's once flag.
	ScriptId        *ScriptId     `json:"scriptId"`                  // Script id of the handler code.
	LineNumber      int           `json:"lineNumber"`                // Line number in the script (0-based).
	ColumnNumber    int           `json:"columnNumber"`              // Column number in the script (0-based).
	Handler         *RemoteObject `json:"handler,omitempty"`         // Event handler function value.
	OriginalHandler *RemoteObject `json:"originalHandler,omitempty"` // Event original handler function value.
	RemoveFunction  *RemoteObject `json:"removeFunction,omitempty"`  // Event listener remove function.
}

Object event listener. @experimental

type EventSourceMessageReceivedEvent

type EventSourceMessageReceivedEvent struct {
	RequestId RequestId        `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp `json:"timestamp"` // Timestamp.
	EventName string           `json:"eventName"` // Message type.
	EventId   string           `json:"eventId"`   // Message identifier.
	Data      string           `json:"data"`      // Message content.
}

Fired when EventSource message is received. @experimental

type ExceptionDetails

type ExceptionDetails struct {
	ExceptionId        int                `json:"exceptionId"`                  // Exception id.
	Text               string             `json:"text"`                         // Exception text, which should be used together with exception object when available.
	LineNumber         int                `json:"lineNumber"`                   // Line number of the exception location (0-based).
	ColumnNumber       int                `json:"columnNumber"`                 // Column number of the exception location (0-based).
	ScriptId           ScriptId           `json:"scriptId,omitempty"`           // Script ID of the exception location.
	Url                string             `json:"url,omitempty"`                // URL of the exception location, to be used when the script was not reported.
	StackTrace         *StackTrace        `json:"stackTrace,omitempty"`         // JavaScript stack trace if available.
	Exception          *RemoteObject      `json:"exception,omitempty"`          // Exception object if available.
	ExecutionContextId ExecutionContextId `json:"executionContextId,omitempty"` // Identifier of the context where exception happened.
}

Detailed information about exception (or error) that was thrown during script compilation or execution.

type ExceptionRevokedEvent

type ExceptionRevokedEvent struct {
	Reason      string `json:"reason"`      // Reason describing why exception was revoked.
	ExceptionId int    `json:"exceptionId"` // The id of revoked exception, as reported in exceptionUnhandled.
}

type ExceptionThrownEvent

type ExceptionThrownEvent struct {
	Timestamp        RuntimeTimestamp  `json:"timestamp"` // Timestamp of the exception.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ExecuteSQLCB

type ExecuteSQLCB func(result *ExecuteSQLResult, err error)

type ExecuteSQLCommand

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

func NewExecuteSQLCommand

func NewExecuteSQLCommand(params *ExecuteSQLParams) *ExecuteSQLCommand

func (*ExecuteSQLCommand) Done

func (cmd *ExecuteSQLCommand) Done(data []byte, err error)

func (*ExecuteSQLCommand) Name

func (cmd *ExecuteSQLCommand) Name() string

func (*ExecuteSQLCommand) Params

func (cmd *ExecuteSQLCommand) Params() interface{}

func (*ExecuteSQLCommand) Result

func (cmd *ExecuteSQLCommand) Result() *ExecuteSQLResult

func (*ExecuteSQLCommand) Run

func (cmd *ExecuteSQLCommand) Run(conn *hc.Conn) error

type ExecuteSQLParams

type ExecuteSQLParams struct {
	DatabaseId DatabaseId `json:"databaseId"`
	Query      string     `json:"query"`
}

type ExecuteSQLResult

type ExecuteSQLResult struct {
	ColumnNames []string          `json:"columnNames"`
	Values      []json.RawMessage `json:"values"`
	SqlError    *Error            `json:"sqlError"`
}

func ExecuteSQL

func ExecuteSQL(params *ExecuteSQLParams, conn *hc.Conn) (result *ExecuteSQLResult, err error)

type ExecutionContextCreatedEvent

type ExecutionContextCreatedEvent struct {
	Context *ExecutionContextDescription `json:"context"` // A newly created execution contex.
}

type ExecutionContextDescription

type ExecutionContextDescription struct {
	Id      ExecutionContextId `json:"id"`                // Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
	Origin  string             `json:"origin"`            // Execution context origin.
	Name    string             `json:"name"`              // Human readable name describing given context.
	AuxData map[string]string  `json:"auxData,omitempty"` // Embedder-specific auxiliary data.
}

Description of an isolated world.

type ExecutionContextDestroyedEvent

type ExecutionContextDestroyedEvent struct {
	ExecutionContextId ExecutionContextId `json:"executionContextId"` // Id of the destroyed context
}

type ExecutionContextId

type ExecutionContextId int

Id of an execution context.

type ExecutionContextsClearedEvent

type ExecutionContextsClearedEvent struct {
}

type FocusCB

type FocusCB func(err error)

type FocusCommand

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

Focuses the given element. @experimental

func NewFocusCommand

func NewFocusCommand(params *FocusParams) *FocusCommand

func (*FocusCommand) Done

func (cmd *FocusCommand) Done(data []byte, err error)

func (*FocusCommand) Name

func (cmd *FocusCommand) Name() string

func (*FocusCommand) Params

func (cmd *FocusCommand) Params() interface{}

func (*FocusCommand) Run

func (cmd *FocusCommand) Run(conn *hc.Conn) error

type FocusParams

type FocusParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to focus.
}

type FontsUpdatedEvent

type FontsUpdatedEvent struct {
}

type ForcePseudoStateCB

type ForcePseudoStateCB func(err error)

type ForcePseudoStateCommand

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

func NewForcePseudoStateCommand

func NewForcePseudoStateCommand(params *ForcePseudoStateParams) *ForcePseudoStateCommand

func (*ForcePseudoStateCommand) Done

func (cmd *ForcePseudoStateCommand) Done(data []byte, err error)

func (*ForcePseudoStateCommand) Name

func (cmd *ForcePseudoStateCommand) Name() string

func (*ForcePseudoStateCommand) Params

func (cmd *ForcePseudoStateCommand) Params() interface{}

func (*ForcePseudoStateCommand) Run

func (cmd *ForcePseudoStateCommand) Run(conn *hc.Conn) error

type ForcePseudoStateParams

type ForcePseudoStateParams struct {
	NodeId              *NodeId  `json:"nodeId"`              // The element id for which to force the pseudo state.
	ForcedPseudoClasses []string `json:"forcedPseudoClasses"` // Element pseudo classes to force when computing the element's style.
}

type ForceViewportCB

type ForceViewportCB func(err error)

type ForceViewportCommand

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

Overrides the visible area of the page. The change is hidden from the page, i.e. the observable scroll position and page scale does not change. In effect, the command moves the specified area of the page into the top-left corner of the frame. @experimental

func NewForceViewportCommand

func NewForceViewportCommand(params *ForceViewportParams) *ForceViewportCommand

func (*ForceViewportCommand) Done

func (cmd *ForceViewportCommand) Done(data []byte, err error)

func (*ForceViewportCommand) Name

func (cmd *ForceViewportCommand) Name() string

func (*ForceViewportCommand) Params

func (cmd *ForceViewportCommand) Params() interface{}

func (*ForceViewportCommand) Run

func (cmd *ForceViewportCommand) Run(conn *hc.Conn) error

type ForceViewportParams

type ForceViewportParams struct {
	X     float64 `json:"x"`     // X coordinate of top-left corner of the area (CSS pixels).
	Y     float64 `json:"y"`     // Y coordinate of top-left corner of the area (CSS pixels).
	Scale float64 `json:"scale"` // Scale to apply to the area (relative to a page scale of 1.0).
}

type Frame

type Frame struct {
	Id             string    `json:"id"`                 // Frame unique identifier.
	ParentId       string    `json:"parentId,omitempty"` // Parent frame identifier.
	LoaderId       *LoaderId `json:"loaderId"`           // Identifier of the loader associated with this frame.
	Name           string    `json:"name,omitempty"`     // Frame's name as specified in the tag.
	Url            string    `json:"url"`                // Frame document's URL.
	SecurityOrigin string    `json:"securityOrigin"`     // Frame document's security origin.
	MimeType       string    `json:"mimeType"`           // Frame document's mimeType as determined by the browser.
}

Information about the Frame on the page.

type FrameAttachedEvent

type FrameAttachedEvent struct {
	FrameId       FrameId `json:"frameId"`       // Id of the frame that has been attached.
	ParentFrameId FrameId `json:"parentFrameId"` // Parent frame identifier.
}

type FrameClearedScheduledNavigationEvent

type FrameClearedScheduledNavigationEvent struct {
	FrameId FrameId `json:"frameId"` // Id of the frame that has cleared its scheduled navigation.
}

Fired when frame no longer has a scheduled navigation. @experimental

type FrameDetachedEvent

type FrameDetachedEvent struct {
	FrameId FrameId `json:"frameId"` // Id of the frame that has been detached.
}

type FrameId

type FrameId string

Unique frame identifier.

type FrameNavigatedEvent

type FrameNavigatedEvent struct {
	Frame *Frame `json:"frame"` // Frame object.
}

type FrameResizedEvent

type FrameResizedEvent struct {
}

@experimental

type FrameResource

type FrameResource struct {
	Url          string            `json:"url"`                    // Resource URL.
	Type         ResourceType      `json:"type"`                   // Type of this resource.
	MimeType     string            `json:"mimeType"`               // Resource mimeType as determined by the browser.
	LastModified *NetworkTimestamp `json:"lastModified,omitempty"` // last-modified timestamp as reported by server.
	ContentSize  float64           `json:"contentSize,omitempty"`  // Resource content size.
	Failed       bool              `json:"failed,omitempty"`       // True if the resource failed to load.
	Canceled     bool              `json:"canceled,omitempty"`     // True if the resource was canceled during loading.
}

Information about the Resource on the page. @experimental

type FrameResourceTree

type FrameResourceTree struct {
	Frame       *Frame               `json:"frame"`                 // Frame information for this tree item.
	ChildFrames []*FrameResourceTree `json:"childFrames,omitempty"` // Child frames.
	Resources   []*FrameResource     `json:"resources"`             // Information about frame resources.
}

Information about the Frame hierarchy along with their cached resources. @experimental

type FrameScheduledNavigationEvent

type FrameScheduledNavigationEvent struct {
	FrameId FrameId `json:"frameId"` // Id of the frame that has scheduled a navigation.
	Delay   float64 `json:"delay"`   // Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start.
}

Fired when frame schedules a potential navigation. @experimental

type FrameStartedLoadingEvent

type FrameStartedLoadingEvent struct {
	FrameId FrameId `json:"frameId"` // Id of the frame that has started loading.
}

Fired when frame has started loading. @experimental

type FrameStoppedLoadingEvent

type FrameStoppedLoadingEvent struct {
	FrameId FrameId `json:"frameId"` // Id of the frame that has stopped loading.
}

Fired when frame has stopped loading. @experimental

type FrameWithManifest

type FrameWithManifest struct {
	FrameId     *FrameId `json:"frameId"`     // Frame identifier.
	ManifestURL string   `json:"manifestURL"` // Manifest URL.
	Status      int      `json:"status"`      // Application cache status.
}

Frame identifier - manifest URL pair.

type GPUDevice

type GPUDevice struct {
	VendorId     float64 `json:"vendorId"`     // PCI ID of the GPU vendor, if available; 0 otherwise.
	DeviceId     float64 `json:"deviceId"`     // PCI ID of the GPU device, if available; 0 otherwise.
	VendorString string  `json:"vendorString"` // String description of the GPU vendor, if the PCI ID is not available.
	DeviceString string  `json:"deviceString"` // String description of the GPU device, if the PCI ID is not available.
}

Describes a single graphics processor (GPU).

type GPUInfo

type GPUInfo struct {
	Devices              []*GPUDevice      `json:"devices"`                 // The graphics devices on the system. Element 0 is the primary GPU.
	AuxAttributes        map[string]string `json:"auxAttributes,omitempty"` // An optional dictionary of additional GPU related attributes.
	FeatureStatus        map[string]string `json:"featureStatus,omitempty"` // An optional dictionary of graphics features and their status.
	DriverBugWorkarounds []string          `json:"driverBugWorkarounds"`    // An optional array of GPU driver bug workarounds.
}

Provides information about the GPU(s) on the system.

type GestureSourceType

type GestureSourceType string

@experimental

const GestureSourceTypeDefault GestureSourceType = "default"
const GestureSourceTypeMouse GestureSourceType = "mouse"
const GestureSourceTypeTouch GestureSourceType = "touch"

type GetAllCookiesCB

type GetAllCookiesCB func(result *GetAllCookiesResult, err error)

type GetAllCookiesCommand

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

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func NewGetAllCookiesCommand

func NewGetAllCookiesCommand() *GetAllCookiesCommand

func (*GetAllCookiesCommand) Done

func (cmd *GetAllCookiesCommand) Done(data []byte, err error)

func (*GetAllCookiesCommand) Name

func (cmd *GetAllCookiesCommand) Name() string

func (*GetAllCookiesCommand) Params

func (cmd *GetAllCookiesCommand) Params() interface{}

func (*GetAllCookiesCommand) Result

func (*GetAllCookiesCommand) Run

func (cmd *GetAllCookiesCommand) Run(conn *hc.Conn) error

type GetAllCookiesResult

type GetAllCookiesResult struct {
	Cookies []*Cookie `json:"cookies"` // Array of cookie objects.
}

func GetAllCookies

func GetAllCookies(conn *hc.Conn) (result *GetAllCookiesResult, err error)

type GetAppManifestCB

type GetAppManifestCB func(result *GetAppManifestResult, err error)

type GetAppManifestCommand

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

@experimental

func NewGetAppManifestCommand

func NewGetAppManifestCommand() *GetAppManifestCommand

func (*GetAppManifestCommand) Done

func (cmd *GetAppManifestCommand) Done(data []byte, err error)

func (*GetAppManifestCommand) Name

func (cmd *GetAppManifestCommand) Name() string

func (*GetAppManifestCommand) Params

func (cmd *GetAppManifestCommand) Params() interface{}

func (*GetAppManifestCommand) Result

func (*GetAppManifestCommand) Run

func (cmd *GetAppManifestCommand) Run(conn *hc.Conn) error

type GetAppManifestResult

type GetAppManifestResult struct {
	Url    string              `json:"url"` // Manifest location.
	Errors []*AppManifestError `json:"errors"`
	Data   string              `json:"data"` // Manifest content.
}

func GetAppManifest

func GetAppManifest(conn *hc.Conn) (result *GetAppManifestResult, err error)

type GetApplicationCacheForFrameCB

type GetApplicationCacheForFrameCB func(result *GetApplicationCacheForFrameResult, err error)

type GetApplicationCacheForFrameCommand

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

func (*GetApplicationCacheForFrameCommand) Done

func (cmd *GetApplicationCacheForFrameCommand) Done(data []byte, err error)

func (*GetApplicationCacheForFrameCommand) Name

func (*GetApplicationCacheForFrameCommand) Params

func (cmd *GetApplicationCacheForFrameCommand) Params() interface{}

func (*GetApplicationCacheForFrameCommand) Result

func (*GetApplicationCacheForFrameCommand) Run

type GetApplicationCacheForFrameParams

type GetApplicationCacheForFrameParams struct {
	FrameId *FrameId `json:"frameId"` // Identifier of the frame containing document whose application cache is retrieved.
}

type GetApplicationCacheForFrameResult

type GetApplicationCacheForFrameResult struct {
	ApplicationCache *ApplicationCache `json:"applicationCache"` // Relevant application cache data for the document in given frame.
}

func GetApplicationCacheForFrame

func GetApplicationCacheForFrame(params *GetApplicationCacheForFrameParams, conn *hc.Conn) (result *GetApplicationCacheForFrameResult, err error)

type GetAttributesCB

type GetAttributesCB func(result *GetAttributesResult, err error)

type GetAttributesCommand

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

func NewGetAttributesCommand

func NewGetAttributesCommand(params *GetAttributesParams) *GetAttributesCommand

func (*GetAttributesCommand) Done

func (cmd *GetAttributesCommand) Done(data []byte, err error)

func (*GetAttributesCommand) Name

func (cmd *GetAttributesCommand) Name() string

func (*GetAttributesCommand) Params

func (cmd *GetAttributesCommand) Params() interface{}

func (*GetAttributesCommand) Result

func (*GetAttributesCommand) Run

func (cmd *GetAttributesCommand) Run(conn *hc.Conn) error

type GetAttributesParams

type GetAttributesParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to retrieve attibutes for.
}

type GetAttributesResult

type GetAttributesResult struct {
	Attributes []string `json:"attributes"` // An interleaved array of node attribute names and values.
}

func GetAttributes

func GetAttributes(params *GetAttributesParams, conn *hc.Conn) (result *GetAttributesResult, err error)

type GetBackgroundColorsCB

type GetBackgroundColorsCB func(result *GetBackgroundColorsResult, err error)

type GetBackgroundColorsCommand

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

@experimental

func NewGetBackgroundColorsCommand

func NewGetBackgroundColorsCommand(params *GetBackgroundColorsParams) *GetBackgroundColorsCommand

func (*GetBackgroundColorsCommand) Done

func (cmd *GetBackgroundColorsCommand) Done(data []byte, err error)

func (*GetBackgroundColorsCommand) Name

func (cmd *GetBackgroundColorsCommand) Name() string

func (*GetBackgroundColorsCommand) Params

func (cmd *GetBackgroundColorsCommand) Params() interface{}

func (*GetBackgroundColorsCommand) Result

func (*GetBackgroundColorsCommand) Run

func (cmd *GetBackgroundColorsCommand) Run(conn *hc.Conn) error

type GetBackgroundColorsParams

type GetBackgroundColorsParams struct {
	NodeId *NodeId `json:"nodeId"` // Id of the node to get background colors for.
}

type GetBackgroundColorsResult

type GetBackgroundColorsResult struct {
	BackgroundColors []string `json:"backgroundColors"` // The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).
}

func GetBackgroundColors

func GetBackgroundColors(params *GetBackgroundColorsParams, conn *hc.Conn) (result *GetBackgroundColorsResult, err error)

type GetBoxModelCB

type GetBoxModelCB func(result *GetBoxModelResult, err error)

type GetBoxModelCommand

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

Returns boxes for the currently selected nodes. @experimental

func NewGetBoxModelCommand

func NewGetBoxModelCommand(params *GetBoxModelParams) *GetBoxModelCommand

func (*GetBoxModelCommand) Done

func (cmd *GetBoxModelCommand) Done(data []byte, err error)

func (*GetBoxModelCommand) Name

func (cmd *GetBoxModelCommand) Name() string

func (*GetBoxModelCommand) Params

func (cmd *GetBoxModelCommand) Params() interface{}

func (*GetBoxModelCommand) Result

func (cmd *GetBoxModelCommand) Result() *GetBoxModelResult

func (*GetBoxModelCommand) Run

func (cmd *GetBoxModelCommand) Run(conn *hc.Conn) error

type GetBoxModelParams

type GetBoxModelParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to get box model for.
}

type GetBoxModelResult

type GetBoxModelResult struct {
	Model *BoxModel `json:"model"` // Box model for the node.
}

func GetBoxModel

func GetBoxModel(params *GetBoxModelParams, conn *hc.Conn) (result *GetBoxModelResult, err error)

type GetCategoriesCB

type GetCategoriesCB func(result *GetCategoriesResult, err error)

type GetCategoriesCommand

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

func NewGetCategoriesCommand

func NewGetCategoriesCommand() *GetCategoriesCommand

func (*GetCategoriesCommand) Done

func (cmd *GetCategoriesCommand) Done(data []byte, err error)

func (*GetCategoriesCommand) Name

func (cmd *GetCategoriesCommand) Name() string

func (*GetCategoriesCommand) Params

func (cmd *GetCategoriesCommand) Params() interface{}

func (*GetCategoriesCommand) Result

func (*GetCategoriesCommand) Run

func (cmd *GetCategoriesCommand) Run(conn *hc.Conn) error

type GetCategoriesResult

type GetCategoriesResult struct {
	Categories []string `json:"categories"` // A list of supported tracing categories.
}

func GetCategories

func GetCategories(conn *hc.Conn) (result *GetCategoriesResult, err error)

type GetCertificateCB

type GetCertificateCB func(result *GetCertificateResult, err error)

type GetCertificateCommand

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

Returns the DER-encoded certificate. @experimental

func NewGetCertificateCommand

func NewGetCertificateCommand(params *GetCertificateParams) *GetCertificateCommand

func (*GetCertificateCommand) Done

func (cmd *GetCertificateCommand) Done(data []byte, err error)

func (*GetCertificateCommand) Name

func (cmd *GetCertificateCommand) Name() string

func (*GetCertificateCommand) Params

func (cmd *GetCertificateCommand) Params() interface{}

func (*GetCertificateCommand) Result

func (*GetCertificateCommand) Run

func (cmd *GetCertificateCommand) Run(conn *hc.Conn) error

type GetCertificateParams

type GetCertificateParams struct {
	Origin string `json:"origin"` // Origin to get certificate for.
}

type GetCertificateResult

type GetCertificateResult struct {
	TableNames []string `json:"tableNames"`
}

func GetCertificate

func GetCertificate(params *GetCertificateParams, conn *hc.Conn) (result *GetCertificateResult, err error)

type GetComputedStyleForNodeCB

type GetComputedStyleForNodeCB func(result *GetComputedStyleForNodeResult, err error)

type GetComputedStyleForNodeCommand

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

func (*GetComputedStyleForNodeCommand) Done

func (cmd *GetComputedStyleForNodeCommand) Done(data []byte, err error)

func (*GetComputedStyleForNodeCommand) Name

func (*GetComputedStyleForNodeCommand) Params

func (cmd *GetComputedStyleForNodeCommand) Params() interface{}

func (*GetComputedStyleForNodeCommand) Result

func (*GetComputedStyleForNodeCommand) Run

func (cmd *GetComputedStyleForNodeCommand) Run(conn *hc.Conn) error

type GetComputedStyleForNodeParams

type GetComputedStyleForNodeParams struct {
	NodeId *NodeId `json:"nodeId"`
}

type GetComputedStyleForNodeResult

type GetComputedStyleForNodeResult struct {
	ComputedStyle []*CSSComputedStyleProperty `json:"computedStyle"` // Computed style for the specified DOM node.
}

func GetComputedStyleForNode

func GetComputedStyleForNode(params *GetComputedStyleForNodeParams, conn *hc.Conn) (result *GetComputedStyleForNodeResult, err error)

type GetCurrentTimeCB

type GetCurrentTimeCB func(result *GetCurrentTimeResult, err error)

type GetCurrentTimeCommand

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

func NewGetCurrentTimeCommand

func NewGetCurrentTimeCommand(params *GetCurrentTimeParams) *GetCurrentTimeCommand

func (*GetCurrentTimeCommand) Done

func (cmd *GetCurrentTimeCommand) Done(data []byte, err error)

func (*GetCurrentTimeCommand) Name

func (cmd *GetCurrentTimeCommand) Name() string

func (*GetCurrentTimeCommand) Params

func (cmd *GetCurrentTimeCommand) Params() interface{}

func (*GetCurrentTimeCommand) Result

func (*GetCurrentTimeCommand) Run

func (cmd *GetCurrentTimeCommand) Run(conn *hc.Conn) error

type GetCurrentTimeParams

type GetCurrentTimeParams struct {
	Id string `json:"id"` // Id of animation.
}

type GetCurrentTimeResult

type GetCurrentTimeResult struct {
	CurrentTime float64 `json:"currentTime"` // Current time of the page.
}

func GetCurrentTime

func GetCurrentTime(params *GetCurrentTimeParams, conn *hc.Conn) (result *GetCurrentTimeResult, err error)

type GetDOMCountersCB

type GetDOMCountersCB func(result *GetDOMCountersResult, err error)

type GetDOMCountersCommand

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

func NewGetDOMCountersCommand

func NewGetDOMCountersCommand() *GetDOMCountersCommand

func (*GetDOMCountersCommand) Done

func (cmd *GetDOMCountersCommand) Done(data []byte, err error)

func (*GetDOMCountersCommand) Name

func (cmd *GetDOMCountersCommand) Name() string

func (*GetDOMCountersCommand) Params

func (cmd *GetDOMCountersCommand) Params() interface{}

func (*GetDOMCountersCommand) Result

func (*GetDOMCountersCommand) Run

func (cmd *GetDOMCountersCommand) Run(conn *hc.Conn) error

type GetDOMCountersResult

type GetDOMCountersResult struct {
	Documents        int `json:"documents"`
	Nodes            int `json:"nodes"`
	JsEventListeners int `json:"jsEventListeners"`
}

func GetDOMCounters

func GetDOMCounters(conn *hc.Conn) (result *GetDOMCountersResult, err error)

type GetDOMStorageItemsCB

type GetDOMStorageItemsCB func(result *GetDOMStorageItemsResult, err error)

type GetDOMStorageItemsCommand

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

func NewGetDOMStorageItemsCommand

func NewGetDOMStorageItemsCommand(params *GetDOMStorageItemsParams) *GetDOMStorageItemsCommand

func (*GetDOMStorageItemsCommand) Done

func (cmd *GetDOMStorageItemsCommand) Done(data []byte, err error)

func (*GetDOMStorageItemsCommand) Name

func (cmd *GetDOMStorageItemsCommand) Name() string

func (*GetDOMStorageItemsCommand) Params

func (cmd *GetDOMStorageItemsCommand) Params() interface{}

func (*GetDOMStorageItemsCommand) Result

func (*GetDOMStorageItemsCommand) Run

func (cmd *GetDOMStorageItemsCommand) Run(conn *hc.Conn) error

type GetDOMStorageItemsParams

type GetDOMStorageItemsParams struct {
	StorageId *StorageId `json:"storageId"`
}

type GetDOMStorageItemsResult

type GetDOMStorageItemsResult struct {
	Entries []Item `json:"entries"`
}

func GetDOMStorageItems

func GetDOMStorageItems(params *GetDOMStorageItemsParams, conn *hc.Conn) (result *GetDOMStorageItemsResult, err error)

type GetDatabaseTableNamesCB

type GetDatabaseTableNamesCB func(result *GetDatabaseTableNamesResult, err error)

type GetDatabaseTableNamesCommand

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

func (*GetDatabaseTableNamesCommand) Done

func (cmd *GetDatabaseTableNamesCommand) Done(data []byte, err error)

func (*GetDatabaseTableNamesCommand) Name

func (*GetDatabaseTableNamesCommand) Params

func (cmd *GetDatabaseTableNamesCommand) Params() interface{}

func (*GetDatabaseTableNamesCommand) Result

func (*GetDatabaseTableNamesCommand) Run

func (cmd *GetDatabaseTableNamesCommand) Run(conn *hc.Conn) error

type GetDatabaseTableNamesParams

type GetDatabaseTableNamesParams struct {
	DatabaseId DatabaseId `json:"databaseId"`
}

type GetDatabaseTableNamesResult

type GetDatabaseTableNamesResult struct {
	TableNames []string `json:"tableNames"`
}

func GetDatabaseTableNames

func GetDatabaseTableNames(params *GetDatabaseTableNamesParams, conn *hc.Conn) (result *GetDatabaseTableNamesResult, err error)

type GetDocumentCB

type GetDocumentCB func(result *GetDocumentResult, err error)

type GetDocumentCommand

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

func NewGetDocumentCommand

func NewGetDocumentCommand(params *GetDocumentParams) *GetDocumentCommand

func (*GetDocumentCommand) Done

func (cmd *GetDocumentCommand) Done(data []byte, err error)

func (*GetDocumentCommand) Name

func (cmd *GetDocumentCommand) Name() string

func (*GetDocumentCommand) Params

func (cmd *GetDocumentCommand) Params() interface{}

func (*GetDocumentCommand) Result

func (cmd *GetDocumentCommand) Result() *GetDocumentResult

func (*GetDocumentCommand) Run

func (cmd *GetDocumentCommand) Run(conn *hc.Conn) error

type GetDocumentParams

type GetDocumentParams struct {
	Depth  int  `json:"depth,omitempty"`  // The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
	Pierce bool `json:"pierce,omitempty"` // Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).
}

type GetDocumentResult

type GetDocumentResult struct {
	Root *Node `json:"root"` // Resulting node.
}

func GetDocument

func GetDocument(params *GetDocumentParams, conn *hc.Conn) (result *GetDocumentResult, err error)

type GetDomainsCB

type GetDomainsCB func(result *GetDomainsResult, err error)

type GetDomainsCommand

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

func NewGetDomainsCommand

func NewGetDomainsCommand() *GetDomainsCommand

func (*GetDomainsCommand) Done

func (cmd *GetDomainsCommand) Done(data []byte, err error)

func (*GetDomainsCommand) Name

func (cmd *GetDomainsCommand) Name() string

func (*GetDomainsCommand) Params

func (cmd *GetDomainsCommand) Params() interface{}

func (*GetDomainsCommand) Result

func (cmd *GetDomainsCommand) Result() *GetDomainsResult

func (*GetDomainsCommand) Run

func (cmd *GetDomainsCommand) Run(conn *hc.Conn) error

type GetDomainsResult

type GetDomainsResult struct {
	Domains []*Domain `json:"domains"` // List of supported domains.
}

func GetDomains

func GetDomains(conn *hc.Conn) (result *GetDomainsResult, err error)

type GetEventListenersCB

type GetEventListenersCB func(result *GetEventListenersResult, err error)

type GetEventListenersCommand

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

Returns event listeners of the given object. @experimental

func NewGetEventListenersCommand

func NewGetEventListenersCommand(params *GetEventListenersParams) *GetEventListenersCommand

func (*GetEventListenersCommand) Done

func (cmd *GetEventListenersCommand) Done(data []byte, err error)

func (*GetEventListenersCommand) Name

func (cmd *GetEventListenersCommand) Name() string

func (*GetEventListenersCommand) Params

func (cmd *GetEventListenersCommand) Params() interface{}

func (*GetEventListenersCommand) Result

func (*GetEventListenersCommand) Run

func (cmd *GetEventListenersCommand) Run(conn *hc.Conn) error

type GetEventListenersParams

type GetEventListenersParams struct {
	ObjectId *RemoteObjectId `json:"objectId"` // Identifier of the object to return listeners for.
}

type GetEventListenersResult

type GetEventListenersResult struct {
	Listeners []*EventListener `json:"listeners"` // Array of relevant listeners.
}

func GetEventListeners

func GetEventListeners(params *GetEventListenersParams, conn *hc.Conn) (result *GetEventListenersResult, err error)

type GetFramesWithManifestsCB

type GetFramesWithManifestsCB func(result *GetFramesWithManifestsResult, err error)

type GetFramesWithManifestsCommand

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

func NewGetFramesWithManifestsCommand

func NewGetFramesWithManifestsCommand() *GetFramesWithManifestsCommand

func (*GetFramesWithManifestsCommand) Done

func (cmd *GetFramesWithManifestsCommand) Done(data []byte, err error)

func (*GetFramesWithManifestsCommand) Name

func (*GetFramesWithManifestsCommand) Params

func (cmd *GetFramesWithManifestsCommand) Params() interface{}

func (*GetFramesWithManifestsCommand) Result

func (*GetFramesWithManifestsCommand) Run

func (cmd *GetFramesWithManifestsCommand) Run(conn *hc.Conn) error

type GetFramesWithManifestsResult

type GetFramesWithManifestsResult struct {
	FrameIds []*FrameWithManifest `json:"frameIds"` // Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
}

func GetFramesWithManifests

func GetFramesWithManifests(conn *hc.Conn) (result *GetFramesWithManifestsResult, err error)

type GetHeapObjectIdCB

type GetHeapObjectIdCB func(result *GetHeapObjectIdResult, err error)

type GetHeapObjectIdCommand

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

func NewGetHeapObjectIdCommand

func NewGetHeapObjectIdCommand(params *GetHeapObjectIdParams) *GetHeapObjectIdCommand

func (*GetHeapObjectIdCommand) Done

func (cmd *GetHeapObjectIdCommand) Done(data []byte, err error)

func (*GetHeapObjectIdCommand) Name

func (cmd *GetHeapObjectIdCommand) Name() string

func (*GetHeapObjectIdCommand) Params

func (cmd *GetHeapObjectIdCommand) Params() interface{}

func (*GetHeapObjectIdCommand) Result

func (*GetHeapObjectIdCommand) Run

func (cmd *GetHeapObjectIdCommand) Run(conn *hc.Conn) error

type GetHeapObjectIdParams

type GetHeapObjectIdParams struct {
	ObjectId *RemoteObjectId `json:"objectId"` // Identifier of the object to get heap object id for.
}

type GetHeapObjectIdResult

type GetHeapObjectIdResult struct {
	HeapSnapshotObjectId HeapSnapshotObjectId `json:"heapSnapshotObjectId"` // Id of the heap snapshot object corresponding to the passed remote object id.
}

func GetHeapObjectId

func GetHeapObjectId(params *GetHeapObjectIdParams, conn *hc.Conn) (result *GetHeapObjectIdResult, err error)

type GetHighlightObjectForTestCB

type GetHighlightObjectForTestCB func(result *GetHighlightObjectForTestResult, err error)

type GetHighlightObjectForTestCommand

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

For testing. @experimental

func (*GetHighlightObjectForTestCommand) Done

func (cmd *GetHighlightObjectForTestCommand) Done(data []byte, err error)

func (*GetHighlightObjectForTestCommand) Name

func (*GetHighlightObjectForTestCommand) Params

func (cmd *GetHighlightObjectForTestCommand) Params() interface{}

func (*GetHighlightObjectForTestCommand) Result

func (*GetHighlightObjectForTestCommand) Run

type GetHighlightObjectForTestParams

type GetHighlightObjectForTestParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to get highlight object for.
}

type GetHighlightObjectForTestResult

type GetHighlightObjectForTestResult struct {
	Highlight map[string]string `json:"highlight"` // Highlight data for the node.
}

func GetHighlightObjectForTest

func GetHighlightObjectForTest(params *GetHighlightObjectForTestParams, conn *hc.Conn) (result *GetHighlightObjectForTestResult, err error)

type GetInfoCB

type GetInfoCB func(result *GetInfoResult, err error)

type GetInfoCommand

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

func NewGetInfoCommand

func NewGetInfoCommand() *GetInfoCommand

func (*GetInfoCommand) Done

func (cmd *GetInfoCommand) Done(data []byte, err error)

func (*GetInfoCommand) Name

func (cmd *GetInfoCommand) Name() string

func (*GetInfoCommand) Params

func (cmd *GetInfoCommand) Params() interface{}

func (*GetInfoCommand) Result

func (cmd *GetInfoCommand) Result() *GetInfoResult

func (*GetInfoCommand) Run

func (cmd *GetInfoCommand) Run(conn *hc.Conn) error

type GetInfoResult

type GetInfoResult struct {
	Gpu          *GPUInfo `json:"gpu"`          // Information about the GPUs on the system.
	ModelName    string   `json:"modelName"`    // A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.
	ModelVersion string   `json:"modelVersion"` // A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.
}

func GetInfo

func GetInfo(conn *hc.Conn) (result *GetInfoResult, err error)

type GetInlineStylesForNodeCB

type GetInlineStylesForNodeCB func(result *GetInlineStylesForNodeResult, err error)

type GetInlineStylesForNodeCommand

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

func (*GetInlineStylesForNodeCommand) Done

func (cmd *GetInlineStylesForNodeCommand) Done(data []byte, err error)

func (*GetInlineStylesForNodeCommand) Name

func (*GetInlineStylesForNodeCommand) Params

func (cmd *GetInlineStylesForNodeCommand) Params() interface{}

func (*GetInlineStylesForNodeCommand) Result

func (*GetInlineStylesForNodeCommand) Run

func (cmd *GetInlineStylesForNodeCommand) Run(conn *hc.Conn) error

type GetInlineStylesForNodeParams

type GetInlineStylesForNodeParams struct {
	NodeId *NodeId `json:"nodeId"`
}

type GetInlineStylesForNodeResult

type GetInlineStylesForNodeResult struct {
	InlineStyle     *CSSStyle `json:"inlineStyle"`     // Inline style for the specified DOM node.
	AttributesStyle *CSSStyle `json:"attributesStyle"` // Attribute-defined element style (e.g. resulting from "width=20 height=100%").
}

func GetInlineStylesForNode

func GetInlineStylesForNode(params *GetInlineStylesForNodeParams, conn *hc.Conn) (result *GetInlineStylesForNodeResult, err error)

type GetLayoutMetricsCB

type GetLayoutMetricsCB func(result *GetLayoutMetricsResult, err error)

type GetLayoutMetricsCommand

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

Returns metrics relating to the layouting of the page, such as viewport bounds/scale. @experimental

func NewGetLayoutMetricsCommand

func NewGetLayoutMetricsCommand() *GetLayoutMetricsCommand

func (*GetLayoutMetricsCommand) Done

func (cmd *GetLayoutMetricsCommand) Done(data []byte, err error)

func (*GetLayoutMetricsCommand) Name

func (cmd *GetLayoutMetricsCommand) Name() string

func (*GetLayoutMetricsCommand) Params

func (cmd *GetLayoutMetricsCommand) Params() interface{}

func (*GetLayoutMetricsCommand) Result

func (*GetLayoutMetricsCommand) Run

func (cmd *GetLayoutMetricsCommand) Run(conn *hc.Conn) error

type GetLayoutMetricsResult

type GetLayoutMetricsResult struct {
	LayoutViewport *LayoutViewport `json:"layoutViewport"` // Metrics relating to the layout viewport.
	VisualViewport *VisualViewport `json:"visualViewport"` // Metrics relating to the visual viewport.
}

func GetLayoutMetrics

func GetLayoutMetrics(conn *hc.Conn) (result *GetLayoutMetricsResult, err error)

type GetLayoutTreeAndStylesCB

type GetLayoutTreeAndStylesCB func(result *GetLayoutTreeAndStylesResult, err error)

type GetLayoutTreeAndStylesCommand

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

For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style. It only returns pushed nodes, on way to pull all nodes is to call DOM.getDocument with a depth of -1. @experimental

func (*GetLayoutTreeAndStylesCommand) Done

func (cmd *GetLayoutTreeAndStylesCommand) Done(data []byte, err error)

func (*GetLayoutTreeAndStylesCommand) Name

func (*GetLayoutTreeAndStylesCommand) Params

func (cmd *GetLayoutTreeAndStylesCommand) Params() interface{}

func (*GetLayoutTreeAndStylesCommand) Result

func (*GetLayoutTreeAndStylesCommand) Run

func (cmd *GetLayoutTreeAndStylesCommand) Run(conn *hc.Conn) error

type GetLayoutTreeAndStylesParams

type GetLayoutTreeAndStylesParams struct {
	ComputedStyleWhitelist []string `json:"computedStyleWhitelist"` // Whitelist of computed styles to return.
}

type GetLayoutTreeAndStylesResult

type GetLayoutTreeAndStylesResult struct {
	LayoutTreeNodes []*LayoutTreeNode `json:"layoutTreeNodes"`
	ComputedStyles  []*ComputedStyle  `json:"computedStyles"`
}

func GetLayoutTreeAndStyles

func GetLayoutTreeAndStyles(params *GetLayoutTreeAndStylesParams, conn *hc.Conn) (result *GetLayoutTreeAndStylesResult, err error)

type GetManifestForFrameCB

type GetManifestForFrameCB func(result *GetManifestForFrameResult, err error)

type GetManifestForFrameCommand

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

func NewGetManifestForFrameCommand

func NewGetManifestForFrameCommand(params *GetManifestForFrameParams) *GetManifestForFrameCommand

func (*GetManifestForFrameCommand) Done

func (cmd *GetManifestForFrameCommand) Done(data []byte, err error)

func (*GetManifestForFrameCommand) Name

func (cmd *GetManifestForFrameCommand) Name() string

func (*GetManifestForFrameCommand) Params

func (cmd *GetManifestForFrameCommand) Params() interface{}

func (*GetManifestForFrameCommand) Result

func (*GetManifestForFrameCommand) Run

func (cmd *GetManifestForFrameCommand) Run(conn *hc.Conn) error

type GetManifestForFrameParams

type GetManifestForFrameParams struct {
	FrameId *FrameId `json:"frameId"` // Identifier of the frame containing document whose manifest is retrieved.
}

type GetManifestForFrameResult

type GetManifestForFrameResult struct {
	ManifestURL string `json:"manifestURL"` // Manifest URL for document in the given frame.
}

func GetManifestForFrame

func GetManifestForFrame(params *GetManifestForFrameParams, conn *hc.Conn) (result *GetManifestForFrameResult, err error)

type GetMatchedStylesForNodeCB

type GetMatchedStylesForNodeCB func(result *GetMatchedStylesForNodeResult, err error)

type GetMatchedStylesForNodeCommand

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

func (*GetMatchedStylesForNodeCommand) Done

func (cmd *GetMatchedStylesForNodeCommand) Done(data []byte, err error)

func (*GetMatchedStylesForNodeCommand) Name

func (*GetMatchedStylesForNodeCommand) Params

func (cmd *GetMatchedStylesForNodeCommand) Params() interface{}

func (*GetMatchedStylesForNodeCommand) Result

func (*GetMatchedStylesForNodeCommand) Run

func (cmd *GetMatchedStylesForNodeCommand) Run(conn *hc.Conn) error

type GetMatchedStylesForNodeParams

type GetMatchedStylesForNodeParams struct {
	NodeId *NodeId `json:"nodeId"`
}

type GetMatchedStylesForNodeResult

type GetMatchedStylesForNodeResult struct {
	InlineStyle       *CSSStyle               `json:"inlineStyle"`       // Inline style for the specified DOM node.
	AttributesStyle   *CSSStyle               `json:"attributesStyle"`   // Attribute-defined element style (e.g. resulting from "width=20 height=100%").
	MatchedCSSRules   []*RuleMatch            `json:"matchedCSSRules"`   // CSS rules matching this node, from all applicable stylesheets.
	PseudoElements    []*PseudoElementMatches `json:"pseudoElements"`    // Pseudo style matches for this node.
	Inherited         []*InheritedStyleEntry  `json:"inherited"`         // A chain of inherited styles (from the immediate node parent up to the DOM tree root).
	CssKeyframesRules []*CSSKeyframesRule     `json:"cssKeyframesRules"` // A list of CSS keyframed animations matching this node.
}

func GetMatchedStylesForNode

func GetMatchedStylesForNode(params *GetMatchedStylesForNodeParams, conn *hc.Conn) (result *GetMatchedStylesForNodeResult, err error)

type GetMediaQueriesCB

type GetMediaQueriesCB func(result *GetMediaQueriesResult, err error)

type GetMediaQueriesCommand

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

Returns all media queries parsed by the rendering engine. @experimental

func NewGetMediaQueriesCommand

func NewGetMediaQueriesCommand() *GetMediaQueriesCommand

func (*GetMediaQueriesCommand) Done

func (cmd *GetMediaQueriesCommand) Done(data []byte, err error)

func (*GetMediaQueriesCommand) Name

func (cmd *GetMediaQueriesCommand) Name() string

func (*GetMediaQueriesCommand) Params

func (cmd *GetMediaQueriesCommand) Params() interface{}

func (*GetMediaQueriesCommand) Result

func (*GetMediaQueriesCommand) Run

func (cmd *GetMediaQueriesCommand) Run(conn *hc.Conn) error

type GetMediaQueriesResult

type GetMediaQueriesResult struct {
	Medias []*CSSMedia `json:"medias"`
}

func GetMediaQueries

func GetMediaQueries(conn *hc.Conn) (result *GetMediaQueriesResult, err error)

type GetNavigationHistoryCB

type GetNavigationHistoryCB func(result *GetNavigationHistoryResult, err error)

type GetNavigationHistoryCommand

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

Returns navigation history for the current page. @experimental

func NewGetNavigationHistoryCommand

func NewGetNavigationHistoryCommand() *GetNavigationHistoryCommand

func (*GetNavigationHistoryCommand) Done

func (cmd *GetNavigationHistoryCommand) Done(data []byte, err error)

func (*GetNavigationHistoryCommand) Name

func (cmd *GetNavigationHistoryCommand) Name() string

func (*GetNavigationHistoryCommand) Params

func (cmd *GetNavigationHistoryCommand) Params() interface{}

func (*GetNavigationHistoryCommand) Result

func (*GetNavigationHistoryCommand) Run

func (cmd *GetNavigationHistoryCommand) Run(conn *hc.Conn) error

type GetNavigationHistoryResult

type GetNavigationHistoryResult struct {
	CurrentIndex int                `json:"currentIndex"` // Index of the current navigation history entry.
	Entries      []*NavigationEntry `json:"entries"`      // Array of navigation history entries.
}

func GetNavigationHistory

func GetNavigationHistory(conn *hc.Conn) (result *GetNavigationHistoryResult, err error)

type GetNodeForLocationCB

type GetNodeForLocationCB func(result *GetNodeForLocationResult, err error)

type GetNodeForLocationCommand

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

Returns node id at given location. @experimental

func NewGetNodeForLocationCommand

func NewGetNodeForLocationCommand(params *GetNodeForLocationParams) *GetNodeForLocationCommand

func (*GetNodeForLocationCommand) Done

func (cmd *GetNodeForLocationCommand) Done(data []byte, err error)

func (*GetNodeForLocationCommand) Name

func (cmd *GetNodeForLocationCommand) Name() string

func (*GetNodeForLocationCommand) Params

func (cmd *GetNodeForLocationCommand) Params() interface{}

func (*GetNodeForLocationCommand) Result

func (*GetNodeForLocationCommand) Run

func (cmd *GetNodeForLocationCommand) Run(conn *hc.Conn) error

type GetNodeForLocationParams

type GetNodeForLocationParams struct {
	X int `json:"x"` // X coordinate.
	Y int `json:"y"` // Y coordinate.
}

type GetNodeForLocationResult

type GetNodeForLocationResult struct {
	NodeId NodeId `json:"nodeId"` // Id of the node at given coordinates.
}

func GetNodeForLocation

func GetNodeForLocation(params *GetNodeForLocationParams, conn *hc.Conn) (result *GetNodeForLocationResult, err error)

type GetObjectByHeapObjectIdCB

type GetObjectByHeapObjectIdCB func(result *GetObjectByHeapObjectIdResult, err error)

type GetObjectByHeapObjectIdCommand

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

func (*GetObjectByHeapObjectIdCommand) Done

func (cmd *GetObjectByHeapObjectIdCommand) Done(data []byte, err error)

func (*GetObjectByHeapObjectIdCommand) Name

func (*GetObjectByHeapObjectIdCommand) Params

func (cmd *GetObjectByHeapObjectIdCommand) Params() interface{}

func (*GetObjectByHeapObjectIdCommand) Result

func (*GetObjectByHeapObjectIdCommand) Run

func (cmd *GetObjectByHeapObjectIdCommand) Run(conn *hc.Conn) error

type GetObjectByHeapObjectIdParams

type GetObjectByHeapObjectIdParams struct {
	ObjectId    HeapSnapshotObjectId `json:"objectId"`
	ObjectGroup string               `json:"objectGroup,omitempty"` // Symbolic group name that can be used to release multiple objects.
}

type GetObjectByHeapObjectIdResult

type GetObjectByHeapObjectIdResult struct {
	Result *RemoteObject `json:"result"` // Evaluation result.
}

func GetObjectByHeapObjectId

func GetObjectByHeapObjectId(params *GetObjectByHeapObjectIdParams, conn *hc.Conn) (result *GetObjectByHeapObjectIdResult, err error)

type GetOuterHTMLCB

type GetOuterHTMLCB func(result *GetOuterHTMLResult, err error)

type GetOuterHTMLCommand

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

func NewGetOuterHTMLCommand

func NewGetOuterHTMLCommand(params *GetOuterHTMLParams) *GetOuterHTMLCommand

func (*GetOuterHTMLCommand) Done

func (cmd *GetOuterHTMLCommand) Done(data []byte, err error)

func (*GetOuterHTMLCommand) Name

func (cmd *GetOuterHTMLCommand) Name() string

func (*GetOuterHTMLCommand) Params

func (cmd *GetOuterHTMLCommand) Params() interface{}

func (*GetOuterHTMLCommand) Result

func (cmd *GetOuterHTMLCommand) Result() *GetOuterHTMLResult

func (*GetOuterHTMLCommand) Run

func (cmd *GetOuterHTMLCommand) Run(conn *hc.Conn) error

type GetOuterHTMLParams

type GetOuterHTMLParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to get markup for.
}

type GetOuterHTMLResult

type GetOuterHTMLResult struct {
	OuterHTML string `json:"outerHTML"` // Outer HTML markup.
}

func GetOuterHTML

func GetOuterHTML(params *GetOuterHTMLParams, conn *hc.Conn) (result *GetOuterHTMLResult, err error)

type GetPartialAXTreeCB

type GetPartialAXTreeCB func(result *GetPartialAXTreeResult, err error)

type GetPartialAXTreeCommand

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

Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists. @experimental

func NewGetPartialAXTreeCommand

func NewGetPartialAXTreeCommand(params *GetPartialAXTreeParams) *GetPartialAXTreeCommand

func (*GetPartialAXTreeCommand) Done

func (cmd *GetPartialAXTreeCommand) Done(data []byte, err error)

func (*GetPartialAXTreeCommand) Name

func (cmd *GetPartialAXTreeCommand) Name() string

func (*GetPartialAXTreeCommand) Params

func (cmd *GetPartialAXTreeCommand) Params() interface{}

func (*GetPartialAXTreeCommand) Result

func (*GetPartialAXTreeCommand) Run

func (cmd *GetPartialAXTreeCommand) Run(conn *hc.Conn) error

type GetPartialAXTreeParams

type GetPartialAXTreeParams struct {
	NodeId         *NodeId `json:"nodeId"`                   // ID of node to get the partial accessibility tree for.
	FetchRelatives bool    `json:"fetchRelatives,omitempty"` // Whether to fetch this nodes ancestors, siblings and children. Defaults to true.
}

type GetPartialAXTreeResult

type GetPartialAXTreeResult struct {
	Nodes []*AXNode `json:"nodes"` // The Accessibility.AXNode for this DOM node, if it exists, plus its ancestors, siblings and children, if requested.
}

func GetPartialAXTree

func GetPartialAXTree(params *GetPartialAXTreeParams, conn *hc.Conn) (result *GetPartialAXTreeResult, err error)

type GetPlatformFontsForNodeCB

type GetPlatformFontsForNodeCB func(result *GetPlatformFontsForNodeResult, err error)

type GetPlatformFontsForNodeCommand

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

Requests information about platform fonts which we used to render child TextNodes in the given node. @experimental

func (*GetPlatformFontsForNodeCommand) Done

func (cmd *GetPlatformFontsForNodeCommand) Done(data []byte, err error)

func (*GetPlatformFontsForNodeCommand) Name

func (*GetPlatformFontsForNodeCommand) Params

func (cmd *GetPlatformFontsForNodeCommand) Params() interface{}

func (*GetPlatformFontsForNodeCommand) Result

func (*GetPlatformFontsForNodeCommand) Run

func (cmd *GetPlatformFontsForNodeCommand) Run(conn *hc.Conn) error

type GetPlatformFontsForNodeParams

type GetPlatformFontsForNodeParams struct {
	NodeId *NodeId `json:"nodeId"`
}

type GetPlatformFontsForNodeResult

type GetPlatformFontsForNodeResult struct {
	Fonts []*PlatformFontUsage `json:"fonts"` // Usage statistics for every employed platform font.
}

func GetPlatformFontsForNode

func GetPlatformFontsForNode(params *GetPlatformFontsForNodeParams, conn *hc.Conn) (result *GetPlatformFontsForNodeResult, err error)

type GetPlaybackRateCB

type GetPlaybackRateCB func(result *GetPlaybackRateResult, err error)

type GetPlaybackRateCommand

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

func NewGetPlaybackRateCommand

func NewGetPlaybackRateCommand() *GetPlaybackRateCommand

func (*GetPlaybackRateCommand) Done

func (cmd *GetPlaybackRateCommand) Done(data []byte, err error)

func (*GetPlaybackRateCommand) Name

func (cmd *GetPlaybackRateCommand) Name() string

func (*GetPlaybackRateCommand) Params

func (cmd *GetPlaybackRateCommand) Params() interface{}

func (*GetPlaybackRateCommand) Result

func (*GetPlaybackRateCommand) Run

func (cmd *GetPlaybackRateCommand) Run(conn *hc.Conn) error

type GetPlaybackRateResult

type GetPlaybackRateResult struct {
	PlaybackRate float64 `json:"playbackRate"` // Playback rate for animations on page.
}

func GetPlaybackRate

func GetPlaybackRate(conn *hc.Conn) (result *GetPlaybackRateResult, err error)

type GetPossibleBreakpointsCB

type GetPossibleBreakpointsCB func(result *GetPossibleBreakpointsResult, err error)

type GetPossibleBreakpointsCommand

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

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. @experimental

func (*GetPossibleBreakpointsCommand) Done

func (cmd *GetPossibleBreakpointsCommand) Done(data []byte, err error)

func (*GetPossibleBreakpointsCommand) Name

func (*GetPossibleBreakpointsCommand) Params

func (cmd *GetPossibleBreakpointsCommand) Params() interface{}

func (*GetPossibleBreakpointsCommand) Result

func (*GetPossibleBreakpointsCommand) Run

func (cmd *GetPossibleBreakpointsCommand) Run(conn *hc.Conn) error

type GetPossibleBreakpointsParams

type GetPossibleBreakpointsParams struct {
	Start *Location `json:"start"`         // Start of range to search possible breakpoint locations in.
	End   *Location `json:"end,omitempty"` // End of range to search possible breakpoint locations in (excluding). When not specifed, end of scripts is used as end of range.
}

type GetPossibleBreakpointsResult

type GetPossibleBreakpointsResult struct {
	Locations []*Location `json:"locations"` // List of the possible breakpoint locations.
}

func GetPossibleBreakpoints

func GetPossibleBreakpoints(params *GetPossibleBreakpointsParams, conn *hc.Conn) (result *GetPossibleBreakpointsResult, err error)

type GetPropertiesCB

type GetPropertiesCB func(result *GetPropertiesResult, err error)

type GetPropertiesCommand

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

func NewGetPropertiesCommand

func NewGetPropertiesCommand(params *GetPropertiesParams) *GetPropertiesCommand

func (*GetPropertiesCommand) Done

func (cmd *GetPropertiesCommand) Done(data []byte, err error)

func (*GetPropertiesCommand) Name

func (cmd *GetPropertiesCommand) Name() string

func (*GetPropertiesCommand) Params

func (cmd *GetPropertiesCommand) Params() interface{}

func (*GetPropertiesCommand) Result

func (*GetPropertiesCommand) Run

func (cmd *GetPropertiesCommand) Run(conn *hc.Conn) error

type GetPropertiesParams

type GetPropertiesParams struct {
	ObjectId               RemoteObjectId `json:"objectId"`                         // Identifier of the object to return properties for.
	OwnProperties          bool           `json:"ownProperties,omitempty"`          // If true, returns properties belonging only to the element itself, not to its prototype chain.
	AccessorPropertiesOnly bool           `json:"accessorPropertiesOnly,omitempty"` // If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
	GeneratePreview        bool           `json:"generatePreview,omitempty"`        // Whether preview should be generated for the results.
}

type GetPropertiesResult

type GetPropertiesResult struct {
	Result             []*PropertyDescriptor         `json:"result"`             // Object properties.
	InternalProperties []*InternalPropertyDescriptor `json:"internalProperties"` // Internal object properties (only of the element itself).
	ExceptionDetails   *ExceptionDetails             `json:"exceptionDetails"`   // Exception details.
}

func GetProperties

func GetProperties(params *GetPropertiesParams, conn *hc.Conn) (result *GetPropertiesResult, err error)

type GetRelayoutBoundaryCB

type GetRelayoutBoundaryCB func(result *GetRelayoutBoundaryResult, err error)

type GetRelayoutBoundaryCommand

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

Returns the id of the nearest ancestor that is a relayout boundary. @experimental

func NewGetRelayoutBoundaryCommand

func NewGetRelayoutBoundaryCommand(params *GetRelayoutBoundaryParams) *GetRelayoutBoundaryCommand

func (*GetRelayoutBoundaryCommand) Done

func (cmd *GetRelayoutBoundaryCommand) Done(data []byte, err error)

func (*GetRelayoutBoundaryCommand) Name

func (cmd *GetRelayoutBoundaryCommand) Name() string

func (*GetRelayoutBoundaryCommand) Params

func (cmd *GetRelayoutBoundaryCommand) Params() interface{}

func (*GetRelayoutBoundaryCommand) Result

func (*GetRelayoutBoundaryCommand) Run

func (cmd *GetRelayoutBoundaryCommand) Run(conn *hc.Conn) error

type GetRelayoutBoundaryParams

type GetRelayoutBoundaryParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node.
}

type GetRelayoutBoundaryResult

type GetRelayoutBoundaryResult struct {
	NodeId NodeId `json:"nodeId"` // Relayout boundary node id for the given node.
}

func GetRelayoutBoundary

func GetRelayoutBoundary(params *GetRelayoutBoundaryParams, conn *hc.Conn) (result *GetRelayoutBoundaryResult, err error)

type GetResourceContentCB

type GetResourceContentCB func(result *GetResourceContentResult, err error)

type GetResourceContentCommand

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

Returns content of the given resource. @experimental

func NewGetResourceContentCommand

func NewGetResourceContentCommand(params *GetResourceContentParams) *GetResourceContentCommand

func (*GetResourceContentCommand) Done

func (cmd *GetResourceContentCommand) Done(data []byte, err error)

func (*GetResourceContentCommand) Name

func (cmd *GetResourceContentCommand) Name() string

func (*GetResourceContentCommand) Params

func (cmd *GetResourceContentCommand) Params() interface{}

func (*GetResourceContentCommand) Result

func (*GetResourceContentCommand) Run

func (cmd *GetResourceContentCommand) Run(conn *hc.Conn) error

type GetResourceContentParams

type GetResourceContentParams struct {
	FrameId FrameId `json:"frameId"` // Frame id to get resource for.
	Url     string  `json:"url"`     // URL of the resource to get content for.
}

type GetResourceContentResult

type GetResourceContentResult struct {
	Content       string `json:"content"`       // Resource content.
	Base64Encoded bool   `json:"base64Encoded"` // True, if content was served as base64.
}

func GetResourceContent

func GetResourceContent(params *GetResourceContentParams, conn *hc.Conn) (result *GetResourceContentResult, err error)

type GetResourceTreeCB

type GetResourceTreeCB func(result *GetResourceTreeResult, err error)

type GetResourceTreeCommand

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

Returns present frame / resource tree structure. @experimental

func NewGetResourceTreeCommand

func NewGetResourceTreeCommand() *GetResourceTreeCommand

func (*GetResourceTreeCommand) Done

func (cmd *GetResourceTreeCommand) Done(data []byte, err error)

func (*GetResourceTreeCommand) Name

func (cmd *GetResourceTreeCommand) Name() string

func (*GetResourceTreeCommand) Params

func (cmd *GetResourceTreeCommand) Params() interface{}

func (*GetResourceTreeCommand) Result

func (*GetResourceTreeCommand) Run

func (cmd *GetResourceTreeCommand) Run(conn *hc.Conn) error

type GetResourceTreeResult

type GetResourceTreeResult struct {
	FrameTree *FrameResourceTree `json:"frameTree"` // Present frame / resource tree structure.
}

func GetResourceTree

func GetResourceTree(conn *hc.Conn) (result *GetResourceTreeResult, err error)

type GetResponseBodyCB

type GetResponseBodyCB func(result *GetResponseBodyResult, err error)

type GetResponseBodyCommand

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

func NewGetResponseBodyCommand

func NewGetResponseBodyCommand(params *GetResponseBodyParams) *GetResponseBodyCommand

func (*GetResponseBodyCommand) Done

func (cmd *GetResponseBodyCommand) Done(data []byte, err error)

func (*GetResponseBodyCommand) Name

func (cmd *GetResponseBodyCommand) Name() string

func (*GetResponseBodyCommand) Params

func (cmd *GetResponseBodyCommand) Params() interface{}

func (*GetResponseBodyCommand) Result

func (*GetResponseBodyCommand) Run

func (cmd *GetResponseBodyCommand) Run(conn *hc.Conn) error

type GetResponseBodyParams

type GetResponseBodyParams struct {
	RequestId RequestId `json:"requestId"` // Identifier of the network request to get content for.
}

type GetResponseBodyResult

type GetResponseBodyResult struct {
	Body          string `json:"body"`          // Response body.
	Base64Encoded bool   `json:"base64Encoded"` // True, if content was sent as base64.
}

func GetResponseBody

func GetResponseBody(params *GetResponseBodyParams, conn *hc.Conn) (result *GetResponseBodyResult, err error)

type GetScriptSourceCB

type GetScriptSourceCB func(result *GetScriptSourceResult, err error)

type GetScriptSourceCommand

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

func NewGetScriptSourceCommand

func NewGetScriptSourceCommand(params *GetScriptSourceParams) *GetScriptSourceCommand

func (*GetScriptSourceCommand) Done

func (cmd *GetScriptSourceCommand) Done(data []byte, err error)

func (*GetScriptSourceCommand) Name

func (cmd *GetScriptSourceCommand) Name() string

func (*GetScriptSourceCommand) Params

func (cmd *GetScriptSourceCommand) Params() interface{}

func (*GetScriptSourceCommand) Result

func (*GetScriptSourceCommand) Run

func (cmd *GetScriptSourceCommand) Run(conn *hc.Conn) error

type GetScriptSourceParams

type GetScriptSourceParams struct {
	ScriptId *ScriptId `json:"scriptId"` // Id of the script to get source for.
}

type GetScriptSourceResult

type GetScriptSourceResult struct {
	ScriptSource string `json:"scriptSource"` // Script source.
}

func GetScriptSource

func GetScriptSource(params *GetScriptSourceParams, conn *hc.Conn) (result *GetScriptSourceResult, err error)

type GetSearchResultsCB

type GetSearchResultsCB func(result *GetSearchResultsResult, err error)

type GetSearchResultsCommand

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

Returns search results from given fromIndex to given toIndex from the sarch with the given identifier. @experimental

func NewGetSearchResultsCommand

func NewGetSearchResultsCommand(params *GetSearchResultsParams) *GetSearchResultsCommand

func (*GetSearchResultsCommand) Done

func (cmd *GetSearchResultsCommand) Done(data []byte, err error)

func (*GetSearchResultsCommand) Name

func (cmd *GetSearchResultsCommand) Name() string

func (*GetSearchResultsCommand) Params

func (cmd *GetSearchResultsCommand) Params() interface{}

func (*GetSearchResultsCommand) Result

func (*GetSearchResultsCommand) Run

func (cmd *GetSearchResultsCommand) Run(conn *hc.Conn) error

type GetSearchResultsParams

type GetSearchResultsParams struct {
	SearchId  string `json:"searchId"`  // Unique search session identifier.
	FromIndex int    `json:"fromIndex"` // Start index of the search result to be returned.
	ToIndex   int    `json:"toIndex"`   // End index of the search result to be returned.
}

type GetSearchResultsResult

type GetSearchResultsResult struct {
	NodeIds []NodeId `json:"nodeIds"` // Ids of the search result nodes.
}

func GetSearchResults

func GetSearchResults(params *GetSearchResultsParams, conn *hc.Conn) (result *GetSearchResultsResult, err error)

type GetStyleSheetTextCB

type GetStyleSheetTextCB func(result *GetStyleSheetTextResult, err error)

type GetStyleSheetTextCommand

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

func NewGetStyleSheetTextCommand

func NewGetStyleSheetTextCommand(params *GetStyleSheetTextParams) *GetStyleSheetTextCommand

func (*GetStyleSheetTextCommand) Done

func (cmd *GetStyleSheetTextCommand) Done(data []byte, err error)

func (*GetStyleSheetTextCommand) Name

func (cmd *GetStyleSheetTextCommand) Name() string

func (*GetStyleSheetTextCommand) Params

func (cmd *GetStyleSheetTextCommand) Params() interface{}

func (*GetStyleSheetTextCommand) Result

func (*GetStyleSheetTextCommand) Run

func (cmd *GetStyleSheetTextCommand) Run(conn *hc.Conn) error

type GetStyleSheetTextParams

type GetStyleSheetTextParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
}

type GetStyleSheetTextResult

type GetStyleSheetTextResult struct {
	Text string `json:"text"` // The stylesheet text.
}

func GetStyleSheetText

func GetStyleSheetText(params *GetStyleSheetTextParams, conn *hc.Conn) (result *GetStyleSheetTextResult, err error)

type GetTargetInfoCB

type GetTargetInfoCB func(result *GetTargetInfoResult, err error)

type GetTargetInfoCommand

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

func NewGetTargetInfoCommand

func NewGetTargetInfoCommand(params *GetTargetInfoParams) *GetTargetInfoCommand

func (*GetTargetInfoCommand) Done

func (cmd *GetTargetInfoCommand) Done(data []byte, err error)

func (*GetTargetInfoCommand) Name

func (cmd *GetTargetInfoCommand) Name() string

func (*GetTargetInfoCommand) Params

func (cmd *GetTargetInfoCommand) Params() interface{}

func (*GetTargetInfoCommand) Result

func (*GetTargetInfoCommand) Run

func (cmd *GetTargetInfoCommand) Run(conn *hc.Conn) error

type GetTargetInfoParams

type GetTargetInfoParams struct {
	TargetId TargetID `json:"targetId"`
}

type GetTargetInfoResult

type GetTargetInfoResult struct {
	TargetInfo *TargetInfo `json:"targetInfo"`
}

func GetTargetInfo

func GetTargetInfo(params *GetTargetInfoParams, conn *hc.Conn) (result *GetTargetInfoResult, err error)

type GetTargetsCB

type GetTargetsCB func(result *GetTargetsResult, err error)

type GetTargetsCommand

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

func NewGetTargetsCommand

func NewGetTargetsCommand() *GetTargetsCommand

func (*GetTargetsCommand) Done

func (cmd *GetTargetsCommand) Done(data []byte, err error)

func (*GetTargetsCommand) Name

func (cmd *GetTargetsCommand) Name() string

func (*GetTargetsCommand) Params

func (cmd *GetTargetsCommand) Params() interface{}

func (*GetTargetsCommand) Result

func (cmd *GetTargetsCommand) Result() *GetTargetsResult

func (*GetTargetsCommand) Run

func (cmd *GetTargetsCommand) Run(conn *hc.Conn) error

type GetTargetsResult

type GetTargetsResult struct {
	TargetInfos []*TargetInfo `json:"targetInfos"` // The list of targets.
}

func GetTargets

func GetTargets(conn *hc.Conn) (result *GetTargetsResult, err error)

type HandleJavaScriptDialogCB

type HandleJavaScriptDialogCB func(err error)

type HandleJavaScriptDialogCommand

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

func (*HandleJavaScriptDialogCommand) Done

func (cmd *HandleJavaScriptDialogCommand) Done(data []byte, err error)

func (*HandleJavaScriptDialogCommand) Name

func (*HandleJavaScriptDialogCommand) Params

func (cmd *HandleJavaScriptDialogCommand) Params() interface{}

func (*HandleJavaScriptDialogCommand) Run

func (cmd *HandleJavaScriptDialogCommand) Run(conn *hc.Conn) error

type HandleJavaScriptDialogParams

type HandleJavaScriptDialogParams struct {
	Accept     bool   `json:"accept"`               // Whether to accept or dismiss the dialog.
	PromptText string `json:"promptText,omitempty"` // The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.
}

type Headers

type Headers struct {
}

Request / response headers as keys / values of JSON object.

type HeapProfilerDisableCB

type HeapProfilerDisableCB func(err error)

type HeapProfilerDisableCommand

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

func NewHeapProfilerDisableCommand

func NewHeapProfilerDisableCommand() *HeapProfilerDisableCommand

func (*HeapProfilerDisableCommand) Done

func (cmd *HeapProfilerDisableCommand) Done(data []byte, err error)

func (*HeapProfilerDisableCommand) Name

func (cmd *HeapProfilerDisableCommand) Name() string

func (*HeapProfilerDisableCommand) Params

func (cmd *HeapProfilerDisableCommand) Params() interface{}

func (*HeapProfilerDisableCommand) Run

func (cmd *HeapProfilerDisableCommand) Run(conn *hc.Conn) error

type HeapProfilerEnableCB

type HeapProfilerEnableCB func(err error)

type HeapProfilerEnableCommand

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

func NewHeapProfilerEnableCommand

func NewHeapProfilerEnableCommand() *HeapProfilerEnableCommand

func (*HeapProfilerEnableCommand) Done

func (cmd *HeapProfilerEnableCommand) Done(data []byte, err error)

func (*HeapProfilerEnableCommand) Name

func (cmd *HeapProfilerEnableCommand) Name() string

func (*HeapProfilerEnableCommand) Params

func (cmd *HeapProfilerEnableCommand) Params() interface{}

func (*HeapProfilerEnableCommand) Run

func (cmd *HeapProfilerEnableCommand) Run(conn *hc.Conn) error

type HeapSnapshotObjectId

type HeapSnapshotObjectId string

Heap snapshot object id.

type HeapStatsUpdateEvent

type HeapStatsUpdateEvent struct {
	StatsUpdate []int `json:"statsUpdate"` // An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
}

type HideHighlightCB

type HideHighlightCB func(err error)

type HideHighlightCommand

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

func NewHideHighlightCommand

func NewHideHighlightCommand() *HideHighlightCommand

func (*HideHighlightCommand) Done

func (cmd *HideHighlightCommand) Done(data []byte, err error)

func (*HideHighlightCommand) Name

func (cmd *HideHighlightCommand) Name() string

func (*HideHighlightCommand) Params

func (cmd *HideHighlightCommand) Params() interface{}

func (*HideHighlightCommand) Run

func (cmd *HideHighlightCommand) Run(conn *hc.Conn) error

type HighlightConfig

type HighlightConfig struct {
	ShowInfo           bool   `json:"showInfo,omitempty"`           // Whether the node info tooltip should be shown (default: false).
	ShowRulers         bool   `json:"showRulers,omitempty"`         // Whether the rulers should be shown (default: false).
	ShowExtensionLines bool   `json:"showExtensionLines,omitempty"` // Whether the extension lines from node to the rulers should be shown (default: false).
	DisplayAsMaterial  bool   `json:"displayAsMaterial,omitempty"`
	ContentColor       *RGBA  `json:"contentColor,omitempty"`     // The content box highlight fill color (default: transparent).
	PaddingColor       *RGBA  `json:"paddingColor,omitempty"`     // The padding highlight fill color (default: transparent).
	BorderColor        *RGBA  `json:"borderColor,omitempty"`      // The border highlight fill color (default: transparent).
	MarginColor        *RGBA  `json:"marginColor,omitempty"`      // The margin highlight fill color (default: transparent).
	EventTargetColor   *RGBA  `json:"eventTargetColor,omitempty"` // The event target element highlight fill color (default: transparent).
	ShapeColor         *RGBA  `json:"shapeColor,omitempty"`       // The shape outside fill color (default: transparent).
	ShapeMarginColor   *RGBA  `json:"shapeMarginColor,omitempty"` // The shape margin fill color (default: transparent).
	SelectorList       string `json:"selectorList,omitempty"`     // Selectors to highlight relevant nodes.
}

Configuration data for the highlighting of page elements.

type HighlightFrameCB

type HighlightFrameCB func(err error)

type HighlightFrameCommand

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

Highlights owner element of the frame with given id. @experimental

func NewHighlightFrameCommand

func NewHighlightFrameCommand(params *HighlightFrameParams) *HighlightFrameCommand

func (*HighlightFrameCommand) Done

func (cmd *HighlightFrameCommand) Done(data []byte, err error)

func (*HighlightFrameCommand) Name

func (cmd *HighlightFrameCommand) Name() string

func (*HighlightFrameCommand) Params

func (cmd *HighlightFrameCommand) Params() interface{}

func (*HighlightFrameCommand) Run

func (cmd *HighlightFrameCommand) Run(conn *hc.Conn) error

type HighlightFrameParams

type HighlightFrameParams struct {
	FrameId             *FrameId `json:"frameId"`                       // Identifier of the frame to highlight.
	ContentColor        *RGBA    `json:"contentColor,omitempty"`        // The content box highlight fill color (default: transparent).
	ContentOutlineColor *RGBA    `json:"contentOutlineColor,omitempty"` // The content box highlight outline color (default: transparent).
}

type HighlightNodeCB

type HighlightNodeCB func(err error)

type HighlightNodeCommand

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

func NewHighlightNodeCommand

func NewHighlightNodeCommand(params *HighlightNodeParams) *HighlightNodeCommand

func (*HighlightNodeCommand) Done

func (cmd *HighlightNodeCommand) Done(data []byte, err error)

func (*HighlightNodeCommand) Name

func (cmd *HighlightNodeCommand) Name() string

func (*HighlightNodeCommand) Params

func (cmd *HighlightNodeCommand) Params() interface{}

func (*HighlightNodeCommand) Run

func (cmd *HighlightNodeCommand) Run(conn *hc.Conn) error

type HighlightNodeParams

type HighlightNodeParams struct {
	HighlightConfig *HighlightConfig `json:"highlightConfig"`         // A descriptor for the highlight appearance.
	NodeId          NodeId           `json:"nodeId,omitempty"`        // Identifier of the node to highlight.
	BackendNodeId   BackendNodeId    `json:"backendNodeId,omitempty"` // Identifier of the backend node to highlight.
	ObjectId        *RemoteObjectId  `json:"objectId,omitempty"`      // JavaScript object id of the node to be highlighted.
}

type HighlightQuadCB

type HighlightQuadCB func(err error)

type HighlightQuadCommand

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

Highlights given quad. Coordinates are absolute with respect to the main frame viewport. @experimental

func NewHighlightQuadCommand

func NewHighlightQuadCommand(params *HighlightQuadParams) *HighlightQuadCommand

func (*HighlightQuadCommand) Done

func (cmd *HighlightQuadCommand) Done(data []byte, err error)

func (*HighlightQuadCommand) Name

func (cmd *HighlightQuadCommand) Name() string

func (*HighlightQuadCommand) Params

func (cmd *HighlightQuadCommand) Params() interface{}

func (*HighlightQuadCommand) Run

func (cmd *HighlightQuadCommand) Run(conn *hc.Conn) error

type HighlightQuadParams

type HighlightQuadParams struct {
	Quad         Quad  `json:"quad"`                   // Quad to highlight
	Color        *RGBA `json:"color,omitempty"`        // The highlight fill color (default: transparent).
	OutlineColor *RGBA `json:"outlineColor,omitempty"` // The highlight outline color (default: transparent).
}

type HighlightRectCB

type HighlightRectCB func(err error)

type HighlightRectCommand

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

func NewHighlightRectCommand

func NewHighlightRectCommand(params *HighlightRectParams) *HighlightRectCommand

func (*HighlightRectCommand) Done

func (cmd *HighlightRectCommand) Done(data []byte, err error)

func (*HighlightRectCommand) Name

func (cmd *HighlightRectCommand) Name() string

func (*HighlightRectCommand) Params

func (cmd *HighlightRectCommand) Params() interface{}

func (*HighlightRectCommand) Run

func (cmd *HighlightRectCommand) Run(conn *hc.Conn) error

type HighlightRectParams

type HighlightRectParams struct {
	X            int   `json:"x"`                      // X coordinate
	Y            int   `json:"y"`                      // Y coordinate
	Width        int   `json:"width"`                  // Rectangle width
	Height       int   `json:"height"`                 // Rectangle height
	Color        *RGBA `json:"color,omitempty"`        // The highlight fill color (default: transparent).
	OutlineColor *RGBA `json:"outlineColor,omitempty"` // The highlight outline color (default: transparent).
}

type IndexedDBDataEntry

type IndexedDBDataEntry struct {
	Key        *RemoteObject `json:"key"`        // Key object.
	PrimaryKey *RemoteObject `json:"primaryKey"` // Primary key object.
	Value      *RemoteObject `json:"value"`      // Value object.
}

Data entry.

type IndexedDBDisableCB

type IndexedDBDisableCB func(err error)

type IndexedDBDisableCommand

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

func NewIndexedDBDisableCommand

func NewIndexedDBDisableCommand() *IndexedDBDisableCommand

func (*IndexedDBDisableCommand) Done

func (cmd *IndexedDBDisableCommand) Done(data []byte, err error)

func (*IndexedDBDisableCommand) Name

func (cmd *IndexedDBDisableCommand) Name() string

func (*IndexedDBDisableCommand) Params

func (cmd *IndexedDBDisableCommand) Params() interface{}

func (*IndexedDBDisableCommand) Run

func (cmd *IndexedDBDisableCommand) Run(conn *hc.Conn) error

type IndexedDBEnableCB

type IndexedDBEnableCB func(err error)

type IndexedDBEnableCommand

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

func NewIndexedDBEnableCommand

func NewIndexedDBEnableCommand() *IndexedDBEnableCommand

func (*IndexedDBEnableCommand) Done

func (cmd *IndexedDBEnableCommand) Done(data []byte, err error)

func (*IndexedDBEnableCommand) Name

func (cmd *IndexedDBEnableCommand) Name() string

func (*IndexedDBEnableCommand) Params

func (cmd *IndexedDBEnableCommand) Params() interface{}

func (*IndexedDBEnableCommand) Run

func (cmd *IndexedDBEnableCommand) Run(conn *hc.Conn) error

type InheritedStyleEntry

type InheritedStyleEntry struct {
	InlineStyle     *CSSStyle    `json:"inlineStyle,omitempty"` // The ancestor node's inline style, if any, in the style inheritance chain.
	MatchedCSSRules []*RuleMatch `json:"matchedCSSRules"`       // Matches of CSS rules matching the ancestor node in the style inheritance chain.
}

Inherited CSS rule collection from ancestor node.

type Initiator

type Initiator struct {
	Type       string      `json:"type"`                 // Type of this initiator.
	Stack      *StackTrace `json:"stack,omitempty"`      // Initiator JavaScript stack trace, set for Script only.
	Url        string      `json:"url,omitempty"`        // Initiator URL, set for Parser type only.
	LineNumber float64     `json:"lineNumber,omitempty"` // Initiator line number, set for Parser type only (0-based).
}

Information about the request initiator.

type InlineStyleInvalidatedEvent

type InlineStyleInvalidatedEvent struct {
	NodeIds []NodeId `json:"nodeIds"` // Ids of the nodes for which the inline styles have been invalidated.
}

Fired when Element's inline style is modified via a CSS property modification. @experimental

type InlineTextBox

type InlineTextBox struct {
	BoundingBox         *Rect `json:"boundingBox"`         // The absolute position bounding box.
	StartCharacterIndex int   `json:"startCharacterIndex"` // The starting index in characters, for this post layout textbox substring.
	NumCharacters       int   `json:"numCharacters"`       // The number of characters in this post layout textbox substring.
}

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions. @experimental

type InsecureContentStatus

type InsecureContentStatus struct {
	RanMixedContent                bool          `json:"ranMixedContent"`                // True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scripts.
	DisplayedMixedContent          bool          `json:"displayedMixedContent"`          // True if the page was loaded over HTTPS and displayed mixed (HTTP) content such as images.
	RanContentWithCertErrors       bool          `json:"ranContentWithCertErrors"`       // True if the page was loaded over HTTPS without certificate errors, and ran content such as scripts that were loaded with certificate errors.
	DisplayedContentWithCertErrors bool          `json:"displayedContentWithCertErrors"` // True if the page was loaded over HTTPS without certificate errors, and displayed content such as images that were loaded with certificate errors.
	RanInsecureContentStyle        SecurityState `json:"ranInsecureContentStyle"`        // Security state representing a page that ran insecure content.
	DisplayedInsecureContentStyle  SecurityState `json:"displayedInsecureContentStyle"`  // Security state representing a page that displayed insecure content.
}

Information about insecure content on the page.

type InspectMode

type InspectMode string

@experimental

const InspectModeNone InspectMode = "none"
const InspectModeSearchForNode InspectMode = "searchForNode"
const InspectModeSearchForUAShadowDOM InspectMode = "searchForUAShadowDOM"

type InspectNodeRequestedEvent

type InspectNodeRequestedEvent struct {
	BackendNodeId BackendNodeId `json:"backendNodeId"` // Id of the node to inspect.
}

Fired when the node should be inspected. This happens after call to setInspectMode. @experimental

type InspectRequestedEvent

type InspectRequestedEvent struct {
	Object *RemoteObject     `json:"object"`
	Hints  map[string]string `json:"hints"`
}

type InspectWorkerCB

type InspectWorkerCB func(err error)

type InspectWorkerCommand

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

func NewInspectWorkerCommand

func NewInspectWorkerCommand(params *InspectWorkerParams) *InspectWorkerCommand

func (*InspectWorkerCommand) Done

func (cmd *InspectWorkerCommand) Done(data []byte, err error)

func (*InspectWorkerCommand) Name

func (cmd *InspectWorkerCommand) Name() string

func (*InspectWorkerCommand) Params

func (cmd *InspectWorkerCommand) Params() interface{}

func (*InspectWorkerCommand) Run

func (cmd *InspectWorkerCommand) Run(conn *hc.Conn) error

type InspectWorkerParams

type InspectWorkerParams struct {
	VersionId string `json:"versionId"`
}

type InspectorDisableCB

type InspectorDisableCB func(err error)

type InspectorDisableCommand

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

func NewInspectorDisableCommand

func NewInspectorDisableCommand() *InspectorDisableCommand

func (*InspectorDisableCommand) Done

func (cmd *InspectorDisableCommand) Done(data []byte, err error)

func (*InspectorDisableCommand) Name

func (cmd *InspectorDisableCommand) Name() string

func (*InspectorDisableCommand) Params

func (cmd *InspectorDisableCommand) Params() interface{}

func (*InspectorDisableCommand) Run

func (cmd *InspectorDisableCommand) Run(conn *hc.Conn) error

type InspectorEnableCB

type InspectorEnableCB func(err error)

type InspectorEnableCommand

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

func NewInspectorEnableCommand

func NewInspectorEnableCommand() *InspectorEnableCommand

func (*InspectorEnableCommand) Done

func (cmd *InspectorEnableCommand) Done(data []byte, err error)

func (*InspectorEnableCommand) Name

func (cmd *InspectorEnableCommand) Name() string

func (*InspectorEnableCommand) Params

func (cmd *InspectorEnableCommand) Params() interface{}

func (*InspectorEnableCommand) Run

func (cmd *InspectorEnableCommand) Run(conn *hc.Conn) error

type InternalPropertyDescriptor

type InternalPropertyDescriptor struct {
	Name  string        `json:"name"`            // Conventional property name.
	Value *RemoteObject `json:"value,omitempty"` // The value associated with the property.
}

Object internal property descriptor. This property isn't normally visible in JavaScript code.

type InterstitialHiddenEvent

type InterstitialHiddenEvent struct {
}

type InterstitialShownEvent

type InterstitialShownEvent struct {
}

type Item

type Item []string

DOM Storage item. @experimental

type JavascriptDialogClosedEvent

type JavascriptDialogClosedEvent struct {
	Result bool `json:"result"` // Whether dialog was confirmed.
}

type JavascriptDialogOpeningEvent

type JavascriptDialogOpeningEvent struct {
	Message string     `json:"message"` // Message that will be displayed by the dialog.
	Type    DialogType `json:"type"`    // Dialog type.
}

type Key

type Key struct {
	Type   string  `json:"type"`             // Key type.
	Number float64 `json:"number,omitempty"` // Number value.
	String string  `json:"string,omitempty"` // String value.
	Date   float64 `json:"date,omitempty"`   // Date value.
	Array  []*Key  `json:"array,omitempty"`  // Array value.
}

Key.

type KeyPath

type KeyPath struct {
	Type   string   `json:"type"`             // Key path type.
	String string   `json:"string,omitempty"` // String value.
	Array  []string `json:"array,omitempty"`  // Array value.
}

Key path.

type KeyRange

type KeyRange struct {
	Lower     *Key `json:"lower,omitempty"` // Lower bound.
	Upper     *Key `json:"upper,omitempty"` // Upper bound.
	LowerOpen bool `json:"lowerOpen"`       // If true lower bound is open.
	UpperOpen bool `json:"upperOpen"`       // If true upper bound is open.
}

Key range.

type KeyframeStyle

type KeyframeStyle struct {
	Offset string `json:"offset"` // Keyframe's time offset.
	Easing string `json:"easing"` // AnimationEffect's timing function.
}

Keyframe Style

type KeyframesRule

type KeyframesRule struct {
	Name      string           `json:"name,omitempty"` // CSS keyframed animation's name.
	Keyframes []*KeyframeStyle `json:"keyframes"`      // List of animation keyframes.
}

Keyframes Rule

type LastSeenObjectIdEvent

type LastSeenObjectIdEvent struct {
	LastSeenObjectId int     `json:"lastSeenObjectId"`
	Timestamp        float64 `json:"timestamp"`
}

type Layer

type Layer struct {
	LayerId       LayerId        `json:"layerId"`                 // The unique id for this layer.
	ParentLayerId LayerId        `json:"parentLayerId,omitempty"` // The id of parent (not present for root).
	BackendNodeId *BackendNodeId `json:"backendNodeId,omitempty"` // The backend id for the node associated with this layer.
	OffsetX       float64        `json:"offsetX"`                 // Offset from parent layer, X coordinate.
	OffsetY       float64        `json:"offsetY"`                 // Offset from parent layer, Y coordinate.
	Width         float64        `json:"width"`                   // Layer width.
	Height        float64        `json:"height"`                  // Layer height.
	Transform     []float64      `json:"transform,omitempty"`     // Transformation matrix for layer, default is identity matrix
	AnchorX       float64        `json:"anchorX,omitempty"`       // Transform anchor point X, absent if no transform specified
	AnchorY       float64        `json:"anchorY,omitempty"`       // Transform anchor point Y, absent if no transform specified
	AnchorZ       float64        `json:"anchorZ,omitempty"`       // Transform anchor point Z, absent if no transform specified
	PaintCount    int            `json:"paintCount"`              // Indicates how many time this layer has painted.
	DrawsContent  bool           `json:"drawsContent"`            // Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
	Invisible     bool           `json:"invisible,omitempty"`     // Set if layer is not visible.
	ScrollRects   []*ScrollRect  `json:"scrollRects,omitempty"`   // Rectangles scrolling on main thread only.
}

Information about a compositing layer.

type LayerId

type LayerId string

Unique Layer identifier.

type LayerPaintedEvent

type LayerPaintedEvent struct {
	LayerId LayerId `json:"layerId"` // The id of the painted layer.
	Clip    *Rect   `json:"clip"`    // Clip rectangle.
}

type LayerTreeDidChangeEvent

type LayerTreeDidChangeEvent struct {
	Layers []*Layer `json:"layers"` // Layer tree, absent if not in the comspositing mode.
}

type LayerTreeDisableCB

type LayerTreeDisableCB func(err error)

type LayerTreeDisableCommand

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

func NewLayerTreeDisableCommand

func NewLayerTreeDisableCommand() *LayerTreeDisableCommand

func (*LayerTreeDisableCommand) Done

func (cmd *LayerTreeDisableCommand) Done(data []byte, err error)

func (*LayerTreeDisableCommand) Name

func (cmd *LayerTreeDisableCommand) Name() string

func (*LayerTreeDisableCommand) Params

func (cmd *LayerTreeDisableCommand) Params() interface{}

func (*LayerTreeDisableCommand) Run

func (cmd *LayerTreeDisableCommand) Run(conn *hc.Conn) error

type LayerTreeEnableCB

type LayerTreeEnableCB func(err error)

type LayerTreeEnableCommand

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

func NewLayerTreeEnableCommand

func NewLayerTreeEnableCommand() *LayerTreeEnableCommand

func (*LayerTreeEnableCommand) Done

func (cmd *LayerTreeEnableCommand) Done(data []byte, err error)

func (*LayerTreeEnableCommand) Name

func (cmd *LayerTreeEnableCommand) Name() string

func (*LayerTreeEnableCommand) Params

func (cmd *LayerTreeEnableCommand) Params() interface{}

func (*LayerTreeEnableCommand) Run

func (cmd *LayerTreeEnableCommand) Run(conn *hc.Conn) error

type LayoutTreeNode

type LayoutTreeNode struct {
	NodeId          *NodeId          `json:"nodeId"`                    // The id of the related DOM node matching one from DOM.GetDocument.
	BoundingBox     *Rect            `json:"boundingBox"`               // The absolute position bounding box.
	LayoutText      string           `json:"layoutText,omitempty"`      // Contents of the LayoutText if any
	InlineTextNodes []*InlineTextBox `json:"inlineTextNodes,omitempty"` // The post layout inline text nodes, if any.
	StyleIndex      int              `json:"styleIndex,omitempty"`      // Index into the computedStyles array returned by getLayoutTreeAndStyles.
}

Details of an element in the DOM tree with a LayoutObject. @experimental

type LayoutViewport

type LayoutViewport struct {
	PageX        int `json:"pageX"`        // Horizontal offset relative to the document (CSS pixels).
	PageY        int `json:"pageY"`        // Vertical offset relative to the document (CSS pixels).
	ClientWidth  int `json:"clientWidth"`  // Width (CSS pixels), excludes scrollbar if present.
	ClientHeight int `json:"clientHeight"` // Height (CSS pixels), excludes scrollbar if present.
}

Layout viewport position and dimensions. @experimental

type LoadEventFiredEvent

type LoadEventFiredEvent struct {
	Timestamp float64 `json:"timestamp"`
}

type LoadSnapshotCB

type LoadSnapshotCB func(result *LoadSnapshotResult, err error)

type LoadSnapshotCommand

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

func NewLoadSnapshotCommand

func NewLoadSnapshotCommand(params *LoadSnapshotParams) *LoadSnapshotCommand

func (*LoadSnapshotCommand) Done

func (cmd *LoadSnapshotCommand) Done(data []byte, err error)

func (*LoadSnapshotCommand) Name

func (cmd *LoadSnapshotCommand) Name() string

func (*LoadSnapshotCommand) Params

func (cmd *LoadSnapshotCommand) Params() interface{}

func (*LoadSnapshotCommand) Result

func (cmd *LoadSnapshotCommand) Result() *LoadSnapshotResult

func (*LoadSnapshotCommand) Run

func (cmd *LoadSnapshotCommand) Run(conn *hc.Conn) error

type LoadSnapshotParams

type LoadSnapshotParams struct {
	Tiles []*PictureTile `json:"tiles"` // An array of tiles composing the snapshot.
}

type LoadSnapshotResult

type LoadSnapshotResult struct {
	SnapshotId SnapshotId `json:"snapshotId"` // The id of the snapshot.
}

func LoadSnapshot

func LoadSnapshot(params *LoadSnapshotParams, conn *hc.Conn) (result *LoadSnapshotResult, err error)

type LoaderId

type LoaderId string

Unique loader identifier.

type LoadingFailedEvent

type LoadingFailedEvent struct {
	RequestId     RequestId        `json:"requestId"`     // Request identifier.
	Timestamp     NetworkTimestamp `json:"timestamp"`     // Timestamp.
	Type          *ResourceType    `json:"type"`          // Resource type.
	ErrorText     string           `json:"errorText"`     // User friendly error message.
	Canceled      bool             `json:"canceled"`      // True if loading was canceled.
	BlockedReason BlockedReason    `json:"blockedReason"` // The reason why loading was blocked, if any.
}

type LoadingFinishedEvent

type LoadingFinishedEvent struct {
	RequestId         RequestId        `json:"requestId"`         // Request identifier.
	Timestamp         NetworkTimestamp `json:"timestamp"`         // Timestamp.
	EncodedDataLength float64          `json:"encodedDataLength"` // Total number of bytes received for this request.
}

type Location

type Location struct {
	ScriptId     *ScriptId `json:"scriptId"`               // Script identifier as reported in the Debugger.scriptParsed.
	LineNumber   int       `json:"lineNumber"`             // Line number in the script (0-based).
	ColumnNumber int       `json:"columnNumber,omitempty"` // Column number in the script (0-based).
}

Location in the source code.

type LogDisableCB

type LogDisableCB func(err error)

type LogDisableCommand

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

func NewLogDisableCommand

func NewLogDisableCommand() *LogDisableCommand

func (*LogDisableCommand) Done

func (cmd *LogDisableCommand) Done(data []byte, err error)

func (*LogDisableCommand) Name

func (cmd *LogDisableCommand) Name() string

func (*LogDisableCommand) Params

func (cmd *LogDisableCommand) Params() interface{}

func (*LogDisableCommand) Run

func (cmd *LogDisableCommand) Run(conn *hc.Conn) error

type LogEnableCB

type LogEnableCB func(err error)

type LogEnableCommand

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

func NewLogEnableCommand

func NewLogEnableCommand() *LogEnableCommand

func (*LogEnableCommand) Done

func (cmd *LogEnableCommand) Done(data []byte, err error)

func (*LogEnableCommand) Name

func (cmd *LogEnableCommand) Name() string

func (*LogEnableCommand) Params

func (cmd *LogEnableCommand) Params() interface{}

func (*LogEnableCommand) Run

func (cmd *LogEnableCommand) Run(conn *hc.Conn) error

type LogEntry

type LogEntry struct {
	Source           string            `json:"source"`                     // Log entry source.
	Level            string            `json:"level"`                      // Log entry severity.
	Text             string            `json:"text"`                       // Logged text.
	Timestamp        *RuntimeTimestamp `json:"timestamp"`                  // Timestamp when this entry was added.
	Url              string            `json:"url,omitempty"`              // URL of the resource if known.
	LineNumber       int               `json:"lineNumber,omitempty"`       // Line number in the resource.
	StackTrace       *StackTrace       `json:"stackTrace,omitempty"`       // JavaScript stack trace.
	NetworkRequestId *RequestId        `json:"networkRequestId,omitempty"` // Identifier of the network request associated with this entry.
	WorkerId         string            `json:"workerId,omitempty"`         // Identifier of the worker associated with this entry.
}

Log entry.

type MakeSnapshotCB

type MakeSnapshotCB func(result *MakeSnapshotResult, err error)

type MakeSnapshotCommand

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

func NewMakeSnapshotCommand

func NewMakeSnapshotCommand(params *MakeSnapshotParams) *MakeSnapshotCommand

func (*MakeSnapshotCommand) Done

func (cmd *MakeSnapshotCommand) Done(data []byte, err error)

func (*MakeSnapshotCommand) Name

func (cmd *MakeSnapshotCommand) Name() string

func (*MakeSnapshotCommand) Params

func (cmd *MakeSnapshotCommand) Params() interface{}

func (*MakeSnapshotCommand) Result

func (cmd *MakeSnapshotCommand) Result() *MakeSnapshotResult

func (*MakeSnapshotCommand) Run

func (cmd *MakeSnapshotCommand) Run(conn *hc.Conn) error

type MakeSnapshotParams

type MakeSnapshotParams struct {
	LayerId LayerId `json:"layerId"` // The id of the layer.
}

type MakeSnapshotResult

type MakeSnapshotResult struct {
	SnapshotId SnapshotId `json:"snapshotId"` // The id of the layer snapshot.
}

func MakeSnapshot

func MakeSnapshot(params *MakeSnapshotParams, conn *hc.Conn) (result *MakeSnapshotResult, err error)

type MarkUndoableStateCB

type MarkUndoableStateCB func(err error)

type MarkUndoableStateCommand

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

Marks last undoable state. @experimental

func NewMarkUndoableStateCommand

func NewMarkUndoableStateCommand() *MarkUndoableStateCommand

func (*MarkUndoableStateCommand) Done

func (cmd *MarkUndoableStateCommand) Done(data []byte, err error)

func (*MarkUndoableStateCommand) Name

func (cmd *MarkUndoableStateCommand) Name() string

func (*MarkUndoableStateCommand) Params

func (cmd *MarkUndoableStateCommand) Params() interface{}

func (*MarkUndoableStateCommand) Run

func (cmd *MarkUndoableStateCommand) Run(conn *hc.Conn) error

type MediaQuery

type MediaQuery struct {
	Expressions []*MediaQueryExpression `json:"expressions"` // Array of media query expressions.
	Active      bool                    `json:"active"`      // Whether the media query condition is satisfied.
}

Media query descriptor. @experimental

type MediaQueryExpression

type MediaQueryExpression struct {
	Value          float64      `json:"value"`                    // Media query expression value.
	Unit           string       `json:"unit"`                     // Media query expression units.
	Feature        string       `json:"feature"`                  // Media query expression feature.
	ValueRange     *SourceRange `json:"valueRange,omitempty"`     // The associated range of the value text in the enclosing stylesheet (if available).
	ComputedLength float64      `json:"computedLength,omitempty"` // Computed length of media query expression (if applicable).
}

Media query expression descriptor. @experimental

type MediaQueryResultChangedEvent

type MediaQueryResultChangedEvent struct {
}

type MemoryDumpConfig

type MemoryDumpConfig struct {
}

Configuration for memory dump. Used only when "memory-infra" category is enabled.

type MessageAddedEvent

type MessageAddedEvent struct {
	Message *ConsoleMessage `json:"message"` // Console message that has been added.
}

type MoveToCB

type MoveToCB func(result *MoveToResult, err error)

type MoveToCommand

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

func NewMoveToCommand

func NewMoveToCommand(params *MoveToParams) *MoveToCommand

func (*MoveToCommand) Done

func (cmd *MoveToCommand) Done(data []byte, err error)

func (*MoveToCommand) Name

func (cmd *MoveToCommand) Name() string

func (*MoveToCommand) Params

func (cmd *MoveToCommand) Params() interface{}

func (*MoveToCommand) Result

func (cmd *MoveToCommand) Result() *MoveToResult

func (*MoveToCommand) Run

func (cmd *MoveToCommand) Run(conn *hc.Conn) error

type MoveToParams

type MoveToParams struct {
	NodeId             NodeId `json:"nodeId"`                       // Id of the node to move.
	TargetNodeId       NodeId `json:"targetNodeId"`                 // Id of the element to drop the moved node into.
	InsertBeforeNodeId NodeId `json:"insertBeforeNodeId,omitempty"` // Drop node before this one (if absent, the moved node becomes the last child of targetNodeId).
}

type MoveToResult

type MoveToResult struct {
	NodeId NodeId `json:"nodeId"` // New id of the moved node.
}

func MoveTo

func MoveTo(params *MoveToParams, conn *hc.Conn) (result *MoveToResult, err error)
type NavigateCB func(result *NavigateResult, err error)
type NavigateCommand struct {
	// contains filtered or unexported fields
}

func NewNavigateCommand

func NewNavigateCommand(params *NavigateParams) *NavigateCommand
func (cmd *NavigateCommand) Done(data []byte, err error)
func (cmd *NavigateCommand) Name() string
func (cmd *NavigateCommand) Params() interface{}
func (cmd *NavigateCommand) Result() *NavigateResult
func (cmd *NavigateCommand) Run(conn *hc.Conn) error
type NavigateParams struct {
	Url string `json:"url"` // URL to navigate the page to.
}
type NavigateResult struct {
	FrameId FrameId `json:"frameId"` // Frame id that will be navigated.
}
func Navigate(params *NavigateParams, conn *hc.Conn) (result *NavigateResult, err error)
type NavigateToHistoryEntryCB func(err error)
type NavigateToHistoryEntryCommand struct {
	// contains filtered or unexported fields
}

Navigates current page to the given history entry. @experimental

func (cmd *NavigateToHistoryEntryCommand) Done(data []byte, err error)
func (cmd *NavigateToHistoryEntryCommand) Params() interface{}
func (cmd *NavigateToHistoryEntryCommand) Run(conn *hc.Conn) error
type NavigateToHistoryEntryParams struct {
	EntryId int `json:"entryId"` // Unique id of the entry to navigate to.
}
type NavigationEntry struct {
	Id    int    `json:"id"`    // Unique id of the navigation history entry.
	Url   string `json:"url"`   // URL of the navigation history entry.
	Title string `json:"title"` // Title of the navigation history entry.
}

Navigation history entry. @experimental

type NavigationRequestedEvent struct {
	IsInMainFrame bool   `json:"isInMainFrame"` // Whether the navigation is taking place in the main frame or in a subframe.
	IsRedirect    bool   `json:"isRedirect"`    // Whether the navigation has encountered a server redirect or not.
	NavigationId  int    `json:"navigationId"`
	Url           string `json:"url"` // URL of requested navigation.
}
type NavigationResponse string

Proceed: allow the navigation; Cancel: cancel the navigation; CancelAndIgnore: cancels the navigation and makes the requester of the navigation acts like the request was never made. @experimental

const NavigationResponseCancel NavigationResponse = "Cancel"
const NavigationResponseCancelAndIgnore NavigationResponse = "CancelAndIgnore"
const NavigationResponseProceed NavigationResponse = "Proceed"

type NetworkDeleteCookieCB

type NetworkDeleteCookieCB func(err error)

type NetworkDeleteCookieCommand

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

Deletes browser cookie with given name, domain and path. @experimental

func NewNetworkDeleteCookieCommand

func NewNetworkDeleteCookieCommand(params *NetworkDeleteCookieParams) *NetworkDeleteCookieCommand

func (*NetworkDeleteCookieCommand) Done

func (cmd *NetworkDeleteCookieCommand) Done(data []byte, err error)

func (*NetworkDeleteCookieCommand) Name

func (cmd *NetworkDeleteCookieCommand) Name() string

func (*NetworkDeleteCookieCommand) Params

func (cmd *NetworkDeleteCookieCommand) Params() interface{}

func (*NetworkDeleteCookieCommand) Run

func (cmd *NetworkDeleteCookieCommand) Run(conn *hc.Conn) error

type NetworkDeleteCookieParams

type NetworkDeleteCookieParams struct {
	CookieName string `json:"cookieName"` // Name of the cookie to remove.
	Url        string `json:"url"`        // URL to match cooke domain and path.
}

type NetworkDisableCB

type NetworkDisableCB func(err error)

type NetworkDisableCommand

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

func NewNetworkDisableCommand

func NewNetworkDisableCommand() *NetworkDisableCommand

func (*NetworkDisableCommand) Done

func (cmd *NetworkDisableCommand) Done(data []byte, err error)

func (*NetworkDisableCommand) Name

func (cmd *NetworkDisableCommand) Name() string

func (*NetworkDisableCommand) Params

func (cmd *NetworkDisableCommand) Params() interface{}

func (*NetworkDisableCommand) Run

func (cmd *NetworkDisableCommand) Run(conn *hc.Conn) error

type NetworkEnableCB

type NetworkEnableCB func(err error)

type NetworkEnableCommand

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

func NewNetworkEnableCommand

func NewNetworkEnableCommand(params *NetworkEnableParams) *NetworkEnableCommand

func (*NetworkEnableCommand) Done

func (cmd *NetworkEnableCommand) Done(data []byte, err error)

func (*NetworkEnableCommand) Name

func (cmd *NetworkEnableCommand) Name() string

func (*NetworkEnableCommand) Params

func (cmd *NetworkEnableCommand) Params() interface{}

func (*NetworkEnableCommand) Run

func (cmd *NetworkEnableCommand) Run(conn *hc.Conn) error

type NetworkEnableParams

type NetworkEnableParams struct {
	MaxTotalBufferSize    int `json:"maxTotalBufferSize,omitempty"`    // Buffer size in bytes to use when preserving network payloads (XHRs, etc).
	MaxResourceBufferSize int `json:"maxResourceBufferSize,omitempty"` // Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
}

type NetworkGetCookiesCB

type NetworkGetCookiesCB func(result *NetworkGetCookiesResult, err error)

type NetworkGetCookiesCommand

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

Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func NewNetworkGetCookiesCommand

func NewNetworkGetCookiesCommand() *NetworkGetCookiesCommand

func (*NetworkGetCookiesCommand) Done

func (cmd *NetworkGetCookiesCommand) Done(data []byte, err error)

func (*NetworkGetCookiesCommand) Name

func (cmd *NetworkGetCookiesCommand) Name() string

func (*NetworkGetCookiesCommand) Params

func (cmd *NetworkGetCookiesCommand) Params() interface{}

func (*NetworkGetCookiesCommand) Result

func (*NetworkGetCookiesCommand) Run

func (cmd *NetworkGetCookiesCommand) Run(conn *hc.Conn) error

type NetworkGetCookiesResult

type NetworkGetCookiesResult struct {
	Cookies []*Cookie `json:"cookies"` // Array of cookie objects.
}

func NetworkGetCookies

func NetworkGetCookies(conn *hc.Conn) (result *NetworkGetCookiesResult, err error)

type NetworkStateUpdatedEvent

type NetworkStateUpdatedEvent struct {
	IsNowOnline bool `json:"isNowOnline"`
}

type NetworkTimestamp

type NetworkTimestamp float64

Number of seconds since epoch.

type Node

type Node struct {
	NodeId           NodeId         `json:"nodeId"`                     // Node identifier that is passed into the rest of the DOM messages as the nodeId. Backend will only push node with given id once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client.
	BackendNodeId    BackendNodeId  `json:"backendNodeId"`              // The BackendNodeId for this node.
	NodeType         int            `json:"nodeType"`                   // Node's nodeType.
	NodeName         string         `json:"nodeName"`                   // Node's nodeName.
	LocalName        string         `json:"localName"`                  // Node's localName.
	NodeValue        string         `json:"nodeValue"`                  // Node's nodeValue.
	ChildNodeCount   int            `json:"childNodeCount,omitempty"`   // Child count for Container nodes.
	Children         []*Node        `json:"children,omitempty"`         // Child nodes of this node when requested with children.
	Attributes       []string       `json:"attributes,omitempty"`       // Attributes of the Element node in the form of flat array [name1, value1, name2, value2].
	DocumentURL      string         `json:"documentURL,omitempty"`      // Document URL that Document or FrameOwner node points to.
	BaseURL          string         `json:"baseURL,omitempty"`          // Base URL that Document or FrameOwner node uses for URL completion.
	PublicId         string         `json:"publicId,omitempty"`         // DocumentType's publicId.
	SystemId         string         `json:"systemId,omitempty"`         // DocumentType's systemId.
	InternalSubset   string         `json:"internalSubset,omitempty"`   // DocumentType's internalSubset.
	XmlVersion       string         `json:"xmlVersion,omitempty"`       // Document's XML version in case of XML documents.
	Name             string         `json:"name,omitempty"`             // Attr's name.
	Value            string         `json:"value,omitempty"`            // Attr's value.
	PseudoType       PseudoType     `json:"pseudoType,omitempty"`       // Pseudo element type for this node.
	ShadowRootType   ShadowRootType `json:"shadowRootType,omitempty"`   // Shadow root type.
	FrameId          *FrameId       `json:"frameId,omitempty"`          // Frame ID for frame owner elements.
	ContentDocument  *Node          `json:"contentDocument,omitempty"`  // Content document for frame owner elements.
	ShadowRoots      []*Node        `json:"shadowRoots,omitempty"`      // Shadow root list for given element host.
	TemplateContent  *Node          `json:"templateContent,omitempty"`  // Content document fragment for template elements.
	PseudoElements   []*Node        `json:"pseudoElements,omitempty"`   // Pseudo elements associated with this node.
	ImportedDocument *Node          `json:"importedDocument,omitempty"` // Import document for the HTMLImport links.
	DistributedNodes []*BackendNode `json:"distributedNodes,omitempty"` // Distributed nodes for given insertion point.
	IsSVG            bool           `json:"isSVG,omitempty"`            // Whether the node is SVG.
}

DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.

type NodeHighlightRequestedEvent

type NodeHighlightRequestedEvent struct {
	NodeId NodeId `json:"nodeId"`
}

@experimental

type NodeId

type NodeId int

Unique DOM node identifier.

type ObjectPreview

type ObjectPreview struct {
	Type        string             `json:"type"`                  // Object type.
	Subtype     string             `json:"subtype,omitempty"`     // Object subtype hint. Specified for object type values only.
	Description string             `json:"description,omitempty"` // String representation of the object.
	Overflow    bool               `json:"overflow"`              // True iff some of the properties or entries of the original object did not fit.
	Properties  []*PropertyPreview `json:"properties"`            // List of the properties.
	Entries     []*EntryPreview    `json:"entries,omitempty"`     // List of the entries. Specified for map and set subtype values only.
}

Object containing abbreviated remote object value. @experimental

type ObjectStore

type ObjectStore struct {
	Name          string              `json:"name"`          // Object store name.
	KeyPath       *KeyPath            `json:"keyPath"`       // Object store key path.
	AutoIncrement bool                `json:"autoIncrement"` // If true, object store has auto increment flag set.
	Indexes       []*ObjectStoreIndex `json:"indexes"`       // Indexes in this object store.
}

Object store.

type ObjectStoreIndex

type ObjectStoreIndex struct {
	Name       string   `json:"name"`       // Index name.
	KeyPath    *KeyPath `json:"keyPath"`    // Index key path.
	Unique     bool     `json:"unique"`     // If true, index is unique.
	MultiEntry bool     `json:"multiEntry"` // If true, index allows multiple entries for a key.
}

Object store index.

type PageClearDeviceMetricsOverrideCB

type PageClearDeviceMetricsOverrideCB func(err error)

type PageClearDeviceMetricsOverrideCommand

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

Clears the overriden device metrics. @experimental

func NewPageClearDeviceMetricsOverrideCommand

func NewPageClearDeviceMetricsOverrideCommand() *PageClearDeviceMetricsOverrideCommand

func (*PageClearDeviceMetricsOverrideCommand) Done

func (cmd *PageClearDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*PageClearDeviceMetricsOverrideCommand) Name

func (*PageClearDeviceMetricsOverrideCommand) Params

func (cmd *PageClearDeviceMetricsOverrideCommand) Params() interface{}

func (*PageClearDeviceMetricsOverrideCommand) Run

type PageClearDeviceOrientationOverrideCB

type PageClearDeviceOrientationOverrideCB func(err error)

type PageClearDeviceOrientationOverrideCommand

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

Clears the overridden Device Orientation. @experimental

func NewPageClearDeviceOrientationOverrideCommand

func NewPageClearDeviceOrientationOverrideCommand() *PageClearDeviceOrientationOverrideCommand

func (*PageClearDeviceOrientationOverrideCommand) Done

func (cmd *PageClearDeviceOrientationOverrideCommand) Done(data []byte, err error)

func (*PageClearDeviceOrientationOverrideCommand) Name

func (*PageClearDeviceOrientationOverrideCommand) Params

func (cmd *PageClearDeviceOrientationOverrideCommand) Params() interface{}

func (*PageClearDeviceOrientationOverrideCommand) Run

type PageClearGeolocationOverrideCB

type PageClearGeolocationOverrideCB func(err error)

type PageClearGeolocationOverrideCommand

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

func NewPageClearGeolocationOverrideCommand

func NewPageClearGeolocationOverrideCommand() *PageClearGeolocationOverrideCommand

func (*PageClearGeolocationOverrideCommand) Done

func (cmd *PageClearGeolocationOverrideCommand) Done(data []byte, err error)

func (*PageClearGeolocationOverrideCommand) Name

func (*PageClearGeolocationOverrideCommand) Params

func (cmd *PageClearGeolocationOverrideCommand) Params() interface{}

func (*PageClearGeolocationOverrideCommand) Run

type PageDeleteCookieCB

type PageDeleteCookieCB func(err error)

type PageDeleteCookieCommand

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

Deletes browser cookie with given name, domain and path. @experimental

func NewPageDeleteCookieCommand

func NewPageDeleteCookieCommand(params *PageDeleteCookieParams) *PageDeleteCookieCommand

func (*PageDeleteCookieCommand) Done

func (cmd *PageDeleteCookieCommand) Done(data []byte, err error)

func (*PageDeleteCookieCommand) Name

func (cmd *PageDeleteCookieCommand) Name() string

func (*PageDeleteCookieCommand) Params

func (cmd *PageDeleteCookieCommand) Params() interface{}

func (*PageDeleteCookieCommand) Run

func (cmd *PageDeleteCookieCommand) Run(conn *hc.Conn) error

type PageDeleteCookieParams

type PageDeleteCookieParams struct {
	CookieName string `json:"cookieName"` // Name of the cookie to remove.
	Url        string `json:"url"`        // URL to match cooke domain and path.
}

type PageDisableCB

type PageDisableCB func(err error)

type PageDisableCommand

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

func NewPageDisableCommand

func NewPageDisableCommand() *PageDisableCommand

func (*PageDisableCommand) Done

func (cmd *PageDisableCommand) Done(data []byte, err error)

func (*PageDisableCommand) Name

func (cmd *PageDisableCommand) Name() string

func (*PageDisableCommand) Params

func (cmd *PageDisableCommand) Params() interface{}

func (*PageDisableCommand) Run

func (cmd *PageDisableCommand) Run(conn *hc.Conn) error

type PageEnableCB

type PageEnableCB func(err error)

type PageEnableCommand

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

func NewPageEnableCommand

func NewPageEnableCommand() *PageEnableCommand

func (*PageEnableCommand) Done

func (cmd *PageEnableCommand) Done(data []byte, err error)

func (*PageEnableCommand) Name

func (cmd *PageEnableCommand) Name() string

func (*PageEnableCommand) Params

func (cmd *PageEnableCommand) Params() interface{}

func (*PageEnableCommand) Run

func (cmd *PageEnableCommand) Run(conn *hc.Conn) error

type PageGetCookiesCB

type PageGetCookiesCB func(result *PageGetCookiesResult, err error)

type PageGetCookiesCommand

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

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field. @experimental

func NewPageGetCookiesCommand

func NewPageGetCookiesCommand() *PageGetCookiesCommand

func (*PageGetCookiesCommand) Done

func (cmd *PageGetCookiesCommand) Done(data []byte, err error)

func (*PageGetCookiesCommand) Name

func (cmd *PageGetCookiesCommand) Name() string

func (*PageGetCookiesCommand) Params

func (cmd *PageGetCookiesCommand) Params() interface{}

func (*PageGetCookiesCommand) Result

func (*PageGetCookiesCommand) Run

func (cmd *PageGetCookiesCommand) Run(conn *hc.Conn) error

type PageGetCookiesResult

type PageGetCookiesResult struct {
	Cookies []*Cookie `json:"cookies"` // Array of cookie objects.
}

func PageGetCookies

func PageGetCookies(conn *hc.Conn) (result *PageGetCookiesResult, err error)

type PageSetDeviceMetricsOverrideCB

type PageSetDeviceMetricsOverrideCB func(err error)

type PageSetDeviceMetricsOverrideCommand

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

Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results). @experimental

func (*PageSetDeviceMetricsOverrideCommand) Done

func (cmd *PageSetDeviceMetricsOverrideCommand) Done(data []byte, err error)

func (*PageSetDeviceMetricsOverrideCommand) Name

func (*PageSetDeviceMetricsOverrideCommand) Params

func (cmd *PageSetDeviceMetricsOverrideCommand) Params() interface{}

func (*PageSetDeviceMetricsOverrideCommand) Run

type PageSetDeviceMetricsOverrideParams

type PageSetDeviceMetricsOverrideParams struct {
	Width             int                `json:"width"`                       // Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
	Height            int                `json:"height"`                      // Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.
	DeviceScaleFactor float64            `json:"deviceScaleFactor"`           // Overriding device scale factor value. 0 disables the override.
	Mobile            bool               `json:"mobile"`                      // Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.
	FitWindow         bool               `json:"fitWindow"`                   // Whether a view that exceeds the available browser window area should be scaled down to fit.
	Scale             float64            `json:"scale,omitempty"`             // Scale to apply to resulting view image. Ignored in |fitWindow| mode.
	OffsetX           float64            `json:"offsetX,omitempty"`           // X offset to shift resulting view image by. Ignored in |fitWindow| mode.
	OffsetY           float64            `json:"offsetY,omitempty"`           // Y offset to shift resulting view image by. Ignored in |fitWindow| mode.
	ScreenWidth       int                `json:"screenWidth,omitempty"`       // Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	ScreenHeight      int                `json:"screenHeight,omitempty"`      // Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	PositionX         int                `json:"positionX,omitempty"`         // Overriding view X position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	PositionY         int                `json:"positionY,omitempty"`         // Overriding view Y position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|.
	ScreenOrientation *ScreenOrientation `json:"screenOrientation,omitempty"` // Screen orientation override.
}

type PageSetDeviceOrientationOverrideCB

type PageSetDeviceOrientationOverrideCB func(err error)

type PageSetDeviceOrientationOverrideCommand

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

Overrides the Device Orientation. @experimental

func (*PageSetDeviceOrientationOverrideCommand) Done

func (cmd *PageSetDeviceOrientationOverrideCommand) Done(data []byte, err error)

func (*PageSetDeviceOrientationOverrideCommand) Name

func (*PageSetDeviceOrientationOverrideCommand) Params

func (cmd *PageSetDeviceOrientationOverrideCommand) Params() interface{}

func (*PageSetDeviceOrientationOverrideCommand) Run

type PageSetDeviceOrientationOverrideParams

type PageSetDeviceOrientationOverrideParams struct {
	Alpha float64 `json:"alpha"` // Mock alpha
	Beta  float64 `json:"beta"`  // Mock beta
	Gamma float64 `json:"gamma"` // Mock gamma
}

type PageSetGeolocationOverrideCB

type PageSetGeolocationOverrideCB func(err error)

type PageSetGeolocationOverrideCommand

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

func (*PageSetGeolocationOverrideCommand) Done

func (cmd *PageSetGeolocationOverrideCommand) Done(data []byte, err error)

func (*PageSetGeolocationOverrideCommand) Name

func (*PageSetGeolocationOverrideCommand) Params

func (cmd *PageSetGeolocationOverrideCommand) Params() interface{}

func (*PageSetGeolocationOverrideCommand) Run

type PageSetGeolocationOverrideParams

type PageSetGeolocationOverrideParams struct {
	Latitude  float64 `json:"latitude,omitempty"`  // Mock latitude
	Longitude float64 `json:"longitude,omitempty"` // Mock longitude
	Accuracy  float64 `json:"accuracy,omitempty"`  // Mock accuracy
}

type PageSetTouchEmulationEnabledCB

type PageSetTouchEmulationEnabledCB func(err error)

type PageSetTouchEmulationEnabledCommand

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

Toggles mouse event-based touch event emulation. @experimental

func (*PageSetTouchEmulationEnabledCommand) Done

func (cmd *PageSetTouchEmulationEnabledCommand) Done(data []byte, err error)

func (*PageSetTouchEmulationEnabledCommand) Name

func (*PageSetTouchEmulationEnabledCommand) Params

func (cmd *PageSetTouchEmulationEnabledCommand) Params() interface{}

func (*PageSetTouchEmulationEnabledCommand) Run

type PageSetTouchEmulationEnabledParams

type PageSetTouchEmulationEnabledParams struct {
	Enabled       bool   `json:"enabled"`                 // Whether the touch event emulation should be enabled.
	Configuration string `json:"configuration,omitempty"` // Touch/gesture events configuration. Default: current platform.
}

type PaintProfile

type PaintProfile []float64

Array of timings, one per paint step.

type PauseCB

type PauseCB func(err error)

type PauseCommand

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

func NewPauseCommand

func NewPauseCommand() *PauseCommand

func (*PauseCommand) Done

func (cmd *PauseCommand) Done(data []byte, err error)

func (*PauseCommand) Name

func (cmd *PauseCommand) Name() string

func (*PauseCommand) Params

func (cmd *PauseCommand) Params() interface{}

func (*PauseCommand) Run

func (cmd *PauseCommand) Run(conn *hc.Conn) error

type PausedEvent

type PausedEvent struct {
	CallFrames      []*DebuggerCallFrame `json:"callFrames"`      // Call stack the virtual machine stopped on.
	Reason          string               `json:"reason"`          // Pause reason.
	Data            map[string]string    `json:"data"`            // Object containing break-specific auxiliary properties.
	HitBreakpoints  []string             `json:"hitBreakpoints"`  // Hit breakpoints IDs
	AsyncStackTrace *StackTrace          `json:"asyncStackTrace"` // Async stack trace, if any.
}

type PerformSearchCB

type PerformSearchCB func(result *PerformSearchResult, err error)

type PerformSearchCommand

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

Searches for a given string in the DOM tree. Use getSearchResults to access search results or cancelSearch to end this search session. @experimental

func NewPerformSearchCommand

func NewPerformSearchCommand(params *PerformSearchParams) *PerformSearchCommand

func (*PerformSearchCommand) Done

func (cmd *PerformSearchCommand) Done(data []byte, err error)

func (*PerformSearchCommand) Name

func (cmd *PerformSearchCommand) Name() string

func (*PerformSearchCommand) Params

func (cmd *PerformSearchCommand) Params() interface{}

func (*PerformSearchCommand) Result

func (*PerformSearchCommand) Run

func (cmd *PerformSearchCommand) Run(conn *hc.Conn) error

type PerformSearchParams

type PerformSearchParams struct {
	Query                     string `json:"query"`                               // Plain text or query selector or XPath search query.
	IncludeUserAgentShadowDOM bool   `json:"includeUserAgentShadowDOM,omitempty"` // True to search in user agent shadow DOM.
}

type PerformSearchResult

type PerformSearchResult struct {
	SearchId    string `json:"searchId"`    // Unique search session identifier.
	ResultCount int    `json:"resultCount"` // Number of search results.
}

func PerformSearch

func PerformSearch(params *PerformSearchParams, conn *hc.Conn) (result *PerformSearchResult, err error)

type PictureTile

type PictureTile struct {
	X       float64 `json:"x"`       // Offset from owning layer left boundary
	Y       float64 `json:"y"`       // Offset from owning layer top boundary
	Picture string  `json:"picture"` // Base64-encoded snapshot data.
}

Serialized fragment of layer picture along with its offset within the layer.

type PlatformFontUsage

type PlatformFontUsage struct {
	FamilyName   string  `json:"familyName"`   // Font's family name reported by platform.
	IsCustomFont bool    `json:"isCustomFont"` // Indicates if the font was downloaded or resolved locally.
	GlyphCount   float64 `json:"glyphCount"`   // Amount of glyphs that were rendered with this font.
}

Information about amount of glyphs that were rendered with given font. @experimental

type PositionTickInfo

type PositionTickInfo struct {
	Line  int `json:"line"`  // Source line number (1-based).
	Ticks int `json:"ticks"` // Number of samples attributed to the source line.
}

Specifies a number of samples attributed to a certain source position. @experimental

type PressureLevel

type PressureLevel string

Memory pressure level.

const PressureLevelCritical PressureLevel = "critical"
const PressureLevelModerate PressureLevel = "moderate"

type ProcessNavigationCB

type ProcessNavigationCB func(err error)

type ProcessNavigationCommand

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

Should be sent in response to a navigationRequested or a redirectRequested event, telling the browser how to handle the navigation. @experimental

func NewProcessNavigationCommand

func NewProcessNavigationCommand(params *ProcessNavigationParams) *ProcessNavigationCommand

func (*ProcessNavigationCommand) Done

func (cmd *ProcessNavigationCommand) Done(data []byte, err error)

func (*ProcessNavigationCommand) Name

func (cmd *ProcessNavigationCommand) Name() string

func (*ProcessNavigationCommand) Params

func (cmd *ProcessNavigationCommand) Params() interface{}

func (*ProcessNavigationCommand) Run

func (cmd *ProcessNavigationCommand) Run(conn *hc.Conn) error

type ProcessNavigationParams

type ProcessNavigationParams struct {
	Response     NavigationResponse `json:"response"`
	NavigationId int                `json:"navigationId"`
}

type Profile

type Profile struct {
	Nodes      []*ProfileNode `json:"nodes"`                // The list of profile nodes. First item is the root node.
	StartTime  float64        `json:"startTime"`            // Profiling start timestamp in microseconds.
	EndTime    float64        `json:"endTime"`              // Profiling end timestamp in microseconds.
	Samples    []int          `json:"samples,omitempty"`    // Ids of samples top nodes.
	TimeDeltas []int          `json:"timeDeltas,omitempty"` // Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
}

Profile.

type ProfileNode

type ProfileNode struct {
	Id            int                 `json:"id"`                      // Unique id of the node.
	CallFrame     *RuntimeCallFrame   `json:"callFrame"`               // Function location.
	HitCount      int                 `json:"hitCount,omitempty"`      // Number of samples where this node was on top of the call stack.
	Children      []int               `json:"children,omitempty"`      // Child node ids.
	DeoptReason   string              `json:"deoptReason,omitempty"`   // The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
	PositionTicks []*PositionTickInfo `json:"positionTicks,omitempty"` // An array of source position ticks.
}

Profile node. Holds callsite information, execution statistics and child nodes.

type ProfileSnapshotCB

type ProfileSnapshotCB func(result *ProfileSnapshotResult, err error)

type ProfileSnapshotCommand

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

func NewProfileSnapshotCommand

func NewProfileSnapshotCommand(params *ProfileSnapshotParams) *ProfileSnapshotCommand

func (*ProfileSnapshotCommand) Done

func (cmd *ProfileSnapshotCommand) Done(data []byte, err error)

func (*ProfileSnapshotCommand) Name

func (cmd *ProfileSnapshotCommand) Name() string

func (*ProfileSnapshotCommand) Params

func (cmd *ProfileSnapshotCommand) Params() interface{}

func (*ProfileSnapshotCommand) Result

func (*ProfileSnapshotCommand) Run

func (cmd *ProfileSnapshotCommand) Run(conn *hc.Conn) error

type ProfileSnapshotParams

type ProfileSnapshotParams struct {
	SnapshotId     SnapshotId `json:"snapshotId"`               // The id of the layer snapshot.
	MinRepeatCount int        `json:"minRepeatCount,omitempty"` // The maximum number of times to replay the snapshot (1, if not specified).
	MinDuration    float64    `json:"minDuration,omitempty"`    // The minimum duration (in seconds) to replay the snapshot.
	ClipRect       *Rect      `json:"clipRect,omitempty"`       // The clip rectangle to apply when replaying the snapshot.
}

type ProfileSnapshotResult

type ProfileSnapshotResult struct {
	Timings []PaintProfile `json:"timings"` // The array of paint profiles, one per run.
}

func ProfileSnapshot

func ProfileSnapshot(params *ProfileSnapshotParams, conn *hc.Conn) (result *ProfileSnapshotResult, err error)

type ProfilerDisableCB

type ProfilerDisableCB func(err error)

type ProfilerDisableCommand

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

func NewProfilerDisableCommand

func NewProfilerDisableCommand() *ProfilerDisableCommand

func (*ProfilerDisableCommand) Done

func (cmd *ProfilerDisableCommand) Done(data []byte, err error)

func (*ProfilerDisableCommand) Name

func (cmd *ProfilerDisableCommand) Name() string

func (*ProfilerDisableCommand) Params

func (cmd *ProfilerDisableCommand) Params() interface{}

func (*ProfilerDisableCommand) Run

func (cmd *ProfilerDisableCommand) Run(conn *hc.Conn) error

type ProfilerEnableCB

type ProfilerEnableCB func(err error)

type ProfilerEnableCommand

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

func NewProfilerEnableCommand

func NewProfilerEnableCommand() *ProfilerEnableCommand

func (*ProfilerEnableCommand) Done

func (cmd *ProfilerEnableCommand) Done(data []byte, err error)

func (*ProfilerEnableCommand) Name

func (cmd *ProfilerEnableCommand) Name() string

func (*ProfilerEnableCommand) Params

func (cmd *ProfilerEnableCommand) Params() interface{}

func (*ProfilerEnableCommand) Run

func (cmd *ProfilerEnableCommand) Run(conn *hc.Conn) error

type ProfilerStartCB

type ProfilerStartCB func(err error)

type ProfilerStartCommand

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

func NewProfilerStartCommand

func NewProfilerStartCommand() *ProfilerStartCommand

func (*ProfilerStartCommand) Done

func (cmd *ProfilerStartCommand) Done(data []byte, err error)

func (*ProfilerStartCommand) Name

func (cmd *ProfilerStartCommand) Name() string

func (*ProfilerStartCommand) Params

func (cmd *ProfilerStartCommand) Params() interface{}

func (*ProfilerStartCommand) Run

func (cmd *ProfilerStartCommand) Run(conn *hc.Conn) error

type PropertyDescriptor

type PropertyDescriptor struct {
	Name         string        `json:"name"`                // Property name or symbol description.
	Value        *RemoteObject `json:"value,omitempty"`     // The value associated with the property.
	Writable     bool          `json:"writable,omitempty"`  // True if the value associated with the property may be changed (data descriptors only).
	Get          *RemoteObject `json:"get,omitempty"`       // A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).
	Set          *RemoteObject `json:"set,omitempty"`       // A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).
	Configurable bool          `json:"configurable"`        // True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
	Enumerable   bool          `json:"enumerable"`          // True if this property shows up during enumeration of the properties on the corresponding object.
	WasThrown    bool          `json:"wasThrown,omitempty"` // True if the result was thrown during the evaluation.
	IsOwn        bool          `json:"isOwn,omitempty"`     // True if the property is owned for the object.
	Symbol       *RemoteObject `json:"symbol,omitempty"`    // Property symbol object, if the property is of the symbol type.
}

Object property descriptor.

type PropertyPreview

type PropertyPreview struct {
	Name         string         `json:"name"`                   // Property name.
	Type         string         `json:"type"`                   // Object type. Accessor means that the property itself is an accessor property.
	Value        string         `json:"value,omitempty"`        // User-friendly property value string.
	ValuePreview *ObjectPreview `json:"valuePreview,omitempty"` // Nested value preview.
	Subtype      string         `json:"subtype,omitempty"`      // Object subtype hint. Specified for object type values only.
}

@experimental

type PseudoElementAddedEvent

type PseudoElementAddedEvent struct {
	ParentId      NodeId `json:"parentId"`      // Pseudo element's parent element id.
	PseudoElement *Node  `json:"pseudoElement"` // The added pseudo element.
}

Called when a pseudo element is added to an element. @experimental

type PseudoElementMatches

type PseudoElementMatches struct {
	PseudoType *PseudoType  `json:"pseudoType"` // Pseudo element type.
	Matches    []*RuleMatch `json:"matches"`    // Matches of CSS rules applicable to the pseudo style.
}

CSS rule collection for a single pseudo style.

type PseudoElementRemovedEvent

type PseudoElementRemovedEvent struct {
	ParentId        NodeId `json:"parentId"`        // Pseudo element's parent element id.
	PseudoElementId NodeId `json:"pseudoElementId"` // The removed pseudo element id.
}

Called when a pseudo element is removed from an element. @experimental

type PseudoType

type PseudoType string

Pseudo element type.

const PseudoTypeAfter PseudoType = "after"
const PseudoTypeBackdrop PseudoType = "backdrop"
const PseudoTypeBefore PseudoType = "before"
const PseudoTypeFirstLetter PseudoType = "first-letter"
const PseudoTypeFirstLine PseudoType = "first-line"
const PseudoTypeFirstLineInherited PseudoType = "first-line-inherited"
const PseudoTypeInputListButton PseudoType = "input-list-button"
const PseudoTypeResizer PseudoType = "resizer"
const PseudoTypeScrollbar PseudoType = "scrollbar"
const PseudoTypeScrollbarButton PseudoType = "scrollbar-button"
const PseudoTypeScrollbarCorner PseudoType = "scrollbar-corner"
const PseudoTypeScrollbarThumb PseudoType = "scrollbar-thumb"
const PseudoTypeScrollbarTrack PseudoType = "scrollbar-track"
const PseudoTypeScrollbarTrackPiece PseudoType = "scrollbar-track-piece"
const PseudoTypeSelection PseudoType = "selection"

type PushNodeByPathToFrontendCB

type PushNodeByPathToFrontendCB func(result *PushNodeByPathToFrontendResult, err error)

type PushNodeByPathToFrontendCommand

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

Requests that the node is sent to the caller given its path. // FIXME, use XPath @experimental

func (*PushNodeByPathToFrontendCommand) Done

func (cmd *PushNodeByPathToFrontendCommand) Done(data []byte, err error)

func (*PushNodeByPathToFrontendCommand) Name

func (*PushNodeByPathToFrontendCommand) Params

func (cmd *PushNodeByPathToFrontendCommand) Params() interface{}

func (*PushNodeByPathToFrontendCommand) Result

func (*PushNodeByPathToFrontendCommand) Run

func (cmd *PushNodeByPathToFrontendCommand) Run(conn *hc.Conn) error

type PushNodeByPathToFrontendParams

type PushNodeByPathToFrontendParams struct {
	Path string `json:"path"` // Path to node in the proprietary format.
}

type PushNodeByPathToFrontendResult

type PushNodeByPathToFrontendResult struct {
	NodeId NodeId `json:"nodeId"` // Id of the node for given path.
}

func PushNodeByPathToFrontend

func PushNodeByPathToFrontend(params *PushNodeByPathToFrontendParams, conn *hc.Conn) (result *PushNodeByPathToFrontendResult, err error)

type PushNodesByBackendIdsToFrontendCB

type PushNodesByBackendIdsToFrontendCB func(result *PushNodesByBackendIdsToFrontendResult, err error)

type PushNodesByBackendIdsToFrontendCommand

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

Requests that a batch of nodes is sent to the caller given their backend node ids. @experimental

func (*PushNodesByBackendIdsToFrontendCommand) Done

func (cmd *PushNodesByBackendIdsToFrontendCommand) Done(data []byte, err error)

func (*PushNodesByBackendIdsToFrontendCommand) Name

func (*PushNodesByBackendIdsToFrontendCommand) Params

func (cmd *PushNodesByBackendIdsToFrontendCommand) Params() interface{}

func (*PushNodesByBackendIdsToFrontendCommand) Result

func (*PushNodesByBackendIdsToFrontendCommand) Run

type PushNodesByBackendIdsToFrontendParams

type PushNodesByBackendIdsToFrontendParams struct {
	BackendNodeIds []BackendNodeId `json:"backendNodeIds"` // The array of backend node ids.
}

type PushNodesByBackendIdsToFrontendResult

type PushNodesByBackendIdsToFrontendResult struct {
	NodeIds []NodeId `json:"nodeIds"` // The array of ids of pushed nodes that correspond to the backend ids specified in backendNodeIds.
}

func PushNodesByBackendIdsToFrontend

func PushNodesByBackendIdsToFrontend(params *PushNodesByBackendIdsToFrontendParams, conn *hc.Conn) (result *PushNodesByBackendIdsToFrontendResult, err error)

type Quad

type Quad []float64

An array of quad vertices, x immediately followed by y for each point, points clock-wise. @experimental

type QuerySelectorAllCB

type QuerySelectorAllCB func(result *QuerySelectorAllResult, err error)

type QuerySelectorAllCommand

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

func NewQuerySelectorAllCommand

func NewQuerySelectorAllCommand(params *QuerySelectorAllParams) *QuerySelectorAllCommand

func (*QuerySelectorAllCommand) Done

func (cmd *QuerySelectorAllCommand) Done(data []byte, err error)

func (*QuerySelectorAllCommand) Name

func (cmd *QuerySelectorAllCommand) Name() string

func (*QuerySelectorAllCommand) Params

func (cmd *QuerySelectorAllCommand) Params() interface{}

func (*QuerySelectorAllCommand) Result

func (*QuerySelectorAllCommand) Run

func (cmd *QuerySelectorAllCommand) Run(conn *hc.Conn) error

type QuerySelectorAllParams

type QuerySelectorAllParams struct {
	NodeId   NodeId `json:"nodeId"`   // Id of the node to query upon.
	Selector string `json:"selector"` // Selector string.
}

type QuerySelectorAllResult

type QuerySelectorAllResult struct {
	NodeIds []NodeId `json:"nodeIds"` // Query selector result.
}

func QuerySelectorAll

func QuerySelectorAll(params *QuerySelectorAllParams, conn *hc.Conn) (result *QuerySelectorAllResult, err error)

type QuerySelectorCB

type QuerySelectorCB func(result *QuerySelectorResult, err error)

type QuerySelectorCommand

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

func NewQuerySelectorCommand

func NewQuerySelectorCommand(params *QuerySelectorParams) *QuerySelectorCommand

func (*QuerySelectorCommand) Done

func (cmd *QuerySelectorCommand) Done(data []byte, err error)

func (*QuerySelectorCommand) Name

func (cmd *QuerySelectorCommand) Name() string

func (*QuerySelectorCommand) Params

func (cmd *QuerySelectorCommand) Params() interface{}

func (*QuerySelectorCommand) Result

func (*QuerySelectorCommand) Run

func (cmd *QuerySelectorCommand) Run(conn *hc.Conn) error

type QuerySelectorParams

type QuerySelectorParams struct {
	NodeId   NodeId `json:"nodeId"`   // Id of the node to query upon.
	Selector string `json:"selector"` // Selector string.
}

type QuerySelectorResult

type QuerySelectorResult struct {
	NodeId NodeId `json:"nodeId"` // Query selector result.
}

func QuerySelector

func QuerySelector(params *QuerySelectorParams, conn *hc.Conn) (result *QuerySelectorResult, err error)

type RGBA

type RGBA struct {
	R int     `json:"r"`           // The red component, in the [0-255] range.
	G int     `json:"g"`           // The green component, in the [0-255] range.
	B int     `json:"b"`           // The blue component, in the [0-255] range.
	A float64 `json:"a,omitempty"` // The alpha component, in the [0-1] range (default: 1).
}

A structure holding an RGBA color.

type ReadCB

type ReadCB func(result *ReadResult, err error)

type ReadCommand

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

func NewReadCommand

func NewReadCommand(params *ReadParams) *ReadCommand

func (*ReadCommand) Done

func (cmd *ReadCommand) Done(data []byte, err error)

func (*ReadCommand) Name

func (cmd *ReadCommand) Name() string

func (*ReadCommand) Params

func (cmd *ReadCommand) Params() interface{}

func (*ReadCommand) Result

func (cmd *ReadCommand) Result() *ReadResult

func (*ReadCommand) Run

func (cmd *ReadCommand) Run(conn *hc.Conn) error

type ReadParams

type ReadParams struct {
	Handle StreamHandle `json:"handle"`           // Handle of the stream to read.
	Offset int          `json:"offset,omitempty"` // Seek to the specified offset before reading (if not specificed, proceed with offset following the last read).
	Size   int          `json:"size,omitempty"`   // Maximum number of bytes to read (left upon the agent discretion if not specified).
}

type ReadResult

type ReadResult struct {
	Data string `json:"data"` // Data that were read.
	Eof  bool   `json:"eof"`  // Set if the end-of-file condition occured while reading.
}

func Read

func Read(params *ReadParams, conn *hc.Conn) (result *ReadResult, err error)

type ReceivedMessageFromTargetEvent

type ReceivedMessageFromTargetEvent struct {
	TargetId TargetID `json:"targetId"`
	Message  string   `json:"message"`
}

type RecordClockSyncMarkerCB

type RecordClockSyncMarkerCB func(err error)

type RecordClockSyncMarkerCommand

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

func (*RecordClockSyncMarkerCommand) Done

func (cmd *RecordClockSyncMarkerCommand) Done(data []byte, err error)

func (*RecordClockSyncMarkerCommand) Name

func (*RecordClockSyncMarkerCommand) Params

func (cmd *RecordClockSyncMarkerCommand) Params() interface{}

func (*RecordClockSyncMarkerCommand) Run

func (cmd *RecordClockSyncMarkerCommand) Run(conn *hc.Conn) error

type RecordClockSyncMarkerParams

type RecordClockSyncMarkerParams struct {
	SyncId string `json:"syncId"` // The ID of this clock sync marker
}

type Rect

type Rect struct {
	X      float64 `json:"x"`      // X coordinate
	Y      float64 `json:"y"`      // Y coordinate
	Width  float64 `json:"width"`  // Rectangle width
	Height float64 `json:"height"` // Rectangle height
}

Rectangle. @experimental

type RedoCB

type RedoCB func(err error)

type RedoCommand

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

Re-does the last undone action. @experimental

func NewRedoCommand

func NewRedoCommand() *RedoCommand

func (*RedoCommand) Done

func (cmd *RedoCommand) Done(data []byte, err error)

func (*RedoCommand) Name

func (cmd *RedoCommand) Name() string

func (*RedoCommand) Params

func (cmd *RedoCommand) Params() interface{}

func (*RedoCommand) Run

func (cmd *RedoCommand) Run(conn *hc.Conn) error

type ReleaseAnimationsCB

type ReleaseAnimationsCB func(err error)

type ReleaseAnimationsCommand

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

func NewReleaseAnimationsCommand

func NewReleaseAnimationsCommand(params *ReleaseAnimationsParams) *ReleaseAnimationsCommand

func (*ReleaseAnimationsCommand) Done

func (cmd *ReleaseAnimationsCommand) Done(data []byte, err error)

func (*ReleaseAnimationsCommand) Name

func (cmd *ReleaseAnimationsCommand) Name() string

func (*ReleaseAnimationsCommand) Params

func (cmd *ReleaseAnimationsCommand) Params() interface{}

func (*ReleaseAnimationsCommand) Run

func (cmd *ReleaseAnimationsCommand) Run(conn *hc.Conn) error

type ReleaseAnimationsParams

type ReleaseAnimationsParams struct {
	Animations []string `json:"animations"` // List of animation ids to seek.
}

type ReleaseObjectCB

type ReleaseObjectCB func(err error)

type ReleaseObjectCommand

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

func NewReleaseObjectCommand

func NewReleaseObjectCommand(params *ReleaseObjectParams) *ReleaseObjectCommand

func (*ReleaseObjectCommand) Done

func (cmd *ReleaseObjectCommand) Done(data []byte, err error)

func (*ReleaseObjectCommand) Name

func (cmd *ReleaseObjectCommand) Name() string

func (*ReleaseObjectCommand) Params

func (cmd *ReleaseObjectCommand) Params() interface{}

func (*ReleaseObjectCommand) Run

func (cmd *ReleaseObjectCommand) Run(conn *hc.Conn) error

type ReleaseObjectGroupCB

type ReleaseObjectGroupCB func(err error)

type ReleaseObjectGroupCommand

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

func NewReleaseObjectGroupCommand

func NewReleaseObjectGroupCommand(params *ReleaseObjectGroupParams) *ReleaseObjectGroupCommand

func (*ReleaseObjectGroupCommand) Done

func (cmd *ReleaseObjectGroupCommand) Done(data []byte, err error)

func (*ReleaseObjectGroupCommand) Name

func (cmd *ReleaseObjectGroupCommand) Name() string

func (*ReleaseObjectGroupCommand) Params

func (cmd *ReleaseObjectGroupCommand) Params() interface{}

func (*ReleaseObjectGroupCommand) Run

func (cmd *ReleaseObjectGroupCommand) Run(conn *hc.Conn) error

type ReleaseObjectGroupParams

type ReleaseObjectGroupParams struct {
	ObjectGroup string `json:"objectGroup"` // Symbolic object group name.
}

type ReleaseObjectParams

type ReleaseObjectParams struct {
	ObjectId RemoteObjectId `json:"objectId"` // Identifier of the object to release.
}

type ReleaseSnapshotCB

type ReleaseSnapshotCB func(err error)

type ReleaseSnapshotCommand

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

func NewReleaseSnapshotCommand

func NewReleaseSnapshotCommand(params *ReleaseSnapshotParams) *ReleaseSnapshotCommand

func (*ReleaseSnapshotCommand) Done

func (cmd *ReleaseSnapshotCommand) Done(data []byte, err error)

func (*ReleaseSnapshotCommand) Name

func (cmd *ReleaseSnapshotCommand) Name() string

func (*ReleaseSnapshotCommand) Params

func (cmd *ReleaseSnapshotCommand) Params() interface{}

func (*ReleaseSnapshotCommand) Run

func (cmd *ReleaseSnapshotCommand) Run(conn *hc.Conn) error

type ReleaseSnapshotParams

type ReleaseSnapshotParams struct {
	SnapshotId SnapshotId `json:"snapshotId"` // The id of the layer snapshot.
}

type ReloadCB

type ReloadCB func(err error)

type ReloadCommand

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

func NewReloadCommand

func NewReloadCommand(params *ReloadParams) *ReloadCommand

func (*ReloadCommand) Done

func (cmd *ReloadCommand) Done(data []byte, err error)

func (*ReloadCommand) Name

func (cmd *ReloadCommand) Name() string

func (*ReloadCommand) Params

func (cmd *ReloadCommand) Params() interface{}

func (*ReloadCommand) Run

func (cmd *ReloadCommand) Run(conn *hc.Conn) error

type ReloadParams

type ReloadParams struct {
	IgnoreCache            bool   `json:"ignoreCache,omitempty"`            // If true, browser cache is ignored (as if the user pressed Shift+refresh).
	ScriptToEvaluateOnLoad string `json:"scriptToEvaluateOnLoad,omitempty"` // If set, the script will be injected into all frames of the inspected page after reload.
}

type RemoteLocation

type RemoteLocation struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

type RemoteObject

type RemoteObject struct {
	Type                string              `json:"type"`                          // Object type.
	Subtype             string              `json:"subtype,omitempty"`             // Object subtype hint. Specified for object type values only.
	ClassName           string              `json:"className,omitempty"`           // Object class (constructor) name. Specified for object type values only.
	Value               json.RawMessage     `json:"value,omitempty"`               // Remote object value in case of primitive values or JSON values (if it was requested).
	UnserializableValue UnserializableValue `json:"unserializableValue,omitempty"` // Primitive value which can not be JSON-stringified does not have value, but gets this property.
	Description         string              `json:"description,omitempty"`         // String representation of the object.
	ObjectId            RemoteObjectId      `json:"objectId,omitempty"`            // Unique object identifier (for non-primitive values).
	Preview             *ObjectPreview      `json:"preview,omitempty"`             // Preview containing abbreviated property values. Specified for object type values only.
	CustomPreview       *CustomPreview      `json:"customPreview,omitempty"`
}

Mirror object referencing original JavaScript object.

type RemoteObjectId

type RemoteObjectId string

Unique object identifier.

type RemoveAttributeCB

type RemoveAttributeCB func(err error)

type RemoveAttributeCommand

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

func NewRemoveAttributeCommand

func NewRemoveAttributeCommand(params *RemoveAttributeParams) *RemoveAttributeCommand

func (*RemoveAttributeCommand) Done

func (cmd *RemoveAttributeCommand) Done(data []byte, err error)

func (*RemoveAttributeCommand) Name

func (cmd *RemoveAttributeCommand) Name() string

func (*RemoveAttributeCommand) Params

func (cmd *RemoveAttributeCommand) Params() interface{}

func (*RemoveAttributeCommand) Run

func (cmd *RemoveAttributeCommand) Run(conn *hc.Conn) error

type RemoveAttributeParams

type RemoveAttributeParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the element to remove attribute from.
	Name   string `json:"name"`   // Name of the attribute to remove.
}

type RemoveBlockedURLCB

type RemoveBlockedURLCB func(err error)

type RemoveBlockedURLCommand

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

Cancels blocking of a specific URL from loading. @experimental

func NewRemoveBlockedURLCommand

func NewRemoveBlockedURLCommand(params *RemoveBlockedURLParams) *RemoveBlockedURLCommand

func (*RemoveBlockedURLCommand) Done

func (cmd *RemoveBlockedURLCommand) Done(data []byte, err error)

func (*RemoveBlockedURLCommand) Name

func (cmd *RemoveBlockedURLCommand) Name() string

func (*RemoveBlockedURLCommand) Params

func (cmd *RemoveBlockedURLCommand) Params() interface{}

func (*RemoveBlockedURLCommand) Run

func (cmd *RemoveBlockedURLCommand) Run(conn *hc.Conn) error

type RemoveBlockedURLParams

type RemoveBlockedURLParams struct {
	Url string `json:"url"` // URL to stop blocking.
}

type RemoveBreakpointCB

type RemoveBreakpointCB func(err error)

type RemoveBreakpointCommand

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

func NewRemoveBreakpointCommand

func NewRemoveBreakpointCommand(params *RemoveBreakpointParams) *RemoveBreakpointCommand

func (*RemoveBreakpointCommand) Done

func (cmd *RemoveBreakpointCommand) Done(data []byte, err error)

func (*RemoveBreakpointCommand) Name

func (cmd *RemoveBreakpointCommand) Name() string

func (*RemoveBreakpointCommand) Params

func (cmd *RemoveBreakpointCommand) Params() interface{}

func (*RemoveBreakpointCommand) Run

func (cmd *RemoveBreakpointCommand) Run(conn *hc.Conn) error

type RemoveBreakpointParams

type RemoveBreakpointParams struct {
	BreakpointId BreakpointId `json:"breakpointId"`
}

type RemoveDOMBreakpointCB

type RemoveDOMBreakpointCB func(err error)

type RemoveDOMBreakpointCommand

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

func NewRemoveDOMBreakpointCommand

func NewRemoveDOMBreakpointCommand(params *RemoveDOMBreakpointParams) *RemoveDOMBreakpointCommand

func (*RemoveDOMBreakpointCommand) Done

func (cmd *RemoveDOMBreakpointCommand) Done(data []byte, err error)

func (*RemoveDOMBreakpointCommand) Name

func (cmd *RemoveDOMBreakpointCommand) Name() string

func (*RemoveDOMBreakpointCommand) Params

func (cmd *RemoveDOMBreakpointCommand) Params() interface{}

func (*RemoveDOMBreakpointCommand) Run

func (cmd *RemoveDOMBreakpointCommand) Run(conn *hc.Conn) error

type RemoveDOMBreakpointParams

type RemoveDOMBreakpointParams struct {
	NodeId *NodeId           `json:"nodeId"` // Identifier of the node to remove breakpoint from.
	Type   DOMBreakpointType `json:"type"`   // Type of the breakpoint to remove.
}

type RemoveDOMStorageItemCB

type RemoveDOMStorageItemCB func(err error)

type RemoveDOMStorageItemCommand

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

func (*RemoveDOMStorageItemCommand) Done

func (cmd *RemoveDOMStorageItemCommand) Done(data []byte, err error)

func (*RemoveDOMStorageItemCommand) Name

func (cmd *RemoveDOMStorageItemCommand) Name() string

func (*RemoveDOMStorageItemCommand) Params

func (cmd *RemoveDOMStorageItemCommand) Params() interface{}

func (*RemoveDOMStorageItemCommand) Run

func (cmd *RemoveDOMStorageItemCommand) Run(conn *hc.Conn) error

type RemoveDOMStorageItemParams

type RemoveDOMStorageItemParams struct {
	StorageId *StorageId `json:"storageId"`
	Key       string     `json:"key"`
}

type RemoveEventListenerBreakpointCB

type RemoveEventListenerBreakpointCB func(err error)

type RemoveEventListenerBreakpointCommand

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

func (*RemoveEventListenerBreakpointCommand) Done

func (cmd *RemoveEventListenerBreakpointCommand) Done(data []byte, err error)

func (*RemoveEventListenerBreakpointCommand) Name

func (*RemoveEventListenerBreakpointCommand) Params

func (cmd *RemoveEventListenerBreakpointCommand) Params() interface{}

func (*RemoveEventListenerBreakpointCommand) Run

type RemoveEventListenerBreakpointParams

type RemoveEventListenerBreakpointParams struct {
	EventName  string `json:"eventName"`            // Event name.
	TargetName string `json:"targetName,omitempty"` // EventTarget interface name.
}

type RemoveInstrumentationBreakpointCB

type RemoveInstrumentationBreakpointCB func(err error)

type RemoveInstrumentationBreakpointCommand

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

Removes breakpoint on particular native event. @experimental

func (*RemoveInstrumentationBreakpointCommand) Done

func (cmd *RemoveInstrumentationBreakpointCommand) Done(data []byte, err error)

func (*RemoveInstrumentationBreakpointCommand) Name

func (*RemoveInstrumentationBreakpointCommand) Params

func (cmd *RemoveInstrumentationBreakpointCommand) Params() interface{}

func (*RemoveInstrumentationBreakpointCommand) Run

type RemoveInstrumentationBreakpointParams

type RemoveInstrumentationBreakpointParams struct {
	EventName string `json:"eventName"` // Instrumentation name to stop on.
}

type RemoveNodeCB

type RemoveNodeCB func(err error)

type RemoveNodeCommand

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

func NewRemoveNodeCommand

func NewRemoveNodeCommand(params *RemoveNodeParams) *RemoveNodeCommand

func (*RemoveNodeCommand) Done

func (cmd *RemoveNodeCommand) Done(data []byte, err error)

func (*RemoveNodeCommand) Name

func (cmd *RemoveNodeCommand) Name() string

func (*RemoveNodeCommand) Params

func (cmd *RemoveNodeCommand) Params() interface{}

func (*RemoveNodeCommand) Run

func (cmd *RemoveNodeCommand) Run(conn *hc.Conn) error

type RemoveNodeParams

type RemoveNodeParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to remove.
}

type RemoveScriptToEvaluateOnLoadCB

type RemoveScriptToEvaluateOnLoadCB func(err error)

type RemoveScriptToEvaluateOnLoadCommand

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

@experimental

func (*RemoveScriptToEvaluateOnLoadCommand) Done

func (cmd *RemoveScriptToEvaluateOnLoadCommand) Done(data []byte, err error)

func (*RemoveScriptToEvaluateOnLoadCommand) Name

func (*RemoveScriptToEvaluateOnLoadCommand) Params

func (cmd *RemoveScriptToEvaluateOnLoadCommand) Params() interface{}

func (*RemoveScriptToEvaluateOnLoadCommand) Run

type RemoveScriptToEvaluateOnLoadParams

type RemoveScriptToEvaluateOnLoadParams struct {
	Identifier ScriptIdentifier `json:"identifier"`
}

type RemoveXHRBreakpointCB

type RemoveXHRBreakpointCB func(err error)

type RemoveXHRBreakpointCommand

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

func NewRemoveXHRBreakpointCommand

func NewRemoveXHRBreakpointCommand(params *RemoveXHRBreakpointParams) *RemoveXHRBreakpointCommand

func (*RemoveXHRBreakpointCommand) Done

func (cmd *RemoveXHRBreakpointCommand) Done(data []byte, err error)

func (*RemoveXHRBreakpointCommand) Name

func (cmd *RemoveXHRBreakpointCommand) Name() string

func (*RemoveXHRBreakpointCommand) Params

func (cmd *RemoveXHRBreakpointCommand) Params() interface{}

func (*RemoveXHRBreakpointCommand) Run

func (cmd *RemoveXHRBreakpointCommand) Run(conn *hc.Conn) error

type RemoveXHRBreakpointParams

type RemoveXHRBreakpointParams struct {
	Url string `json:"url"` // Resource URL substring.
}

type ReplaySnapshotCB

type ReplaySnapshotCB func(result *ReplaySnapshotResult, err error)

type ReplaySnapshotCommand

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

func NewReplaySnapshotCommand

func NewReplaySnapshotCommand(params *ReplaySnapshotParams) *ReplaySnapshotCommand

func (*ReplaySnapshotCommand) Done

func (cmd *ReplaySnapshotCommand) Done(data []byte, err error)

func (*ReplaySnapshotCommand) Name

func (cmd *ReplaySnapshotCommand) Name() string

func (*ReplaySnapshotCommand) Params

func (cmd *ReplaySnapshotCommand) Params() interface{}

func (*ReplaySnapshotCommand) Result

func (*ReplaySnapshotCommand) Run

func (cmd *ReplaySnapshotCommand) Run(conn *hc.Conn) error

type ReplaySnapshotParams

type ReplaySnapshotParams struct {
	SnapshotId SnapshotId `json:"snapshotId"`         // The id of the layer snapshot.
	FromStep   int        `json:"fromStep,omitempty"` // The first step to replay from (replay from the very start if not specified).
	ToStep     int        `json:"toStep,omitempty"`   // The last step to replay to (replay till the end if not specified).
	Scale      float64    `json:"scale,omitempty"`    // The scale to apply while replaying (defaults to 1).
}

type ReplaySnapshotResult

type ReplaySnapshotResult struct {
	DataURL string `json:"dataURL"` // A data: URL for resulting image.
}

func ReplaySnapshot

func ReplaySnapshot(params *ReplaySnapshotParams, conn *hc.Conn) (result *ReplaySnapshotResult, err error)

type ReplayXHRCB

type ReplayXHRCB func(err error)

type ReplayXHRCommand

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

This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. @experimental

func NewReplayXHRCommand

func NewReplayXHRCommand(params *ReplayXHRParams) *ReplayXHRCommand

func (*ReplayXHRCommand) Done

func (cmd *ReplayXHRCommand) Done(data []byte, err error)

func (*ReplayXHRCommand) Name

func (cmd *ReplayXHRCommand) Name() string

func (*ReplayXHRCommand) Params

func (cmd *ReplayXHRCommand) Params() interface{}

func (*ReplayXHRCommand) Run

func (cmd *ReplayXHRCommand) Run(conn *hc.Conn) error

type ReplayXHRParams

type ReplayXHRParams struct {
	RequestId RequestId `json:"requestId"` // Identifier of XHR to replay.
}

type ReportHeapSnapshotProgressEvent

type ReportHeapSnapshotProgressEvent struct {
	Done     int  `json:"done"`
	Total    int  `json:"total"`
	Finished bool `json:"finished"`
}

type Request

type Request struct {
	Url              string           `json:"url"`                        // Request URL.
	Method           string           `json:"method"`                     // HTTP request method.
	Headers          *Headers         `json:"headers"`                    // HTTP request headers.
	PostData         string           `json:"postData,omitempty"`         // HTTP POST request data.
	MixedContentType string           `json:"mixedContentType,omitempty"` // The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-content/
	InitialPriority  ResourcePriority `json:"initialPriority"`            // Priority of the resource request at the time request is sent.
	ReferrerPolicy   string           `json:"referrerPolicy"`             // The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
}

HTTP request data.

type RequestAppBannerCB

type RequestAppBannerCB func(err error)

type RequestAppBannerCommand

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

@experimental

func NewRequestAppBannerCommand

func NewRequestAppBannerCommand() *RequestAppBannerCommand

func (*RequestAppBannerCommand) Done

func (cmd *RequestAppBannerCommand) Done(data []byte, err error)

func (*RequestAppBannerCommand) Name

func (cmd *RequestAppBannerCommand) Name() string

func (*RequestAppBannerCommand) Params

func (cmd *RequestAppBannerCommand) Params() interface{}

func (*RequestAppBannerCommand) Run

func (cmd *RequestAppBannerCommand) Run(conn *hc.Conn) error

type RequestCacheNamesCB

type RequestCacheNamesCB func(result *RequestCacheNamesResult, err error)

type RequestCacheNamesCommand

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

func NewRequestCacheNamesCommand

func NewRequestCacheNamesCommand(params *RequestCacheNamesParams) *RequestCacheNamesCommand

func (*RequestCacheNamesCommand) Done

func (cmd *RequestCacheNamesCommand) Done(data []byte, err error)

func (*RequestCacheNamesCommand) Name

func (cmd *RequestCacheNamesCommand) Name() string

func (*RequestCacheNamesCommand) Params

func (cmd *RequestCacheNamesCommand) Params() interface{}

func (*RequestCacheNamesCommand) Result

func (*RequestCacheNamesCommand) Run

func (cmd *RequestCacheNamesCommand) Run(conn *hc.Conn) error

type RequestCacheNamesParams

type RequestCacheNamesParams struct {
	SecurityOrigin string `json:"securityOrigin"` // Security origin.
}

type RequestCacheNamesResult

type RequestCacheNamesResult struct {
	Caches []*Cache `json:"caches"` // Caches for the security origin.
}

func RequestCacheNames

func RequestCacheNames(params *RequestCacheNamesParams, conn *hc.Conn) (result *RequestCacheNamesResult, err error)

type RequestChildNodesCB

type RequestChildNodesCB func(err error)

type RequestChildNodesCommand

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

func NewRequestChildNodesCommand

func NewRequestChildNodesCommand(params *RequestChildNodesParams) *RequestChildNodesCommand

func (*RequestChildNodesCommand) Done

func (cmd *RequestChildNodesCommand) Done(data []byte, err error)

func (*RequestChildNodesCommand) Name

func (cmd *RequestChildNodesCommand) Name() string

func (*RequestChildNodesCommand) Params

func (cmd *RequestChildNodesCommand) Params() interface{}

func (*RequestChildNodesCommand) Run

func (cmd *RequestChildNodesCommand) Run(conn *hc.Conn) error

type RequestChildNodesParams

type RequestChildNodesParams struct {
	NodeId NodeId `json:"nodeId"`           // Id of the node to get children for.
	Depth  int    `json:"depth,omitempty"`  // The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
	Pierce bool   `json:"pierce,omitempty"` // Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false).
}

type RequestDataCB

type RequestDataCB func(result *RequestDataResult, err error)

type RequestDataCommand

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

func NewRequestDataCommand

func NewRequestDataCommand(params *RequestDataParams) *RequestDataCommand

func (*RequestDataCommand) Done

func (cmd *RequestDataCommand) Done(data []byte, err error)

func (*RequestDataCommand) Name

func (cmd *RequestDataCommand) Name() string

func (*RequestDataCommand) Params

func (cmd *RequestDataCommand) Params() interface{}

func (*RequestDataCommand) Result

func (cmd *RequestDataCommand) Result() *RequestDataResult

func (*RequestDataCommand) Run

func (cmd *RequestDataCommand) Run(conn *hc.Conn) error

type RequestDataParams

type RequestDataParams struct {
	SecurityOrigin  string    `json:"securityOrigin"`     // Security origin.
	DatabaseName    string    `json:"databaseName"`       // Database name.
	ObjectStoreName string    `json:"objectStoreName"`    // Object store name.
	IndexName       string    `json:"indexName"`          // Index name, empty string for object store data requests.
	SkipCount       int       `json:"skipCount"`          // Number of records to skip.
	PageSize        int       `json:"pageSize"`           // Number of records to fetch.
	KeyRange        *KeyRange `json:"keyRange,omitempty"` // Key range.
}

type RequestDataResult

type RequestDataResult struct {
	ObjectStoreDataEntries []*IndexedDBDataEntry `json:"objectStoreDataEntries"` // Array of object store data entries.
	HasMore                bool                  `json:"hasMore"`                // If true, there are more entries to fetch in the given range.
}

func RequestData

func RequestData(params *RequestDataParams, conn *hc.Conn) (result *RequestDataResult, err error)

type RequestDatabaseCB

type RequestDatabaseCB func(result *RequestDatabaseResult, err error)

type RequestDatabaseCommand

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

func NewRequestDatabaseCommand

func NewRequestDatabaseCommand(params *RequestDatabaseParams) *RequestDatabaseCommand

func (*RequestDatabaseCommand) Done

func (cmd *RequestDatabaseCommand) Done(data []byte, err error)

func (*RequestDatabaseCommand) Name

func (cmd *RequestDatabaseCommand) Name() string

func (*RequestDatabaseCommand) Params

func (cmd *RequestDatabaseCommand) Params() interface{}

func (*RequestDatabaseCommand) Result

func (*RequestDatabaseCommand) Run

func (cmd *RequestDatabaseCommand) Run(conn *hc.Conn) error

type RequestDatabaseNamesCB

type RequestDatabaseNamesCB func(result *RequestDatabaseNamesResult, err error)

type RequestDatabaseNamesCommand

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

func (*RequestDatabaseNamesCommand) Done

func (cmd *RequestDatabaseNamesCommand) Done(data []byte, err error)

func (*RequestDatabaseNamesCommand) Name

func (cmd *RequestDatabaseNamesCommand) Name() string

func (*RequestDatabaseNamesCommand) Params

func (cmd *RequestDatabaseNamesCommand) Params() interface{}

func (*RequestDatabaseNamesCommand) Result

func (*RequestDatabaseNamesCommand) Run

func (cmd *RequestDatabaseNamesCommand) Run(conn *hc.Conn) error

type RequestDatabaseNamesParams

type RequestDatabaseNamesParams struct {
	SecurityOrigin string `json:"securityOrigin"` // Security origin.
}

type RequestDatabaseNamesResult

type RequestDatabaseNamesResult struct {
	DatabaseNames []string `json:"databaseNames"` // Database names for origin.
}

func RequestDatabaseNames

func RequestDatabaseNames(params *RequestDatabaseNamesParams, conn *hc.Conn) (result *RequestDatabaseNamesResult, err error)

type RequestDatabaseParams

type RequestDatabaseParams struct {
	SecurityOrigin string `json:"securityOrigin"` // Security origin.
	DatabaseName   string `json:"databaseName"`   // Database name.
}

type RequestDatabaseResult

type RequestDatabaseResult struct {
	DatabaseWithObjectStores *DatabaseWithObjectStores `json:"databaseWithObjectStores"` // Database with an array of object stores.
}

func RequestDatabase

func RequestDatabase(params *RequestDatabaseParams, conn *hc.Conn) (result *RequestDatabaseResult, err error)

type RequestEntriesCB

type RequestEntriesCB func(result *RequestEntriesResult, err error)

type RequestEntriesCommand

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

func NewRequestEntriesCommand

func NewRequestEntriesCommand(params *RequestEntriesParams) *RequestEntriesCommand

func (*RequestEntriesCommand) Done

func (cmd *RequestEntriesCommand) Done(data []byte, err error)

func (*RequestEntriesCommand) Name

func (cmd *RequestEntriesCommand) Name() string

func (*RequestEntriesCommand) Params

func (cmd *RequestEntriesCommand) Params() interface{}

func (*RequestEntriesCommand) Result

func (*RequestEntriesCommand) Run

func (cmd *RequestEntriesCommand) Run(conn *hc.Conn) error

type RequestEntriesParams

type RequestEntriesParams struct {
	CacheId   CacheId `json:"cacheId"`   // ID of cache to get entries from.
	SkipCount int     `json:"skipCount"` // Number of records to skip.
	PageSize  int     `json:"pageSize"`  // Number of records to fetch.
}

type RequestEntriesResult

type RequestEntriesResult struct {
	CacheDataEntries []*CacheStorageDataEntry `json:"cacheDataEntries"` // Array of object store data entries.
	HasMore          bool                     `json:"hasMore"`          // If true, there are more entries to fetch in the given range.
}

func RequestEntries

func RequestEntries(params *RequestEntriesParams, conn *hc.Conn) (result *RequestEntriesResult, err error)

type RequestId

type RequestId string

Unique request identifier.

type RequestMemoryDumpCB

type RequestMemoryDumpCB func(result *RequestMemoryDumpResult, err error)

type RequestMemoryDumpCommand

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

func NewRequestMemoryDumpCommand

func NewRequestMemoryDumpCommand() *RequestMemoryDumpCommand

func (*RequestMemoryDumpCommand) Done

func (cmd *RequestMemoryDumpCommand) Done(data []byte, err error)

func (*RequestMemoryDumpCommand) Name

func (cmd *RequestMemoryDumpCommand) Name() string

func (*RequestMemoryDumpCommand) Params

func (cmd *RequestMemoryDumpCommand) Params() interface{}

func (*RequestMemoryDumpCommand) Result

func (*RequestMemoryDumpCommand) Run

func (cmd *RequestMemoryDumpCommand) Run(conn *hc.Conn) error

type RequestMemoryDumpResult

type RequestMemoryDumpResult struct {
	DumpGuid string `json:"dumpGuid"` // GUID of the resulting global memory dump.
	Success  bool   `json:"success"`  // True iff the global memory dump succeeded.
}

func RequestMemoryDump

func RequestMemoryDump(conn *hc.Conn) (result *RequestMemoryDumpResult, err error)

type RequestNodeCB

type RequestNodeCB func(result *RequestNodeResult, err error)

type RequestNodeCommand

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

func NewRequestNodeCommand

func NewRequestNodeCommand(params *RequestNodeParams) *RequestNodeCommand

func (*RequestNodeCommand) Done

func (cmd *RequestNodeCommand) Done(data []byte, err error)

func (*RequestNodeCommand) Name

func (cmd *RequestNodeCommand) Name() string

func (*RequestNodeCommand) Params

func (cmd *RequestNodeCommand) Params() interface{}

func (*RequestNodeCommand) Result

func (cmd *RequestNodeCommand) Result() *RequestNodeResult

func (*RequestNodeCommand) Run

func (cmd *RequestNodeCommand) Run(conn *hc.Conn) error

type RequestNodeParams

type RequestNodeParams struct {
	ObjectId *RemoteObjectId `json:"objectId"` // JavaScript object id to convert into node.
}

type RequestNodeResult

type RequestNodeResult struct {
	NodeId NodeId `json:"nodeId"` // Node id for given object.
}

func RequestNode

func RequestNode(params *RequestNodeParams, conn *hc.Conn) (result *RequestNodeResult, err error)

type RequestServedFromCacheEvent

type RequestServedFromCacheEvent struct {
	RequestId RequestId `json:"requestId"` // Request identifier.
}

type RequestWillBeSentEvent

type RequestWillBeSentEvent struct {
	RequestId        RequestId        `json:"requestId"`        // Request identifier.
	FrameId          *FrameId         `json:"frameId"`          // Frame identifier.
	LoaderId         LoaderId         `json:"loaderId"`         // Loader identifier.
	DocumentURL      string           `json:"documentURL"`      // URL of the document this request is loaded for.
	Request          *Request         `json:"request"`          // Request data.
	Timestamp        NetworkTimestamp `json:"timestamp"`        // Timestamp.
	WallTime         NetworkTimestamp `json:"wallTime"`         // UTC Timestamp.
	Initiator        *Initiator       `json:"initiator"`        // Request initiator.
	RedirectResponse *Response        `json:"redirectResponse"` // Redirect response data.
	Type             *ResourceType    `json:"type"`             // Type of this resource.
}

type ResetPageScaleFactorCB

type ResetPageScaleFactorCB func(err error)

type ResetPageScaleFactorCommand

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

Requests that page scale factor is reset to initial values. @experimental

func NewResetPageScaleFactorCommand

func NewResetPageScaleFactorCommand() *ResetPageScaleFactorCommand

func (*ResetPageScaleFactorCommand) Done

func (cmd *ResetPageScaleFactorCommand) Done(data []byte, err error)

func (*ResetPageScaleFactorCommand) Name

func (cmd *ResetPageScaleFactorCommand) Name() string

func (*ResetPageScaleFactorCommand) Params

func (cmd *ResetPageScaleFactorCommand) Params() interface{}

func (*ResetPageScaleFactorCommand) Run

func (cmd *ResetPageScaleFactorCommand) Run(conn *hc.Conn) error

type ResetProfilesEvent

type ResetProfilesEvent struct {
}

type ResetViewportCB

type ResetViewportCB func(err error)

type ResetViewportCommand

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

Resets the visible area of the page to the original viewport, undoing any effects of the forceViewport command. @experimental

func NewResetViewportCommand

func NewResetViewportCommand() *ResetViewportCommand

func (*ResetViewportCommand) Done

func (cmd *ResetViewportCommand) Done(data []byte, err error)

func (*ResetViewportCommand) Name

func (cmd *ResetViewportCommand) Name() string

func (*ResetViewportCommand) Params

func (cmd *ResetViewportCommand) Params() interface{}

func (*ResetViewportCommand) Run

func (cmd *ResetViewportCommand) Run(conn *hc.Conn) error

type ResolveAnimationCB

type ResolveAnimationCB func(result *ResolveAnimationResult, err error)

type ResolveAnimationCommand

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

func NewResolveAnimationCommand

func NewResolveAnimationCommand(params *ResolveAnimationParams) *ResolveAnimationCommand

func (*ResolveAnimationCommand) Done

func (cmd *ResolveAnimationCommand) Done(data []byte, err error)

func (*ResolveAnimationCommand) Name

func (cmd *ResolveAnimationCommand) Name() string

func (*ResolveAnimationCommand) Params

func (cmd *ResolveAnimationCommand) Params() interface{}

func (*ResolveAnimationCommand) Result

func (*ResolveAnimationCommand) Run

func (cmd *ResolveAnimationCommand) Run(conn *hc.Conn) error

type ResolveAnimationParams

type ResolveAnimationParams struct {
	AnimationId string `json:"animationId"` // Animation id.
}

type ResolveAnimationResult

type ResolveAnimationResult struct {
	RemoteObject *RemoteObject `json:"remoteObject"` // Corresponding remote object.
}

func ResolveAnimation

func ResolveAnimation(params *ResolveAnimationParams, conn *hc.Conn) (result *ResolveAnimationResult, err error)

type ResolveNodeCB

type ResolveNodeCB func(result *ResolveNodeResult, err error)

type ResolveNodeCommand

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

func NewResolveNodeCommand

func NewResolveNodeCommand(params *ResolveNodeParams) *ResolveNodeCommand

func (*ResolveNodeCommand) Done

func (cmd *ResolveNodeCommand) Done(data []byte, err error)

func (*ResolveNodeCommand) Name

func (cmd *ResolveNodeCommand) Name() string

func (*ResolveNodeCommand) Params

func (cmd *ResolveNodeCommand) Params() interface{}

func (*ResolveNodeCommand) Result

func (cmd *ResolveNodeCommand) Result() *ResolveNodeResult

func (*ResolveNodeCommand) Run

func (cmd *ResolveNodeCommand) Run(conn *hc.Conn) error

type ResolveNodeParams

type ResolveNodeParams struct {
	NodeId      NodeId `json:"nodeId"`                // Id of the node to resolve.
	ObjectGroup string `json:"objectGroup,omitempty"` // Symbolic group name that can be used to release multiple objects.
}

type ResolveNodeResult

type ResolveNodeResult struct {
	Object *RemoteObject `json:"object"` // JavaScript object wrapper for given node.
}

func ResolveNode

func ResolveNode(params *ResolveNodeParams, conn *hc.Conn) (result *ResolveNodeResult, err error)

type ResourceChangedPriorityEvent

type ResourceChangedPriorityEvent struct {
	RequestId   RequestId        `json:"requestId"`   // Request identifier.
	NewPriority ResourcePriority `json:"newPriority"` // New priority
	Timestamp   NetworkTimestamp `json:"timestamp"`   // Timestamp.
}

Fired when resource loading priority is changed @experimental

type ResourcePriority

type ResourcePriority string

Loading priority of a resource request.

const ResourcePriorityHigh ResourcePriority = "High"
const ResourcePriorityLow ResourcePriority = "Low"
const ResourcePriorityMedium ResourcePriority = "Medium"
const ResourcePriorityVeryHigh ResourcePriority = "VeryHigh"
const ResourcePriorityVeryLow ResourcePriority = "VeryLow"

type ResourceTiming

type ResourceTiming struct {
	RequestTime       float64 `json:"requestTime"`       // Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
	ProxyStart        float64 `json:"proxyStart"`        // Started resolving proxy.
	ProxyEnd          float64 `json:"proxyEnd"`          // Finished resolving proxy.
	DnsStart          float64 `json:"dnsStart"`          // Started DNS address resolve.
	DnsEnd            float64 `json:"dnsEnd"`            // Finished DNS address resolve.
	ConnectStart      float64 `json:"connectStart"`      // Started connecting to the remote host.
	ConnectEnd        float64 `json:"connectEnd"`        // Connected to the remote host.
	SslStart          float64 `json:"sslStart"`          // Started SSL handshake.
	SslEnd            float64 `json:"sslEnd"`            // Finished SSL handshake.
	WorkerStart       float64 `json:"workerStart"`       // Started running ServiceWorker.
	WorkerReady       float64 `json:"workerReady"`       // Finished Starting ServiceWorker.
	SendStart         float64 `json:"sendStart"`         // Started sending request.
	SendEnd           float64 `json:"sendEnd"`           // Finished sending request.
	PushStart         float64 `json:"pushStart"`         // Time the server started pushing request.
	PushEnd           float64 `json:"pushEnd"`           // Time the server finished pushing request.
	ReceiveHeadersEnd float64 `json:"receiveHeadersEnd"` // Finished receiving response headers.
}

Timing information for the request.

type ResourceType

type ResourceType string

Resource type as it was perceived by the rendering engine.

const ResourceTypeDocument ResourceType = "Document"
const ResourceTypeEventSource ResourceType = "EventSource"
const ResourceTypeFetch ResourceType = "Fetch"
const ResourceTypeFont ResourceType = "Font"
const ResourceTypeImage ResourceType = "Image"
const ResourceTypeManifest ResourceType = "Manifest"
const ResourceTypeMedia ResourceType = "Media"
const ResourceTypeOther ResourceType = "Other"
const ResourceTypeScript ResourceType = "Script"
const ResourceTypeStylesheet ResourceType = "Stylesheet"
const ResourceTypeTextTrack ResourceType = "TextTrack"
const ResourceTypeWebSocket ResourceType = "WebSocket"
const ResourceTypeXHR ResourceType = "XHR"

type Response

type Response struct {
	Url                string           `json:"url"`                          // Response URL. This URL can be different from CachedResource.url in case of redirect.
	Status             float64          `json:"status"`                       // HTTP response status code.
	StatusText         string           `json:"statusText"`                   // HTTP response status text.
	Headers            *Headers         `json:"headers"`                      // HTTP response headers.
	HeadersText        string           `json:"headersText,omitempty"`        // HTTP response headers text.
	MimeType           string           `json:"mimeType"`                     // Resource mimeType as determined by the browser.
	RequestHeaders     *Headers         `json:"requestHeaders,omitempty"`     // Refined HTTP request headers that were actually transmitted over the network.
	RequestHeadersText string           `json:"requestHeadersText,omitempty"` // HTTP request headers text.
	ConnectionReused   bool             `json:"connectionReused"`             // Specifies whether physical connection was actually reused for this request.
	ConnectionId       float64          `json:"connectionId"`                 // Physical connection id that was actually used for this request.
	RemoteIPAddress    string           `json:"remoteIPAddress,omitempty"`    // Remote IP address.
	RemotePort         int              `json:"remotePort,omitempty"`         // Remote port.
	FromDiskCache      bool             `json:"fromDiskCache,omitempty"`      // Specifies that the request was served from the disk cache.
	FromServiceWorker  bool             `json:"fromServiceWorker,omitempty"`  // Specifies that the request was served from the ServiceWorker.
	EncodedDataLength  float64          `json:"encodedDataLength"`            // Total number of bytes received for this request so far.
	Timing             *ResourceTiming  `json:"timing,omitempty"`             // Timing information for the given request.
	Protocol           string           `json:"protocol,omitempty"`           // Protocol used to fetch this request.
	SecurityState      *SecurityState   `json:"securityState"`                // Security state of the request resource.
	SecurityDetails    *SecurityDetails `json:"securityDetails,omitempty"`    // Security details for the request.
}

HTTP response data.

type ResponseReceivedEvent

type ResponseReceivedEvent struct {
	RequestId RequestId        `json:"requestId"` // Request identifier.
	FrameId   *FrameId         `json:"frameId"`   // Frame identifier.
	LoaderId  LoaderId         `json:"loaderId"`  // Loader identifier.
	Timestamp NetworkTimestamp `json:"timestamp"` // Timestamp.
	Type      *ResourceType    `json:"type"`      // Resource type.
	Response  *Response        `json:"response"`  // Response data.
}

type RestartFrameCB

type RestartFrameCB func(result *RestartFrameResult, err error)

type RestartFrameCommand

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

func NewRestartFrameCommand

func NewRestartFrameCommand(params *RestartFrameParams) *RestartFrameCommand

func (*RestartFrameCommand) Done

func (cmd *RestartFrameCommand) Done(data []byte, err error)

func (*RestartFrameCommand) Name

func (cmd *RestartFrameCommand) Name() string

func (*RestartFrameCommand) Params

func (cmd *RestartFrameCommand) Params() interface{}

func (*RestartFrameCommand) Result

func (cmd *RestartFrameCommand) Result() *RestartFrameResult

func (*RestartFrameCommand) Run

func (cmd *RestartFrameCommand) Run(conn *hc.Conn) error

type RestartFrameParams

type RestartFrameParams struct {
	CallFrameId CallFrameId `json:"callFrameId"` // Call frame identifier to evaluate on.
}

type RestartFrameResult

type RestartFrameResult struct {
	CallFrames      []*DebuggerCallFrame `json:"callFrames"`      // New stack trace.
	AsyncStackTrace *StackTrace          `json:"asyncStackTrace"` // Async stack trace, if any.
}

func RestartFrame

func RestartFrame(params *RestartFrameParams, conn *hc.Conn) (result *RestartFrameResult, err error)

type ResumeCB

type ResumeCB func(err error)

type ResumeCommand

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

func NewResumeCommand

func NewResumeCommand() *ResumeCommand

func (*ResumeCommand) Done

func (cmd *ResumeCommand) Done(data []byte, err error)

func (*ResumeCommand) Name

func (cmd *ResumeCommand) Name() string

func (*ResumeCommand) Params

func (cmd *ResumeCommand) Params() interface{}

func (*ResumeCommand) Run

func (cmd *ResumeCommand) Run(conn *hc.Conn) error

type ResumedEvent

type ResumedEvent struct {
}

type RuleMatch

type RuleMatch struct {
	Rule              *CSSRule `json:"rule"`              // CSS rule in the match.
	MatchingSelectors []int    `json:"matchingSelectors"` // Matching selector indices in the rule's selectorList selectors (0-based).
}

Match data for a CSS rule.

type RuleUsage

type RuleUsage struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
	Range        *SourceRange `json:"range"`        // Style declaration range in the enclosing stylesheet (if available).
	Used         bool         `json:"used"`         // Indicates whether the rule was actually used by some element in the page.
}

CSS rule usage information. @experimental

type RunIfWaitingForDebuggerCB

type RunIfWaitingForDebuggerCB func(err error)

type RunIfWaitingForDebuggerCommand

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

func NewRunIfWaitingForDebuggerCommand

func NewRunIfWaitingForDebuggerCommand() *RunIfWaitingForDebuggerCommand

func (*RunIfWaitingForDebuggerCommand) Done

func (cmd *RunIfWaitingForDebuggerCommand) Done(data []byte, err error)

func (*RunIfWaitingForDebuggerCommand) Name

func (*RunIfWaitingForDebuggerCommand) Params

func (cmd *RunIfWaitingForDebuggerCommand) Params() interface{}

func (*RunIfWaitingForDebuggerCommand) Run

func (cmd *RunIfWaitingForDebuggerCommand) Run(conn *hc.Conn) error

type RunScriptCB

type RunScriptCB func(result *RunScriptResult, err error)

type RunScriptCommand

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

func NewRunScriptCommand

func NewRunScriptCommand(params *RunScriptParams) *RunScriptCommand

func (*RunScriptCommand) Done

func (cmd *RunScriptCommand) Done(data []byte, err error)

func (*RunScriptCommand) Name

func (cmd *RunScriptCommand) Name() string

func (*RunScriptCommand) Params

func (cmd *RunScriptCommand) Params() interface{}

func (*RunScriptCommand) Result

func (cmd *RunScriptCommand) Result() *RunScriptResult

func (*RunScriptCommand) Run

func (cmd *RunScriptCommand) Run(conn *hc.Conn) error

type RunScriptParams

type RunScriptParams struct {
	ScriptId              ScriptId           `json:"scriptId"`                        // Id of the script to run.
	ExecutionContextId    ExecutionContextId `json:"executionContextId,omitempty"`    // Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
	ObjectGroup           string             `json:"objectGroup,omitempty"`           // Symbolic group name that can be used to release multiple objects.
	Silent                bool               `json:"silent,omitempty"`                // In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
	IncludeCommandLineAPI bool               `json:"includeCommandLineAPI,omitempty"` // Determines whether Command Line API should be available during the evaluation.
	ReturnByValue         bool               `json:"returnByValue,omitempty"`         // Whether the result is expected to be a JSON object which should be sent by value.
	GeneratePreview       bool               `json:"generatePreview,omitempty"`       // Whether preview should be generated for the result.
	AwaitPromise          bool               `json:"awaitPromise,omitempty"`          // Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error.
}

type RunScriptResult

type RunScriptResult struct {
	Result           *RemoteObject     `json:"result"`           // Run result.
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` // Exception details.
}

func RunScript

func RunScript(params *RunScriptParams, conn *hc.Conn) (result *RunScriptResult, err error)

type RuntimeCallFrame

type RuntimeCallFrame struct {
	FunctionName string   `json:"functionName"` // JavaScript function name.
	ScriptId     ScriptId `json:"scriptId"`     // JavaScript script id.
	Url          string   `json:"url"`          // JavaScript script name or url.
	LineNumber   int      `json:"lineNumber"`   // JavaScript script line number (0-based).
	ColumnNumber int      `json:"columnNumber"` // JavaScript script column number (0-based).
}

Stack entry for runtime errors and assertions.

type RuntimeDisableCB

type RuntimeDisableCB func(err error)

type RuntimeDisableCommand

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

func NewRuntimeDisableCommand

func NewRuntimeDisableCommand() *RuntimeDisableCommand

func (*RuntimeDisableCommand) Done

func (cmd *RuntimeDisableCommand) Done(data []byte, err error)

func (*RuntimeDisableCommand) Name

func (cmd *RuntimeDisableCommand) Name() string

func (*RuntimeDisableCommand) Params

func (cmd *RuntimeDisableCommand) Params() interface{}

func (*RuntimeDisableCommand) Run

func (cmd *RuntimeDisableCommand) Run(conn *hc.Conn) error

type RuntimeEnableCB

type RuntimeEnableCB func(err error)

type RuntimeEnableCommand

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

func NewRuntimeEnableCommand

func NewRuntimeEnableCommand() *RuntimeEnableCommand

func (*RuntimeEnableCommand) Done

func (cmd *RuntimeEnableCommand) Done(data []byte, err error)

func (*RuntimeEnableCommand) Name

func (cmd *RuntimeEnableCommand) Name() string

func (*RuntimeEnableCommand) Params

func (cmd *RuntimeEnableCommand) Params() interface{}

func (*RuntimeEnableCommand) Run

func (cmd *RuntimeEnableCommand) Run(conn *hc.Conn) error

type RuntimeTimestamp

type RuntimeTimestamp float64

Number of milliseconds since epoch.

type SamplingHeapProfile

type SamplingHeapProfile struct {
	Head *SamplingHeapProfileNode `json:"head"`
}

Profile.

type SamplingHeapProfileNode

type SamplingHeapProfileNode struct {
	CallFrame *RuntimeCallFrame          `json:"callFrame"` // Function location.
	SelfSize  float64                    `json:"selfSize"`  // Allocations size in bytes for the node excluding children.
	Children  []*SamplingHeapProfileNode `json:"children"`  // Child nodes.
}

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

type Scope

type Scope struct {
	Type          string        `json:"type"`   // Scope type.
	Object        *RemoteObject `json:"object"` // Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.
	Name          string        `json:"name,omitempty"`
	StartLocation *Location     `json:"startLocation,omitempty"` // Location in the source code where scope starts
	EndLocation   *Location     `json:"endLocation,omitempty"`   // Location in the source code where scope ends
}

Scope description.

type ScreenOrientation

type ScreenOrientation struct {
	Type  string `json:"type"`  // Orientation type.
	Angle int    `json:"angle"` // Orientation angle.
}

Screen orientation.

type ScreencastFrameAckCB

type ScreencastFrameAckCB func(err error)

type ScreencastFrameAckCommand

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

Acknowledges that a screencast frame has been received by the frontend. @experimental

func NewScreencastFrameAckCommand

func NewScreencastFrameAckCommand(params *ScreencastFrameAckParams) *ScreencastFrameAckCommand

func (*ScreencastFrameAckCommand) Done

func (cmd *ScreencastFrameAckCommand) Done(data []byte, err error)

func (*ScreencastFrameAckCommand) Name

func (cmd *ScreencastFrameAckCommand) Name() string

func (*ScreencastFrameAckCommand) Params

func (cmd *ScreencastFrameAckCommand) Params() interface{}

func (*ScreencastFrameAckCommand) Run

func (cmd *ScreencastFrameAckCommand) Run(conn *hc.Conn) error

type ScreencastFrameAckParams

type ScreencastFrameAckParams struct {
	SessionId int `json:"sessionId"` // Frame number.
}

type ScreencastFrameEvent

type ScreencastFrameEvent struct {
	Data      string                   `json:"data"`      // Base64-encoded compressed image.
	Metadata  *ScreencastFrameMetadata `json:"metadata"`  // Screencast frame metadata.
	SessionId int                      `json:"sessionId"` // Frame number.
}

Compressed image data requested by the startScreencast. @experimental

type ScreencastFrameMetadata

type ScreencastFrameMetadata struct {
	OffsetTop       float64 `json:"offsetTop"`           // Top offset in DIP.
	PageScaleFactor float64 `json:"pageScaleFactor"`     // Page scale factor.
	DeviceWidth     float64 `json:"deviceWidth"`         // Device screen width in DIP.
	DeviceHeight    float64 `json:"deviceHeight"`        // Device screen height in DIP.
	ScrollOffsetX   float64 `json:"scrollOffsetX"`       // Position of horizontal scroll in CSS pixels.
	ScrollOffsetY   float64 `json:"scrollOffsetY"`       // Position of vertical scroll in CSS pixels.
	Timestamp       float64 `json:"timestamp,omitempty"` // Frame swap timestamp.
}

Screencast frame metadata. @experimental

type ScreencastVisibilityChangedEvent

type ScreencastVisibilityChangedEvent struct {
	Visible bool `json:"visible"` // True if the page is visible.
}

Fired when the page with currently enabled screencast was shown or hidden . @experimental

type ScriptFailedToParseEvent

type ScriptFailedToParseEvent struct {
	ScriptId                *ScriptId           `json:"scriptId"`                // Identifier of the script parsed.
	Url                     string              `json:"url"`                     // URL or name of the script parsed (if any).
	StartLine               int                 `json:"startLine"`               // Line offset of the script within the resource with given URL (for script tags).
	StartColumn             int                 `json:"startColumn"`             // Column offset of the script within the resource with given URL.
	EndLine                 int                 `json:"endLine"`                 // Last line of the script.
	EndColumn               int                 `json:"endColumn"`               // Length of the last line of the script.
	ExecutionContextId      *ExecutionContextId `json:"executionContextId"`      // Specifies script creation context.
	Hash                    string              `json:"hash"`                    // Content hash of the script.
	ExecutionContextAuxData map[string]string   `json:"executionContextAuxData"` // Embedder-specific auxiliary data.
	SourceMapURL            string              `json:"sourceMapURL"`            // URL of source map associated with script (if any).
	HasSourceURL            bool                `json:"hasSourceURL"`            // True, if this script has sourceURL.
}

type ScriptId

type ScriptId string

Unique script identifier.

type ScriptIdentifier

type ScriptIdentifier string

Unique script identifier. @experimental

type ScriptParsedEvent

type ScriptParsedEvent struct {
	ScriptId                *ScriptId           `json:"scriptId"`                // Identifier of the script parsed.
	Url                     string              `json:"url"`                     // URL or name of the script parsed (if any).
	StartLine               int                 `json:"startLine"`               // Line offset of the script within the resource with given URL (for script tags).
	StartColumn             int                 `json:"startColumn"`             // Column offset of the script within the resource with given URL.
	EndLine                 int                 `json:"endLine"`                 // Last line of the script.
	EndColumn               int                 `json:"endColumn"`               // Length of the last line of the script.
	ExecutionContextId      *ExecutionContextId `json:"executionContextId"`      // Specifies script creation context.
	Hash                    string              `json:"hash"`                    // Content hash of the script.
	ExecutionContextAuxData map[string]string   `json:"executionContextAuxData"` // Embedder-specific auxiliary data.
	IsLiveEdit              bool                `json:"isLiveEdit"`              // True, if this script is generated as a result of the live edit operation.
	SourceMapURL            string              `json:"sourceMapURL"`            // URL of source map associated with script (if any).
	HasSourceURL            bool                `json:"hasSourceURL"`            // True, if this script has sourceURL.
}

type ScriptPosition

type ScriptPosition struct {
	LineNumber   int `json:"lineNumber"`
	ColumnNumber int `json:"columnNumber"`
}

Location in the source code. @experimental

type ScrollRect

type ScrollRect struct {
	Rect *Rect  `json:"rect"` // Rectangle itself.
	Type string `json:"type"` // Reason for rectangle to force scrolling on the main thread
}

Rectangle where scrolling happens on the main thread.

type SearchInContentCB

type SearchInContentCB func(result *SearchInContentResult, err error)

type SearchInContentCommand

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

Searches for given string in script content. @experimental

func NewSearchInContentCommand

func NewSearchInContentCommand(params *SearchInContentParams) *SearchInContentCommand

func (*SearchInContentCommand) Done

func (cmd *SearchInContentCommand) Done(data []byte, err error)

func (*SearchInContentCommand) Name

func (cmd *SearchInContentCommand) Name() string

func (*SearchInContentCommand) Params

func (cmd *SearchInContentCommand) Params() interface{}

func (*SearchInContentCommand) Result

func (*SearchInContentCommand) Run

func (cmd *SearchInContentCommand) Run(conn *hc.Conn) error

type SearchInContentParams

type SearchInContentParams struct {
	ScriptId      *ScriptId `json:"scriptId"`                // Id of the script to search in.
	Query         string    `json:"query"`                   // String to search for.
	CaseSensitive bool      `json:"caseSensitive,omitempty"` // If true, search is case sensitive.
	IsRegex       bool      `json:"isRegex,omitempty"`       // If true, treats string parameter as regex.
}

type SearchInContentResult

type SearchInContentResult struct {
	Result []*SearchMatch `json:"result"` // List of search matches.
}

func SearchInContent

func SearchInContent(params *SearchInContentParams, conn *hc.Conn) (result *SearchInContentResult, err error)

type SearchInResourceCB

type SearchInResourceCB func(result *SearchInResourceResult, err error)

type SearchInResourceCommand

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

Searches for given string in resource content. @experimental

func NewSearchInResourceCommand

func NewSearchInResourceCommand(params *SearchInResourceParams) *SearchInResourceCommand

func (*SearchInResourceCommand) Done

func (cmd *SearchInResourceCommand) Done(data []byte, err error)

func (*SearchInResourceCommand) Name

func (cmd *SearchInResourceCommand) Name() string

func (*SearchInResourceCommand) Params

func (cmd *SearchInResourceCommand) Params() interface{}

func (*SearchInResourceCommand) Result

func (*SearchInResourceCommand) Run

func (cmd *SearchInResourceCommand) Run(conn *hc.Conn) error

type SearchInResourceParams

type SearchInResourceParams struct {
	FrameId       FrameId `json:"frameId"`                 // Frame id for resource to search in.
	Url           string  `json:"url"`                     // URL of the resource to search in.
	Query         string  `json:"query"`                   // String to search for.
	CaseSensitive bool    `json:"caseSensitive,omitempty"` // If true, search is case sensitive.
	IsRegex       bool    `json:"isRegex,omitempty"`       // If true, treats string parameter as regex.
}

type SearchInResourceResult

type SearchInResourceResult struct {
	Result []*SearchMatch `json:"result"` // List of search matches.
}

func SearchInResource

func SearchInResource(params *SearchInResourceParams, conn *hc.Conn) (result *SearchInResourceResult, err error)

type SearchMatch

type SearchMatch struct {
	LineNumber  float64 `json:"lineNumber"`  // Line number in resource content.
	LineContent string  `json:"lineContent"` // Line with match content.
}

Search match for resource. @experimental

type SecurityDetails

type SecurityDetails struct {
	Protocol                       string                        `json:"protocol"`                       // Protocol name (e.g. "TLS 1.2" or "QUIC").
	KeyExchange                    string                        `json:"keyExchange"`                    // Key Exchange used by the connection, or the empty string if not applicable.
	KeyExchangeGroup               string                        `json:"keyExchangeGroup,omitempty"`     // (EC)DH group used by the connection, if applicable.
	Cipher                         string                        `json:"cipher"`                         // Cipher name.
	Mac                            string                        `json:"mac,omitempty"`                  // TLS MAC. Note that AEAD ciphers do not have separate MACs.
	CertificateId                  *CertificateId                `json:"certificateId"`                  // Certificate ID value.
	SubjectName                    string                        `json:"subjectName"`                    // Certificate subject name.
	SanList                        []string                      `json:"sanList"`                        // Subject Alternative Name (SAN) DNS names and IP addresses.
	Issuer                         string                        `json:"issuer"`                         // Name of the issuing CA.
	ValidFrom                      NetworkTimestamp              `json:"validFrom"`                      // Certificate valid from date.
	ValidTo                        NetworkTimestamp              `json:"validTo"`                        // Certificate valid to (expiration) date
	SignedCertificateTimestampList []*SignedCertificateTimestamp `json:"signedCertificateTimestampList"` // List of signed certificate timestamps (SCTs).
}

Security details about a request.

type SecurityDisableCB

type SecurityDisableCB func(err error)

type SecurityDisableCommand

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

func NewSecurityDisableCommand

func NewSecurityDisableCommand() *SecurityDisableCommand

func (*SecurityDisableCommand) Done

func (cmd *SecurityDisableCommand) Done(data []byte, err error)

func (*SecurityDisableCommand) Name

func (cmd *SecurityDisableCommand) Name() string

func (*SecurityDisableCommand) Params

func (cmd *SecurityDisableCommand) Params() interface{}

func (*SecurityDisableCommand) Run

func (cmd *SecurityDisableCommand) Run(conn *hc.Conn) error

type SecurityEnableCB

type SecurityEnableCB func(err error)

type SecurityEnableCommand

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

func NewSecurityEnableCommand

func NewSecurityEnableCommand() *SecurityEnableCommand

func (*SecurityEnableCommand) Done

func (cmd *SecurityEnableCommand) Done(data []byte, err error)

func (*SecurityEnableCommand) Name

func (cmd *SecurityEnableCommand) Name() string

func (*SecurityEnableCommand) Params

func (cmd *SecurityEnableCommand) Params() interface{}

func (*SecurityEnableCommand) Run

func (cmd *SecurityEnableCommand) Run(conn *hc.Conn) error

type SecurityState

type SecurityState string

The security level of a page or resource.

const SecurityStateInfo SecurityState = "info"
const SecurityStateInsecure SecurityState = "insecure"
const SecurityStateNeutral SecurityState = "neutral"
const SecurityStateSecure SecurityState = "secure"
const SecurityStateUnknown SecurityState = "unknown"
const SecurityStateWarning SecurityState = "warning"

type SecurityStateChangedEvent

type SecurityStateChangedEvent struct {
	SecurityState         SecurityState               `json:"securityState"`         // Security state.
	SchemeIsCryptographic bool                        `json:"schemeIsCryptographic"` // True if the page was loaded over cryptographic transport such as HTTPS.
	Explanations          []*SecurityStateExplanation `json:"explanations"`          // List of explanations for the security state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.
	InsecureContentStatus *InsecureContentStatus      `json:"insecureContentStatus"` // Information about insecure content on the page.
	Summary               string                      `json:"summary"`               // Overrides user-visible description of the state.
}

type SecurityStateExplanation

type SecurityStateExplanation struct {
	SecurityState  SecurityState `json:"securityState"`  // Security state representing the severity of the factor being explained.
	Summary        string        `json:"summary"`        // Short phrase describing the type of factor.
	Description    string        `json:"description"`    // Full text explanation of the factor.
	HasCertificate bool          `json:"hasCertificate"` // True if the page has a certificate.
}

An explanation of an factor contributing to the security state.

type SeekAnimationsCB

type SeekAnimationsCB func(err error)

type SeekAnimationsCommand

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

func NewSeekAnimationsCommand

func NewSeekAnimationsCommand(params *SeekAnimationsParams) *SeekAnimationsCommand

func (*SeekAnimationsCommand) Done

func (cmd *SeekAnimationsCommand) Done(data []byte, err error)

func (*SeekAnimationsCommand) Name

func (cmd *SeekAnimationsCommand) Name() string

func (*SeekAnimationsCommand) Params

func (cmd *SeekAnimationsCommand) Params() interface{}

func (*SeekAnimationsCommand) Run

func (cmd *SeekAnimationsCommand) Run(conn *hc.Conn) error

type SeekAnimationsParams

type SeekAnimationsParams struct {
	Animations  []string `json:"animations"`  // List of animation ids to seek.
	CurrentTime float64  `json:"currentTime"` // Set the current time of each animation.
}

type SelectorList

type SelectorList struct {
	Selectors []*Value `json:"selectors"` // Selectors in the list.
	Text      string   `json:"text"`      // Rule selector text.
}

Selector list data.

type SendMessageToTargetCB

type SendMessageToTargetCB func(err error)

type SendMessageToTargetCommand

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

func NewSendMessageToTargetCommand

func NewSendMessageToTargetCommand(params *SendMessageToTargetParams) *SendMessageToTargetCommand

func (*SendMessageToTargetCommand) Done

func (cmd *SendMessageToTargetCommand) Done(data []byte, err error)

func (*SendMessageToTargetCommand) Name

func (cmd *SendMessageToTargetCommand) Name() string

func (*SendMessageToTargetCommand) Params

func (cmd *SendMessageToTargetCommand) Params() interface{}

func (*SendMessageToTargetCommand) Run

func (cmd *SendMessageToTargetCommand) Run(conn *hc.Conn) error

type SendMessageToTargetParams

type SendMessageToTargetParams struct {
	TargetId string `json:"targetId"`
	Message  string `json:"message"`
}

type ServiceWorkerDisableCB

type ServiceWorkerDisableCB func(err error)

type ServiceWorkerDisableCommand

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

func NewServiceWorkerDisableCommand

func NewServiceWorkerDisableCommand() *ServiceWorkerDisableCommand

func (*ServiceWorkerDisableCommand) Done

func (cmd *ServiceWorkerDisableCommand) Done(data []byte, err error)

func (*ServiceWorkerDisableCommand) Name

func (cmd *ServiceWorkerDisableCommand) Name() string

func (*ServiceWorkerDisableCommand) Params

func (cmd *ServiceWorkerDisableCommand) Params() interface{}

func (*ServiceWorkerDisableCommand) Run

func (cmd *ServiceWorkerDisableCommand) Run(conn *hc.Conn) error

type ServiceWorkerEnableCB

type ServiceWorkerEnableCB func(err error)

type ServiceWorkerEnableCommand

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

func NewServiceWorkerEnableCommand

func NewServiceWorkerEnableCommand() *ServiceWorkerEnableCommand

func (*ServiceWorkerEnableCommand) Done

func (cmd *ServiceWorkerEnableCommand) Done(data []byte, err error)

func (*ServiceWorkerEnableCommand) Name

func (cmd *ServiceWorkerEnableCommand) Name() string

func (*ServiceWorkerEnableCommand) Params

func (cmd *ServiceWorkerEnableCommand) Params() interface{}

func (*ServiceWorkerEnableCommand) Run

func (cmd *ServiceWorkerEnableCommand) Run(conn *hc.Conn) error

type ServiceWorkerErrorMessage

type ServiceWorkerErrorMessage struct {
	ErrorMessage   string `json:"errorMessage"`
	RegistrationId string `json:"registrationId"`
	VersionId      string `json:"versionId"`
	SourceURL      string `json:"sourceURL"`
	LineNumber     int    `json:"lineNumber"`
	ColumnNumber   int    `json:"columnNumber"`
}

ServiceWorker error message.

type ServiceWorkerRegistration

type ServiceWorkerRegistration struct {
	RegistrationId string `json:"registrationId"`
	ScopeURL       string `json:"scopeURL"`
	IsDeleted      bool   `json:"isDeleted"`
}

ServiceWorker registration.

type ServiceWorkerVersion

type ServiceWorkerVersion struct {
	VersionId          string                            `json:"versionId"`
	RegistrationId     string                            `json:"registrationId"`
	ScriptURL          string                            `json:"scriptURL"`
	RunningStatus      ServiceWorkerVersionRunningStatus `json:"runningStatus"`
	Status             ServiceWorkerVersionStatus        `json:"status"`
	ScriptLastModified float64                           `json:"scriptLastModified,omitempty"` // The Last-Modified header value of the main script.
	ScriptResponseTime float64                           `json:"scriptResponseTime,omitempty"` // The time at which the response headers of the main script were received from the server.  For cached script it is the last time the cache entry was validated.
	ControlledClients  []*TargetID                       `json:"controlledClients,omitempty"`
	TargetId           *TargetID                         `json:"targetId,omitempty"`
}

ServiceWorker version.

type ServiceWorkerVersionRunningStatus

type ServiceWorkerVersionRunningStatus string
const ServiceWorkerVersionRunningStatusRunning ServiceWorkerVersionRunningStatus = "running"
const ServiceWorkerVersionRunningStatusStarting ServiceWorkerVersionRunningStatus = "starting"
const ServiceWorkerVersionRunningStatusStopped ServiceWorkerVersionRunningStatus = "stopped"
const ServiceWorkerVersionRunningStatusStopping ServiceWorkerVersionRunningStatus = "stopping"

type ServiceWorkerVersionStatus

type ServiceWorkerVersionStatus string
const ServiceWorkerVersionStatusActivated ServiceWorkerVersionStatus = "activated"
const ServiceWorkerVersionStatusActivating ServiceWorkerVersionStatus = "activating"
const ServiceWorkerVersionStatusInstalled ServiceWorkerVersionStatus = "installed"
const ServiceWorkerVersionStatusInstalling ServiceWorkerVersionStatus = "installing"
const ServiceWorkerVersionStatusNew ServiceWorkerVersionStatus = "new"
const ServiceWorkerVersionStatusRedundant ServiceWorkerVersionStatus = "redundant"

type SetAsyncCallStackDepthCB

type SetAsyncCallStackDepthCB func(err error)

type SetAsyncCallStackDepthCommand

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

func (*SetAsyncCallStackDepthCommand) Done

func (cmd *SetAsyncCallStackDepthCommand) Done(data []byte, err error)

func (*SetAsyncCallStackDepthCommand) Name

func (*SetAsyncCallStackDepthCommand) Params

func (cmd *SetAsyncCallStackDepthCommand) Params() interface{}

func (*SetAsyncCallStackDepthCommand) Run

func (cmd *SetAsyncCallStackDepthCommand) Run(conn *hc.Conn) error

type SetAsyncCallStackDepthParams

type SetAsyncCallStackDepthParams struct {
	MaxDepth int `json:"maxDepth"` // Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default).
}

type SetAttachToFramesCB

type SetAttachToFramesCB func(err error)

type SetAttachToFramesCommand

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

func NewSetAttachToFramesCommand

func NewSetAttachToFramesCommand(params *SetAttachToFramesParams) *SetAttachToFramesCommand

func (*SetAttachToFramesCommand) Done

func (cmd *SetAttachToFramesCommand) Done(data []byte, err error)

func (*SetAttachToFramesCommand) Name

func (cmd *SetAttachToFramesCommand) Name() string

func (*SetAttachToFramesCommand) Params

func (cmd *SetAttachToFramesCommand) Params() interface{}

func (*SetAttachToFramesCommand) Run

func (cmd *SetAttachToFramesCommand) Run(conn *hc.Conn) error

type SetAttachToFramesParams

type SetAttachToFramesParams struct {
	Value bool `json:"value"` // Whether to attach to frames.
}

type SetAttributeValueCB

type SetAttributeValueCB func(err error)

type SetAttributeValueCommand

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

func NewSetAttributeValueCommand

func NewSetAttributeValueCommand(params *SetAttributeValueParams) *SetAttributeValueCommand

func (*SetAttributeValueCommand) Done

func (cmd *SetAttributeValueCommand) Done(data []byte, err error)

func (*SetAttributeValueCommand) Name

func (cmd *SetAttributeValueCommand) Name() string

func (*SetAttributeValueCommand) Params

func (cmd *SetAttributeValueCommand) Params() interface{}

func (*SetAttributeValueCommand) Run

func (cmd *SetAttributeValueCommand) Run(conn *hc.Conn) error

type SetAttributeValueParams

type SetAttributeValueParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the element to set attribute for.
	Name   string `json:"name"`   // Attribute name.
	Value  string `json:"value"`  // Attribute value.
}

type SetAttributesAsTextCB

type SetAttributesAsTextCB func(err error)

type SetAttributesAsTextCommand

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

func NewSetAttributesAsTextCommand

func NewSetAttributesAsTextCommand(params *SetAttributesAsTextParams) *SetAttributesAsTextCommand

func (*SetAttributesAsTextCommand) Done

func (cmd *SetAttributesAsTextCommand) Done(data []byte, err error)

func (*SetAttributesAsTextCommand) Name

func (cmd *SetAttributesAsTextCommand) Name() string

func (*SetAttributesAsTextCommand) Params

func (cmd *SetAttributesAsTextCommand) Params() interface{}

func (*SetAttributesAsTextCommand) Run

func (cmd *SetAttributesAsTextCommand) Run(conn *hc.Conn) error

type SetAttributesAsTextParams

type SetAttributesAsTextParams struct {
	NodeId NodeId `json:"nodeId"`         // Id of the element to set attributes for.
	Text   string `json:"text"`           // Text with a number of attributes. Will parse this text using HTML parser.
	Name   string `json:"name,omitempty"` // Attribute name to replace with new attributes derived from text in case text parsed successfully.
}

type SetAutoAttachCB

type SetAutoAttachCB func(err error)

type SetAutoAttachCommand

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

func NewSetAutoAttachCommand

func NewSetAutoAttachCommand(params *SetAutoAttachParams) *SetAutoAttachCommand

func (*SetAutoAttachCommand) Done

func (cmd *SetAutoAttachCommand) Done(data []byte, err error)

func (*SetAutoAttachCommand) Name

func (cmd *SetAutoAttachCommand) Name() string

func (*SetAutoAttachCommand) Params

func (cmd *SetAutoAttachCommand) Params() interface{}

func (*SetAutoAttachCommand) Run

func (cmd *SetAutoAttachCommand) Run(conn *hc.Conn) error

type SetAutoAttachParams

type SetAutoAttachParams struct {
	AutoAttach             bool `json:"autoAttach"`             // Whether to auto-attach to related targets.
	WaitForDebuggerOnStart bool `json:"waitForDebuggerOnStart"` // Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger to run paused targets.
}

type SetAutoAttachToCreatedPagesCB

type SetAutoAttachToCreatedPagesCB func(err error)

type SetAutoAttachToCreatedPagesCommand

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

Controls whether browser will open a new inspector window for connected pages. @experimental

func (*SetAutoAttachToCreatedPagesCommand) Done

func (cmd *SetAutoAttachToCreatedPagesCommand) Done(data []byte, err error)

func (*SetAutoAttachToCreatedPagesCommand) Name

func (*SetAutoAttachToCreatedPagesCommand) Params

func (cmd *SetAutoAttachToCreatedPagesCommand) Params() interface{}

func (*SetAutoAttachToCreatedPagesCommand) Run

type SetAutoAttachToCreatedPagesParams

type SetAutoAttachToCreatedPagesParams struct {
	AutoAttach bool `json:"autoAttach"` // If true, browser will open a new inspector window for every page created from this one.
}

type SetBlackboxPatternsCB

type SetBlackboxPatternsCB func(err error)

type SetBlackboxPatternsCommand

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

Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. @experimental

func NewSetBlackboxPatternsCommand

func NewSetBlackboxPatternsCommand(params *SetBlackboxPatternsParams) *SetBlackboxPatternsCommand

func (*SetBlackboxPatternsCommand) Done

func (cmd *SetBlackboxPatternsCommand) Done(data []byte, err error)

func (*SetBlackboxPatternsCommand) Name

func (cmd *SetBlackboxPatternsCommand) Name() string

func (*SetBlackboxPatternsCommand) Params

func (cmd *SetBlackboxPatternsCommand) Params() interface{}

func (*SetBlackboxPatternsCommand) Run

func (cmd *SetBlackboxPatternsCommand) Run(conn *hc.Conn) error

type SetBlackboxPatternsParams

type SetBlackboxPatternsParams struct {
	Patterns []string `json:"patterns"` // Array of regexps that will be used to check script url for blackbox state.
}

type SetBlackboxedRangesCB

type SetBlackboxedRangesCB func(err error)

type SetBlackboxedRangesCommand

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

Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. @experimental

func NewSetBlackboxedRangesCommand

func NewSetBlackboxedRangesCommand(params *SetBlackboxedRangesParams) *SetBlackboxedRangesCommand

func (*SetBlackboxedRangesCommand) Done

func (cmd *SetBlackboxedRangesCommand) Done(data []byte, err error)

func (*SetBlackboxedRangesCommand) Name

func (cmd *SetBlackboxedRangesCommand) Name() string

func (*SetBlackboxedRangesCommand) Params

func (cmd *SetBlackboxedRangesCommand) Params() interface{}

func (*SetBlackboxedRangesCommand) Run

func (cmd *SetBlackboxedRangesCommand) Run(conn *hc.Conn) error

type SetBlackboxedRangesParams

type SetBlackboxedRangesParams struct {
	ScriptId  *ScriptId         `json:"scriptId"` // Id of the script.
	Positions []*ScriptPosition `json:"positions"`
}

type SetBreakpointByUrlCB

type SetBreakpointByUrlCB func(result *SetBreakpointByUrlResult, err error)

type SetBreakpointByUrlCommand

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

func NewSetBreakpointByUrlCommand

func NewSetBreakpointByUrlCommand(params *SetBreakpointByUrlParams) *SetBreakpointByUrlCommand

func (*SetBreakpointByUrlCommand) Done

func (cmd *SetBreakpointByUrlCommand) Done(data []byte, err error)

func (*SetBreakpointByUrlCommand) Name

func (cmd *SetBreakpointByUrlCommand) Name() string

func (*SetBreakpointByUrlCommand) Params

func (cmd *SetBreakpointByUrlCommand) Params() interface{}

func (*SetBreakpointByUrlCommand) Result

func (*SetBreakpointByUrlCommand) Run

func (cmd *SetBreakpointByUrlCommand) Run(conn *hc.Conn) error

type SetBreakpointByUrlParams

type SetBreakpointByUrlParams struct {
	LineNumber   int    `json:"lineNumber"`             // Line number to set breakpoint at.
	Url          string `json:"url,omitempty"`          // URL of the resources to set breakpoint on.
	UrlRegex     string `json:"urlRegex,omitempty"`     // Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.
	ColumnNumber int    `json:"columnNumber,omitempty"` // Offset in the line to set breakpoint at.
	Condition    string `json:"condition,omitempty"`    // Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
}

type SetBreakpointByUrlResult

type SetBreakpointByUrlResult struct {
	BreakpointId BreakpointId `json:"breakpointId"` // Id of the created breakpoint for further reference.
	Locations    []*Location  `json:"locations"`    // List of the locations this breakpoint resolved into upon addition.
}

func SetBreakpointByUrl

func SetBreakpointByUrl(params *SetBreakpointByUrlParams, conn *hc.Conn) (result *SetBreakpointByUrlResult, err error)

type SetBreakpointCB

type SetBreakpointCB func(result *SetBreakpointResult, err error)

type SetBreakpointCommand

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

func NewSetBreakpointCommand

func NewSetBreakpointCommand(params *SetBreakpointParams) *SetBreakpointCommand

func (*SetBreakpointCommand) Done

func (cmd *SetBreakpointCommand) Done(data []byte, err error)

func (*SetBreakpointCommand) Name

func (cmd *SetBreakpointCommand) Name() string

func (*SetBreakpointCommand) Params

func (cmd *SetBreakpointCommand) Params() interface{}

func (*SetBreakpointCommand) Result

func (*SetBreakpointCommand) Run

func (cmd *SetBreakpointCommand) Run(conn *hc.Conn) error

type SetBreakpointParams

type SetBreakpointParams struct {
	Location  *Location `json:"location"`            // Location to set breakpoint in.
	Condition string    `json:"condition,omitempty"` // Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
}

type SetBreakpointResult

type SetBreakpointResult struct {
	BreakpointId   BreakpointId `json:"breakpointId"`   // Id of the created breakpoint for further reference.
	ActualLocation *Location    `json:"actualLocation"` // Location this breakpoint resolved into.
}

func SetBreakpoint

func SetBreakpoint(params *SetBreakpointParams, conn *hc.Conn) (result *SetBreakpointResult, err error)

type SetBreakpointsActiveCB

type SetBreakpointsActiveCB func(err error)

type SetBreakpointsActiveCommand

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

func (*SetBreakpointsActiveCommand) Done

func (cmd *SetBreakpointsActiveCommand) Done(data []byte, err error)

func (*SetBreakpointsActiveCommand) Name

func (cmd *SetBreakpointsActiveCommand) Name() string

func (*SetBreakpointsActiveCommand) Params

func (cmd *SetBreakpointsActiveCommand) Params() interface{}

func (*SetBreakpointsActiveCommand) Run

func (cmd *SetBreakpointsActiveCommand) Run(conn *hc.Conn) error

type SetBreakpointsActiveParams

type SetBreakpointsActiveParams struct {
	Active bool `json:"active"` // New value for breakpoints active state.
}

type SetBypassServiceWorkerCB

type SetBypassServiceWorkerCB func(err error)

type SetBypassServiceWorkerCommand

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

Toggles ignoring of service worker for each request. @experimental

func (*SetBypassServiceWorkerCommand) Done

func (cmd *SetBypassServiceWorkerCommand) Done(data []byte, err error)

func (*SetBypassServiceWorkerCommand) Name

func (*SetBypassServiceWorkerCommand) Params

func (cmd *SetBypassServiceWorkerCommand) Params() interface{}

func (*SetBypassServiceWorkerCommand) Run

func (cmd *SetBypassServiceWorkerCommand) Run(conn *hc.Conn) error

type SetBypassServiceWorkerParams

type SetBypassServiceWorkerParams struct {
	Bypass bool `json:"bypass"` // Bypass service worker and load from network.
}

type SetCPUThrottlingRateCB

type SetCPUThrottlingRateCB func(err error)

type SetCPUThrottlingRateCommand

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

Enables CPU throttling to emulate slow CPUs. @experimental

func (*SetCPUThrottlingRateCommand) Done

func (cmd *SetCPUThrottlingRateCommand) Done(data []byte, err error)

func (*SetCPUThrottlingRateCommand) Name

func (cmd *SetCPUThrottlingRateCommand) Name() string

func (*SetCPUThrottlingRateCommand) Params

func (cmd *SetCPUThrottlingRateCommand) Params() interface{}

func (*SetCPUThrottlingRateCommand) Run

func (cmd *SetCPUThrottlingRateCommand) Run(conn *hc.Conn) error

type SetCPUThrottlingRateParams

type SetCPUThrottlingRateParams struct {
	Rate float64 `json:"rate"` // Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
}

type SetCacheDisabledCB

type SetCacheDisabledCB func(err error)

type SetCacheDisabledCommand

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

func NewSetCacheDisabledCommand

func NewSetCacheDisabledCommand(params *SetCacheDisabledParams) *SetCacheDisabledCommand

func (*SetCacheDisabledCommand) Done

func (cmd *SetCacheDisabledCommand) Done(data []byte, err error)

func (*SetCacheDisabledCommand) Name

func (cmd *SetCacheDisabledCommand) Name() string

func (*SetCacheDisabledCommand) Params

func (cmd *SetCacheDisabledCommand) Params() interface{}

func (*SetCacheDisabledCommand) Run

func (cmd *SetCacheDisabledCommand) Run(conn *hc.Conn) error

type SetCacheDisabledParams

type SetCacheDisabledParams struct {
	CacheDisabled bool `json:"cacheDisabled"` // Cache disabled state.
}

type SetChildNodesEvent

type SetChildNodesEvent struct {
	ParentId NodeId  `json:"parentId"` // Parent node id to populate with children.
	Nodes    []*Node `json:"nodes"`    // Child nodes array.
}

type SetColorPickerEnabledCB

type SetColorPickerEnabledCB func(err error)

type SetColorPickerEnabledCommand

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

Shows / hides color picker @experimental

func (*SetColorPickerEnabledCommand) Done

func (cmd *SetColorPickerEnabledCommand) Done(data []byte, err error)

func (*SetColorPickerEnabledCommand) Name

func (*SetColorPickerEnabledCommand) Params

func (cmd *SetColorPickerEnabledCommand) Params() interface{}

func (*SetColorPickerEnabledCommand) Run

func (cmd *SetColorPickerEnabledCommand) Run(conn *hc.Conn) error

type SetColorPickerEnabledParams

type SetColorPickerEnabledParams struct {
	Enabled bool `json:"enabled"` // Shows / hides color picker
}

type SetControlNavigationsCB

type SetControlNavigationsCB func(err error)

type SetControlNavigationsCommand

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

Toggles navigation throttling which allows programatic control over navigation and redirect response. @experimental

func (*SetControlNavigationsCommand) Done

func (cmd *SetControlNavigationsCommand) Done(data []byte, err error)

func (*SetControlNavigationsCommand) Name

func (*SetControlNavigationsCommand) Params

func (cmd *SetControlNavigationsCommand) Params() interface{}

func (*SetControlNavigationsCommand) Run

func (cmd *SetControlNavigationsCommand) Run(conn *hc.Conn) error

type SetControlNavigationsParams

type SetControlNavigationsParams struct {
	Enabled bool `json:"enabled"`
}

type SetCookieCB

type SetCookieCB func(result *SetCookieResult, err error)

type SetCookieCommand

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

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. @experimental

func NewSetCookieCommand

func NewSetCookieCommand(params *SetCookieParams) *SetCookieCommand

func (*SetCookieCommand) Done

func (cmd *SetCookieCommand) Done(data []byte, err error)

func (*SetCookieCommand) Name

func (cmd *SetCookieCommand) Name() string

func (*SetCookieCommand) Params

func (cmd *SetCookieCommand) Params() interface{}

func (*SetCookieCommand) Result

func (cmd *SetCookieCommand) Result() *SetCookieResult

func (*SetCookieCommand) Run

func (cmd *SetCookieCommand) Run(conn *hc.Conn) error

type SetCookieParams

type SetCookieParams struct {
	Url            string           `json:"url"`                      // The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.
	Name           string           `json:"name"`                     // The name of the cookie.
	Value          string           `json:"value"`                    // The value of the cookie.
	Domain         string           `json:"domain,omitempty"`         // If omitted, the cookie becomes a host-only cookie.
	Path           string           `json:"path,omitempty"`           // Defaults to the path portion of the url parameter.
	Secure         bool             `json:"secure,omitempty"`         // Defaults ot false.
	HttpOnly       bool             `json:"httpOnly,omitempty"`       // Defaults to false.
	SameSite       CookieSameSite   `json:"sameSite,omitempty"`       // Defaults to browser default behavior.
	ExpirationDate NetworkTimestamp `json:"expirationDate,omitempty"` // If omitted, the cookie becomes a session cookie.
}

type SetCookieResult

type SetCookieResult struct {
	Success bool `json:"success"` // True if successfully set cookie.
}

func SetCookie

func SetCookie(params *SetCookieParams, conn *hc.Conn) (result *SetCookieResult, err error)

type SetCustomObjectFormatterEnabledCB

type SetCustomObjectFormatterEnabledCB func(err error)

type SetCustomObjectFormatterEnabledCommand

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

@experimental

func (*SetCustomObjectFormatterEnabledCommand) Done

func (cmd *SetCustomObjectFormatterEnabledCommand) Done(data []byte, err error)

func (*SetCustomObjectFormatterEnabledCommand) Name

func (*SetCustomObjectFormatterEnabledCommand) Params

func (cmd *SetCustomObjectFormatterEnabledCommand) Params() interface{}

func (*SetCustomObjectFormatterEnabledCommand) Run

type SetCustomObjectFormatterEnabledParams

type SetCustomObjectFormatterEnabledParams struct {
	Enabled bool `json:"enabled"`
}

type SetDOMBreakpointCB

type SetDOMBreakpointCB func(err error)

type SetDOMBreakpointCommand

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

func NewSetDOMBreakpointCommand

func NewSetDOMBreakpointCommand(params *SetDOMBreakpointParams) *SetDOMBreakpointCommand

func (*SetDOMBreakpointCommand) Done

func (cmd *SetDOMBreakpointCommand) Done(data []byte, err error)

func (*SetDOMBreakpointCommand) Name

func (cmd *SetDOMBreakpointCommand) Name() string

func (*SetDOMBreakpointCommand) Params

func (cmd *SetDOMBreakpointCommand) Params() interface{}

func (*SetDOMBreakpointCommand) Run

func (cmd *SetDOMBreakpointCommand) Run(conn *hc.Conn) error

type SetDOMBreakpointParams

type SetDOMBreakpointParams struct {
	NodeId *NodeId           `json:"nodeId"` // Identifier of the node to set breakpoint on.
	Type   DOMBreakpointType `json:"type"`   // Type of the operation to stop upon.
}

type SetDOMStorageItemCB

type SetDOMStorageItemCB func(err error)

type SetDOMStorageItemCommand

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

func NewSetDOMStorageItemCommand

func NewSetDOMStorageItemCommand(params *SetDOMStorageItemParams) *SetDOMStorageItemCommand

func (*SetDOMStorageItemCommand) Done

func (cmd *SetDOMStorageItemCommand) Done(data []byte, err error)

func (*SetDOMStorageItemCommand) Name

func (cmd *SetDOMStorageItemCommand) Name() string

func (*SetDOMStorageItemCommand) Params

func (cmd *SetDOMStorageItemCommand) Params() interface{}

func (*SetDOMStorageItemCommand) Run

func (cmd *SetDOMStorageItemCommand) Run(conn *hc.Conn) error

type SetDOMStorageItemParams

type SetDOMStorageItemParams struct {
	StorageId *StorageId `json:"storageId"`
	Key       string     `json:"key"`
	Value     string     `json:"value"`
}

type SetDataSizeLimitsForTestCB

type SetDataSizeLimitsForTestCB func(err error)

type SetDataSizeLimitsForTestCommand

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

For testing. @experimental

func (*SetDataSizeLimitsForTestCommand) Done

func (cmd *SetDataSizeLimitsForTestCommand) Done(data []byte, err error)

func (*SetDataSizeLimitsForTestCommand) Name

func (*SetDataSizeLimitsForTestCommand) Params

func (cmd *SetDataSizeLimitsForTestCommand) Params() interface{}

func (*SetDataSizeLimitsForTestCommand) Run

func (cmd *SetDataSizeLimitsForTestCommand) Run(conn *hc.Conn) error

type SetDataSizeLimitsForTestParams

type SetDataSizeLimitsForTestParams struct {
	MaxTotalSize    int `json:"maxTotalSize"`    // Maximum total buffer size.
	MaxResourceSize int `json:"maxResourceSize"` // Maximum per-resource size.
}

type SetDiscoverTargetsCB

type SetDiscoverTargetsCB func(err error)

type SetDiscoverTargetsCommand

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

func NewSetDiscoverTargetsCommand

func NewSetDiscoverTargetsCommand(params *SetDiscoverTargetsParams) *SetDiscoverTargetsCommand

func (*SetDiscoverTargetsCommand) Done

func (cmd *SetDiscoverTargetsCommand) Done(data []byte, err error)

func (*SetDiscoverTargetsCommand) Name

func (cmd *SetDiscoverTargetsCommand) Name() string

func (*SetDiscoverTargetsCommand) Params

func (cmd *SetDiscoverTargetsCommand) Params() interface{}

func (*SetDiscoverTargetsCommand) Run

func (cmd *SetDiscoverTargetsCommand) Run(conn *hc.Conn) error

type SetDiscoverTargetsParams

type SetDiscoverTargetsParams struct {
	Discover bool `json:"discover"` // Whether to discover available targets.
}

type SetDocumentContentCB

type SetDocumentContentCB func(err error)

type SetDocumentContentCommand

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

Sets given markup as the document's HTML. @experimental

func NewSetDocumentContentCommand

func NewSetDocumentContentCommand(params *SetDocumentContentParams) *SetDocumentContentCommand

func (*SetDocumentContentCommand) Done

func (cmd *SetDocumentContentCommand) Done(data []byte, err error)

func (*SetDocumentContentCommand) Name

func (cmd *SetDocumentContentCommand) Name() string

func (*SetDocumentContentCommand) Params

func (cmd *SetDocumentContentCommand) Params() interface{}

func (*SetDocumentContentCommand) Run

func (cmd *SetDocumentContentCommand) Run(conn *hc.Conn) error

type SetDocumentContentParams

type SetDocumentContentParams struct {
	FrameId FrameId `json:"frameId"` // Frame id to set HTML for.
	Html    string  `json:"html"`    // HTML content to set.
}

type SetEffectivePropertyValueForNodeCB

type SetEffectivePropertyValueForNodeCB func(err error)

type SetEffectivePropertyValueForNodeCommand

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

Find a rule with the given active property for the given node and set the new value for this property @experimental

func (*SetEffectivePropertyValueForNodeCommand) Done

func (cmd *SetEffectivePropertyValueForNodeCommand) Done(data []byte, err error)

func (*SetEffectivePropertyValueForNodeCommand) Name

func (*SetEffectivePropertyValueForNodeCommand) Params

func (cmd *SetEffectivePropertyValueForNodeCommand) Params() interface{}

func (*SetEffectivePropertyValueForNodeCommand) Run

type SetEffectivePropertyValueForNodeParams

type SetEffectivePropertyValueForNodeParams struct {
	NodeId       *NodeId `json:"nodeId"` // The element id for which to set property.
	PropertyName string  `json:"propertyName"`
	Value        string  `json:"value"`
}

type SetEmulatedMediaCB

type SetEmulatedMediaCB func(err error)

type SetEmulatedMediaCommand

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

func NewSetEmulatedMediaCommand

func NewSetEmulatedMediaCommand(params *SetEmulatedMediaParams) *SetEmulatedMediaCommand

func (*SetEmulatedMediaCommand) Done

func (cmd *SetEmulatedMediaCommand) Done(data []byte, err error)

func (*SetEmulatedMediaCommand) Name

func (cmd *SetEmulatedMediaCommand) Name() string

func (*SetEmulatedMediaCommand) Params

func (cmd *SetEmulatedMediaCommand) Params() interface{}

func (*SetEmulatedMediaCommand) Run

func (cmd *SetEmulatedMediaCommand) Run(conn *hc.Conn) error

type SetEmulatedMediaParams

type SetEmulatedMediaParams struct {
	Media string `json:"media"` // Media type to emulate. Empty string disables the override.
}

type SetEventListenerBreakpointCB

type SetEventListenerBreakpointCB func(err error)

type SetEventListenerBreakpointCommand

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

func (*SetEventListenerBreakpointCommand) Done

func (cmd *SetEventListenerBreakpointCommand) Done(data []byte, err error)

func (*SetEventListenerBreakpointCommand) Name

func (*SetEventListenerBreakpointCommand) Params

func (cmd *SetEventListenerBreakpointCommand) Params() interface{}

func (*SetEventListenerBreakpointCommand) Run

type SetEventListenerBreakpointParams

type SetEventListenerBreakpointParams struct {
	EventName  string `json:"eventName"`            // DOM Event name to stop on (any DOM event will do).
	TargetName string `json:"targetName,omitempty"` // EventTarget interface name to stop on. If equal to "*" or not provided, will stop on any EventTarget.
}

type SetExtraHTTPHeadersCB

type SetExtraHTTPHeadersCB func(err error)

type SetExtraHTTPHeadersCommand

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

func NewSetExtraHTTPHeadersCommand

func NewSetExtraHTTPHeadersCommand(params *SetExtraHTTPHeadersParams) *SetExtraHTTPHeadersCommand

func (*SetExtraHTTPHeadersCommand) Done

func (cmd *SetExtraHTTPHeadersCommand) Done(data []byte, err error)

func (*SetExtraHTTPHeadersCommand) Name

func (cmd *SetExtraHTTPHeadersCommand) Name() string

func (*SetExtraHTTPHeadersCommand) Params

func (cmd *SetExtraHTTPHeadersCommand) Params() interface{}

func (*SetExtraHTTPHeadersCommand) Run

func (cmd *SetExtraHTTPHeadersCommand) Run(conn *hc.Conn) error

type SetExtraHTTPHeadersParams

type SetExtraHTTPHeadersParams struct {
	Headers *Headers `json:"headers"` // Map with extra HTTP headers.
}

type SetFileInputFilesCB

type SetFileInputFilesCB func(err error)

type SetFileInputFilesCommand

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

Sets files for the given file input element. @experimental

func NewSetFileInputFilesCommand

func NewSetFileInputFilesCommand(params *SetFileInputFilesParams) *SetFileInputFilesCommand

func (*SetFileInputFilesCommand) Done

func (cmd *SetFileInputFilesCommand) Done(data []byte, err error)

func (*SetFileInputFilesCommand) Name

func (cmd *SetFileInputFilesCommand) Name() string

func (*SetFileInputFilesCommand) Params

func (cmd *SetFileInputFilesCommand) Params() interface{}

func (*SetFileInputFilesCommand) Run

func (cmd *SetFileInputFilesCommand) Run(conn *hc.Conn) error

type SetFileInputFilesParams

type SetFileInputFilesParams struct {
	NodeId NodeId   `json:"nodeId"` // Id of the file input node to set files for.
	Files  []string `json:"files"`  // Array of file paths to set.
}

type SetForceUpdateOnPageLoadCB

type SetForceUpdateOnPageLoadCB func(err error)

type SetForceUpdateOnPageLoadCommand

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

func (*SetForceUpdateOnPageLoadCommand) Done

func (cmd *SetForceUpdateOnPageLoadCommand) Done(data []byte, err error)

func (*SetForceUpdateOnPageLoadCommand) Name

func (*SetForceUpdateOnPageLoadCommand) Params

func (cmd *SetForceUpdateOnPageLoadCommand) Params() interface{}

func (*SetForceUpdateOnPageLoadCommand) Run

func (cmd *SetForceUpdateOnPageLoadCommand) Run(conn *hc.Conn) error

type SetForceUpdateOnPageLoadParams

type SetForceUpdateOnPageLoadParams struct {
	ForceUpdateOnPageLoad bool `json:"forceUpdateOnPageLoad"`
}

type SetInspectModeCB

type SetInspectModeCB func(err error)

type SetInspectModeCommand

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

Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection. @experimental

func NewSetInspectModeCommand

func NewSetInspectModeCommand(params *SetInspectModeParams) *SetInspectModeCommand

func (*SetInspectModeCommand) Done

func (cmd *SetInspectModeCommand) Done(data []byte, err error)

func (*SetInspectModeCommand) Name

func (cmd *SetInspectModeCommand) Name() string

func (*SetInspectModeCommand) Params

func (cmd *SetInspectModeCommand) Params() interface{}

func (*SetInspectModeCommand) Run

func (cmd *SetInspectModeCommand) Run(conn *hc.Conn) error

type SetInspectModeParams

type SetInspectModeParams struct {
	Mode            InspectMode      `json:"mode"`                      // Set an inspection mode.
	HighlightConfig *HighlightConfig `json:"highlightConfig,omitempty"` // A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false.
}

type SetInspectedNodeCB

type SetInspectedNodeCB func(err error)

type SetInspectedNodeCommand

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

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). @experimental

func NewSetInspectedNodeCommand

func NewSetInspectedNodeCommand(params *SetInspectedNodeParams) *SetInspectedNodeCommand

func (*SetInspectedNodeCommand) Done

func (cmd *SetInspectedNodeCommand) Done(data []byte, err error)

func (*SetInspectedNodeCommand) Name

func (cmd *SetInspectedNodeCommand) Name() string

func (*SetInspectedNodeCommand) Params

func (cmd *SetInspectedNodeCommand) Params() interface{}

func (*SetInspectedNodeCommand) Run

func (cmd *SetInspectedNodeCommand) Run(conn *hc.Conn) error

type SetInspectedNodeParams

type SetInspectedNodeParams struct {
	NodeId NodeId `json:"nodeId"` // DOM node id to be accessible by means of $x command line API.
}

type SetInstrumentationBreakpointCB

type SetInstrumentationBreakpointCB func(err error)

type SetInstrumentationBreakpointCommand

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

Sets breakpoint on particular native event. @experimental

func (*SetInstrumentationBreakpointCommand) Done

func (cmd *SetInstrumentationBreakpointCommand) Done(data []byte, err error)

func (*SetInstrumentationBreakpointCommand) Name

func (*SetInstrumentationBreakpointCommand) Params

func (cmd *SetInstrumentationBreakpointCommand) Params() interface{}

func (*SetInstrumentationBreakpointCommand) Run

type SetInstrumentationBreakpointParams

type SetInstrumentationBreakpointParams struct {
	EventName string `json:"eventName"` // Instrumentation name to stop on.
}

type SetKeyframeKeyCB

type SetKeyframeKeyCB func(result *SetKeyframeKeyResult, err error)

type SetKeyframeKeyCommand

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

func NewSetKeyframeKeyCommand

func NewSetKeyframeKeyCommand(params *SetKeyframeKeyParams) *SetKeyframeKeyCommand

func (*SetKeyframeKeyCommand) Done

func (cmd *SetKeyframeKeyCommand) Done(data []byte, err error)

func (*SetKeyframeKeyCommand) Name

func (cmd *SetKeyframeKeyCommand) Name() string

func (*SetKeyframeKeyCommand) Params

func (cmd *SetKeyframeKeyCommand) Params() interface{}

func (*SetKeyframeKeyCommand) Result

func (*SetKeyframeKeyCommand) Run

func (cmd *SetKeyframeKeyCommand) Run(conn *hc.Conn) error

type SetKeyframeKeyParams

type SetKeyframeKeyParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
	Range        *SourceRange `json:"range"`
	KeyText      string       `json:"keyText"`
}

type SetKeyframeKeyResult

type SetKeyframeKeyResult struct {
	KeyText *Value `json:"keyText"` // The resulting key text after modification.
}

func SetKeyframeKey

func SetKeyframeKey(params *SetKeyframeKeyParams, conn *hc.Conn) (result *SetKeyframeKeyResult, err error)

type SetMediaTextCB

type SetMediaTextCB func(result *SetMediaTextResult, err error)

type SetMediaTextCommand

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

func NewSetMediaTextCommand

func NewSetMediaTextCommand(params *SetMediaTextParams) *SetMediaTextCommand

func (*SetMediaTextCommand) Done

func (cmd *SetMediaTextCommand) Done(data []byte, err error)

func (*SetMediaTextCommand) Name

func (cmd *SetMediaTextCommand) Name() string

func (*SetMediaTextCommand) Params

func (cmd *SetMediaTextCommand) Params() interface{}

func (*SetMediaTextCommand) Result

func (cmd *SetMediaTextCommand) Result() *SetMediaTextResult

func (*SetMediaTextCommand) Run

func (cmd *SetMediaTextCommand) Run(conn *hc.Conn) error

type SetMediaTextParams

type SetMediaTextParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
	Range        *SourceRange `json:"range"`
	Text         string       `json:"text"`
}

type SetMediaTextResult

type SetMediaTextResult struct {
	Media *CSSMedia `json:"media"` // The resulting CSS media rule after modification.
}

func SetMediaText

func SetMediaText(params *SetMediaTextParams, conn *hc.Conn) (result *SetMediaTextResult, err error)

type SetMonitoringXHREnabledCB

type SetMonitoringXHREnabledCB func(err error)

type SetMonitoringXHREnabledCommand

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

Toggles monitoring of XMLHttpRequest. If true, console will receive messages upon each XHR issued. @experimental

func (*SetMonitoringXHREnabledCommand) Done

func (cmd *SetMonitoringXHREnabledCommand) Done(data []byte, err error)

func (*SetMonitoringXHREnabledCommand) Name

func (*SetMonitoringXHREnabledCommand) Params

func (cmd *SetMonitoringXHREnabledCommand) Params() interface{}

func (*SetMonitoringXHREnabledCommand) Run

func (cmd *SetMonitoringXHREnabledCommand) Run(conn *hc.Conn) error

type SetMonitoringXHREnabledParams

type SetMonitoringXHREnabledParams struct {
	Enabled bool `json:"enabled"` // Monitoring enabled state.
}

type SetNodeNameCB

type SetNodeNameCB func(result *SetNodeNameResult, err error)

type SetNodeNameCommand

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

func NewSetNodeNameCommand

func NewSetNodeNameCommand(params *SetNodeNameParams) *SetNodeNameCommand

func (*SetNodeNameCommand) Done

func (cmd *SetNodeNameCommand) Done(data []byte, err error)

func (*SetNodeNameCommand) Name

func (cmd *SetNodeNameCommand) Name() string

func (*SetNodeNameCommand) Params

func (cmd *SetNodeNameCommand) Params() interface{}

func (*SetNodeNameCommand) Result

func (cmd *SetNodeNameCommand) Result() *SetNodeNameResult

func (*SetNodeNameCommand) Run

func (cmd *SetNodeNameCommand) Run(conn *hc.Conn) error

type SetNodeNameParams

type SetNodeNameParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to set name for.
	Name   string `json:"name"`   // New node's name.
}

type SetNodeNameResult

type SetNodeNameResult struct {
	NodeId NodeId `json:"nodeId"` // New node's id.
}

func SetNodeName

func SetNodeName(params *SetNodeNameParams, conn *hc.Conn) (result *SetNodeNameResult, err error)

type SetNodeValueCB

type SetNodeValueCB func(err error)

type SetNodeValueCommand

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

func NewSetNodeValueCommand

func NewSetNodeValueCommand(params *SetNodeValueParams) *SetNodeValueCommand

func (*SetNodeValueCommand) Done

func (cmd *SetNodeValueCommand) Done(data []byte, err error)

func (*SetNodeValueCommand) Name

func (cmd *SetNodeValueCommand) Name() string

func (*SetNodeValueCommand) Params

func (cmd *SetNodeValueCommand) Params() interface{}

func (*SetNodeValueCommand) Run

func (cmd *SetNodeValueCommand) Run(conn *hc.Conn) error

type SetNodeValueParams

type SetNodeValueParams struct {
	NodeId NodeId `json:"nodeId"` // Id of the node to set value for.
	Value  string `json:"value"`  // New node's value.
}

type SetOuterHTMLCB

type SetOuterHTMLCB func(err error)

type SetOuterHTMLCommand

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

func NewSetOuterHTMLCommand

func NewSetOuterHTMLCommand(params *SetOuterHTMLParams) *SetOuterHTMLCommand

func (*SetOuterHTMLCommand) Done

func (cmd *SetOuterHTMLCommand) Done(data []byte, err error)

func (*SetOuterHTMLCommand) Name

func (cmd *SetOuterHTMLCommand) Name() string

func (*SetOuterHTMLCommand) Params

func (cmd *SetOuterHTMLCommand) Params() interface{}

func (*SetOuterHTMLCommand) Run

func (cmd *SetOuterHTMLCommand) Run(conn *hc.Conn) error

type SetOuterHTMLParams

type SetOuterHTMLParams struct {
	NodeId    NodeId `json:"nodeId"`    // Id of the node to set markup for.
	OuterHTML string `json:"outerHTML"` // Outer HTML markup to set.
}

type SetPageScaleFactorCB

type SetPageScaleFactorCB func(err error)

type SetPageScaleFactorCommand

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

Sets a specified page scale factor. @experimental

func NewSetPageScaleFactorCommand

func NewSetPageScaleFactorCommand(params *SetPageScaleFactorParams) *SetPageScaleFactorCommand

func (*SetPageScaleFactorCommand) Done

func (cmd *SetPageScaleFactorCommand) Done(data []byte, err error)

func (*SetPageScaleFactorCommand) Name

func (cmd *SetPageScaleFactorCommand) Name() string

func (*SetPageScaleFactorCommand) Params

func (cmd *SetPageScaleFactorCommand) Params() interface{}

func (*SetPageScaleFactorCommand) Run

func (cmd *SetPageScaleFactorCommand) Run(conn *hc.Conn) error

type SetPageScaleFactorParams

type SetPageScaleFactorParams struct {
	PageScaleFactor float64 `json:"pageScaleFactor"` // Page scale factor.
}

type SetPauseOnExceptionsCB

type SetPauseOnExceptionsCB func(err error)

type SetPauseOnExceptionsCommand

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

func (*SetPauseOnExceptionsCommand) Done

func (cmd *SetPauseOnExceptionsCommand) Done(data []byte, err error)

func (*SetPauseOnExceptionsCommand) Name

func (cmd *SetPauseOnExceptionsCommand) Name() string

func (*SetPauseOnExceptionsCommand) Params

func (cmd *SetPauseOnExceptionsCommand) Params() interface{}

func (*SetPauseOnExceptionsCommand) Run

func (cmd *SetPauseOnExceptionsCommand) Run(conn *hc.Conn) error

type SetPauseOnExceptionsParams

type SetPauseOnExceptionsParams struct {
	State string `json:"state"` // Pause on exceptions mode.
}

type SetPausedCB

type SetPausedCB func(err error)

type SetPausedCommand

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

func NewSetPausedCommand

func NewSetPausedCommand(params *SetPausedParams) *SetPausedCommand

func (*SetPausedCommand) Done

func (cmd *SetPausedCommand) Done(data []byte, err error)

func (*SetPausedCommand) Name

func (cmd *SetPausedCommand) Name() string

func (*SetPausedCommand) Params

func (cmd *SetPausedCommand) Params() interface{}

func (*SetPausedCommand) Run

func (cmd *SetPausedCommand) Run(conn *hc.Conn) error

type SetPausedParams

type SetPausedParams struct {
	Animations []string `json:"animations"` // Animations to set the pause state of.
	Paused     bool     `json:"paused"`     // Paused state to set to.
}

type SetPlaybackRateCB

type SetPlaybackRateCB func(err error)

type SetPlaybackRateCommand

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

func NewSetPlaybackRateCommand

func NewSetPlaybackRateCommand(params *SetPlaybackRateParams) *SetPlaybackRateCommand

func (*SetPlaybackRateCommand) Done

func (cmd *SetPlaybackRateCommand) Done(data []byte, err error)

func (*SetPlaybackRateCommand) Name

func (cmd *SetPlaybackRateCommand) Name() string

func (*SetPlaybackRateCommand) Params

func (cmd *SetPlaybackRateCommand) Params() interface{}

func (*SetPlaybackRateCommand) Run

func (cmd *SetPlaybackRateCommand) Run(conn *hc.Conn) error

type SetPlaybackRateParams

type SetPlaybackRateParams struct {
	PlaybackRate float64 `json:"playbackRate"` // Playback rate for animations on page
}

type SetPressureNotificationsSuppressedCB

type SetPressureNotificationsSuppressedCB func(err error)

type SetPressureNotificationsSuppressedCommand

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

func (*SetPressureNotificationsSuppressedCommand) Done

func (cmd *SetPressureNotificationsSuppressedCommand) Done(data []byte, err error)

func (*SetPressureNotificationsSuppressedCommand) Name

func (*SetPressureNotificationsSuppressedCommand) Params

func (cmd *SetPressureNotificationsSuppressedCommand) Params() interface{}

func (*SetPressureNotificationsSuppressedCommand) Run

type SetPressureNotificationsSuppressedParams

type SetPressureNotificationsSuppressedParams struct {
	Suppressed bool `json:"suppressed"` // If true, memory pressure notifications will be suppressed.
}

type SetRemoteLocationsCB

type SetRemoteLocationsCB func(err error)

type SetRemoteLocationsCommand

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

func NewSetRemoteLocationsCommand

func NewSetRemoteLocationsCommand(params *SetRemoteLocationsParams) *SetRemoteLocationsCommand

func (*SetRemoteLocationsCommand) Done

func (cmd *SetRemoteLocationsCommand) Done(data []byte, err error)

func (*SetRemoteLocationsCommand) Name

func (cmd *SetRemoteLocationsCommand) Name() string

func (*SetRemoteLocationsCommand) Params

func (cmd *SetRemoteLocationsCommand) Params() interface{}

func (*SetRemoteLocationsCommand) Run

func (cmd *SetRemoteLocationsCommand) Run(conn *hc.Conn) error

type SetRemoteLocationsParams

type SetRemoteLocationsParams struct {
	Locations []*RemoteLocation `json:"locations"` // List of remote locations.
}

type SetRuleSelectorCB

type SetRuleSelectorCB func(result *SetRuleSelectorResult, err error)

type SetRuleSelectorCommand

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

func NewSetRuleSelectorCommand

func NewSetRuleSelectorCommand(params *SetRuleSelectorParams) *SetRuleSelectorCommand

func (*SetRuleSelectorCommand) Done

func (cmd *SetRuleSelectorCommand) Done(data []byte, err error)

func (*SetRuleSelectorCommand) Name

func (cmd *SetRuleSelectorCommand) Name() string

func (*SetRuleSelectorCommand) Params

func (cmd *SetRuleSelectorCommand) Params() interface{}

func (*SetRuleSelectorCommand) Result

func (*SetRuleSelectorCommand) Run

func (cmd *SetRuleSelectorCommand) Run(conn *hc.Conn) error

type SetRuleSelectorParams

type SetRuleSelectorParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
	Range        *SourceRange `json:"range"`
	Selector     string       `json:"selector"`
}

type SetRuleSelectorResult

type SetRuleSelectorResult struct {
	SelectorList *SelectorList `json:"selectorList"` // The resulting selector list after modification.
}

func SetRuleSelector

func SetRuleSelector(params *SetRuleSelectorParams, conn *hc.Conn) (result *SetRuleSelectorResult, err error)

type SetSamplingIntervalCB

type SetSamplingIntervalCB func(err error)

type SetSamplingIntervalCommand

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

func NewSetSamplingIntervalCommand

func NewSetSamplingIntervalCommand(params *SetSamplingIntervalParams) *SetSamplingIntervalCommand

func (*SetSamplingIntervalCommand) Done

func (cmd *SetSamplingIntervalCommand) Done(data []byte, err error)

func (*SetSamplingIntervalCommand) Name

func (cmd *SetSamplingIntervalCommand) Name() string

func (*SetSamplingIntervalCommand) Params

func (cmd *SetSamplingIntervalCommand) Params() interface{}

func (*SetSamplingIntervalCommand) Run

func (cmd *SetSamplingIntervalCommand) Run(conn *hc.Conn) error

type SetSamplingIntervalParams

type SetSamplingIntervalParams struct {
	Interval int `json:"interval"` // New sampling interval in microseconds.
}

type SetScriptExecutionDisabledCB

type SetScriptExecutionDisabledCB func(err error)

type SetScriptExecutionDisabledCommand

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

Switches script execution in the page. @experimental

func (*SetScriptExecutionDisabledCommand) Done

func (cmd *SetScriptExecutionDisabledCommand) Done(data []byte, err error)

func (*SetScriptExecutionDisabledCommand) Name

func (*SetScriptExecutionDisabledCommand) Params

func (cmd *SetScriptExecutionDisabledCommand) Params() interface{}

func (*SetScriptExecutionDisabledCommand) Run

type SetScriptExecutionDisabledParams

type SetScriptExecutionDisabledParams struct {
	Value bool `json:"value"` // Whether script execution should be disabled in the page.
}

type SetScriptSourceCB

type SetScriptSourceCB func(result *SetScriptSourceResult, err error)

type SetScriptSourceCommand

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

func NewSetScriptSourceCommand

func NewSetScriptSourceCommand(params *SetScriptSourceParams) *SetScriptSourceCommand

func (*SetScriptSourceCommand) Done

func (cmd *SetScriptSourceCommand) Done(data []byte, err error)

func (*SetScriptSourceCommand) Name

func (cmd *SetScriptSourceCommand) Name() string

func (*SetScriptSourceCommand) Params

func (cmd *SetScriptSourceCommand) Params() interface{}

func (*SetScriptSourceCommand) Result

func (*SetScriptSourceCommand) Run

func (cmd *SetScriptSourceCommand) Run(conn *hc.Conn) error

type SetScriptSourceParams

type SetScriptSourceParams struct {
	ScriptId     *ScriptId `json:"scriptId"`         // Id of the script to edit.
	ScriptSource string    `json:"scriptSource"`     // New content of the script.
	DryRun       bool      `json:"dryRun,omitempty"` //  If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
}

type SetScriptSourceResult

type SetScriptSourceResult struct {
	CallFrames       []*DebuggerCallFrame `json:"callFrames"`       // New stack trace in case editing has happened while VM was stopped.
	StackChanged     bool                 `json:"stackChanged"`     // Whether current call stack  was modified after applying the changes.
	AsyncStackTrace  *StackTrace          `json:"asyncStackTrace"`  // Async stack trace, if any.
	ExceptionDetails *ExceptionDetails    `json:"exceptionDetails"` // Exception details if any.
}

func SetScriptSource

func SetScriptSource(params *SetScriptSourceParams, conn *hc.Conn) (result *SetScriptSourceResult, err error)

type SetShowDebugBordersCB

type SetShowDebugBordersCB func(err error)

type SetShowDebugBordersCommand

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

func NewSetShowDebugBordersCommand

func NewSetShowDebugBordersCommand(params *SetShowDebugBordersParams) *SetShowDebugBordersCommand

func (*SetShowDebugBordersCommand) Done

func (cmd *SetShowDebugBordersCommand) Done(data []byte, err error)

func (*SetShowDebugBordersCommand) Name

func (cmd *SetShowDebugBordersCommand) Name() string

func (*SetShowDebugBordersCommand) Params

func (cmd *SetShowDebugBordersCommand) Params() interface{}

func (*SetShowDebugBordersCommand) Run

func (cmd *SetShowDebugBordersCommand) Run(conn *hc.Conn) error

type SetShowDebugBordersParams

type SetShowDebugBordersParams struct {
	Show bool `json:"show"` // True for showing debug borders
}

type SetShowFPSCounterCB

type SetShowFPSCounterCB func(err error)

type SetShowFPSCounterCommand

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

func NewSetShowFPSCounterCommand

func NewSetShowFPSCounterCommand(params *SetShowFPSCounterParams) *SetShowFPSCounterCommand

func (*SetShowFPSCounterCommand) Done

func (cmd *SetShowFPSCounterCommand) Done(data []byte, err error)

func (*SetShowFPSCounterCommand) Name

func (cmd *SetShowFPSCounterCommand) Name() string

func (*SetShowFPSCounterCommand) Params

func (cmd *SetShowFPSCounterCommand) Params() interface{}

func (*SetShowFPSCounterCommand) Run

func (cmd *SetShowFPSCounterCommand) Run(conn *hc.Conn) error

type SetShowFPSCounterParams

type SetShowFPSCounterParams struct {
	Show bool `json:"show"` // True for showing the FPS counter
}

type SetShowPaintRectsCB

type SetShowPaintRectsCB func(err error)

type SetShowPaintRectsCommand

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

func NewSetShowPaintRectsCommand

func NewSetShowPaintRectsCommand(params *SetShowPaintRectsParams) *SetShowPaintRectsCommand

func (*SetShowPaintRectsCommand) Done

func (cmd *SetShowPaintRectsCommand) Done(data []byte, err error)

func (*SetShowPaintRectsCommand) Name

func (cmd *SetShowPaintRectsCommand) Name() string

func (*SetShowPaintRectsCommand) Params

func (cmd *SetShowPaintRectsCommand) Params() interface{}

func (*SetShowPaintRectsCommand) Run

func (cmd *SetShowPaintRectsCommand) Run(conn *hc.Conn) error

type SetShowPaintRectsParams

type SetShowPaintRectsParams struct {
	Result bool `json:"result"` // True for showing paint rectangles
}

type SetShowScrollBottleneckRectsCB

type SetShowScrollBottleneckRectsCB func(err error)

type SetShowScrollBottleneckRectsCommand

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

func (*SetShowScrollBottleneckRectsCommand) Done

func (cmd *SetShowScrollBottleneckRectsCommand) Done(data []byte, err error)

func (*SetShowScrollBottleneckRectsCommand) Name

func (*SetShowScrollBottleneckRectsCommand) Params

func (cmd *SetShowScrollBottleneckRectsCommand) Params() interface{}

func (*SetShowScrollBottleneckRectsCommand) Run

type SetShowScrollBottleneckRectsParams

type SetShowScrollBottleneckRectsParams struct {
	Show bool `json:"show"` // True for showing scroll bottleneck rects
}

type SetShowViewportSizeOnResizeCB

type SetShowViewportSizeOnResizeCB func(err error)

type SetShowViewportSizeOnResizeCommand

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

func (*SetShowViewportSizeOnResizeCommand) Done

func (cmd *SetShowViewportSizeOnResizeCommand) Done(data []byte, err error)

func (*SetShowViewportSizeOnResizeCommand) Name

func (*SetShowViewportSizeOnResizeCommand) Params

func (cmd *SetShowViewportSizeOnResizeCommand) Params() interface{}

func (*SetShowViewportSizeOnResizeCommand) Run

type SetShowViewportSizeOnResizeParams

type SetShowViewportSizeOnResizeParams struct {
	Show bool `json:"show"` // Whether to paint size or not.
}

type SetSkipAllPausesCB

type SetSkipAllPausesCB func(err error)

type SetSkipAllPausesCommand

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

func NewSetSkipAllPausesCommand

func NewSetSkipAllPausesCommand(params *SetSkipAllPausesParams) *SetSkipAllPausesCommand

func (*SetSkipAllPausesCommand) Done

func (cmd *SetSkipAllPausesCommand) Done(data []byte, err error)

func (*SetSkipAllPausesCommand) Name

func (cmd *SetSkipAllPausesCommand) Name() string

func (*SetSkipAllPausesCommand) Params

func (cmd *SetSkipAllPausesCommand) Params() interface{}

func (*SetSkipAllPausesCommand) Run

func (cmd *SetSkipAllPausesCommand) Run(conn *hc.Conn) error

type SetSkipAllPausesParams

type SetSkipAllPausesParams struct {
	Skip bool `json:"skip"` // New value for skip pauses state.
}

type SetStyleSheetTextCB

type SetStyleSheetTextCB func(result *SetStyleSheetTextResult, err error)

type SetStyleSheetTextCommand

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

func NewSetStyleSheetTextCommand

func NewSetStyleSheetTextCommand(params *SetStyleSheetTextParams) *SetStyleSheetTextCommand

func (*SetStyleSheetTextCommand) Done

func (cmd *SetStyleSheetTextCommand) Done(data []byte, err error)

func (*SetStyleSheetTextCommand) Name

func (cmd *SetStyleSheetTextCommand) Name() string

func (*SetStyleSheetTextCommand) Params

func (cmd *SetStyleSheetTextCommand) Params() interface{}

func (*SetStyleSheetTextCommand) Result

func (*SetStyleSheetTextCommand) Run

func (cmd *SetStyleSheetTextCommand) Run(conn *hc.Conn) error

type SetStyleSheetTextParams

type SetStyleSheetTextParams struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
	Text         string       `json:"text"`
}

type SetStyleSheetTextResult

type SetStyleSheetTextResult struct {
	SourceMapURL string `json:"sourceMapURL"` // URL of source map associated with script (if any).
}

func SetStyleSheetText

func SetStyleSheetText(params *SetStyleSheetTextParams, conn *hc.Conn) (result *SetStyleSheetTextResult, err error)

type SetStyleTextsCB

type SetStyleTextsCB func(result *SetStyleTextsResult, err error)

type SetStyleTextsCommand

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

func NewSetStyleTextsCommand

func NewSetStyleTextsCommand(params *SetStyleTextsParams) *SetStyleTextsCommand

func (*SetStyleTextsCommand) Done

func (cmd *SetStyleTextsCommand) Done(data []byte, err error)

func (*SetStyleTextsCommand) Name

func (cmd *SetStyleTextsCommand) Name() string

func (*SetStyleTextsCommand) Params

func (cmd *SetStyleTextsCommand) Params() interface{}

func (*SetStyleTextsCommand) Result

func (*SetStyleTextsCommand) Run

func (cmd *SetStyleTextsCommand) Run(conn *hc.Conn) error

type SetStyleTextsParams

type SetStyleTextsParams struct {
	Edits []*StyleDeclarationEdit `json:"edits"`
}

type SetStyleTextsResult

type SetStyleTextsResult struct {
	Styles []*CSSStyle `json:"styles"` // The resulting styles after modification.
}

func SetStyleTexts

func SetStyleTexts(params *SetStyleTextsParams, conn *hc.Conn) (result *SetStyleTextsResult, err error)

type SetTimingCB

type SetTimingCB func(err error)

type SetTimingCommand

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

func NewSetTimingCommand

func NewSetTimingCommand(params *SetTimingParams) *SetTimingCommand

func (*SetTimingCommand) Done

func (cmd *SetTimingCommand) Done(data []byte, err error)

func (*SetTimingCommand) Name

func (cmd *SetTimingCommand) Name() string

func (*SetTimingCommand) Params

func (cmd *SetTimingCommand) Params() interface{}

func (*SetTimingCommand) Run

func (cmd *SetTimingCommand) Run(conn *hc.Conn) error

type SetTimingParams

type SetTimingParams struct {
	AnimationId string  `json:"animationId"` // Animation id.
	Duration    float64 `json:"duration"`    // Duration of the animation.
	Delay       float64 `json:"delay"`       // Delay of the animation.
}

type SetUserAgentOverrideCB

type SetUserAgentOverrideCB func(err error)

type SetUserAgentOverrideCommand

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

func (*SetUserAgentOverrideCommand) Done

func (cmd *SetUserAgentOverrideCommand) Done(data []byte, err error)

func (*SetUserAgentOverrideCommand) Name

func (cmd *SetUserAgentOverrideCommand) Name() string

func (*SetUserAgentOverrideCommand) Params

func (cmd *SetUserAgentOverrideCommand) Params() interface{}

func (*SetUserAgentOverrideCommand) Run

func (cmd *SetUserAgentOverrideCommand) Run(conn *hc.Conn) error

type SetUserAgentOverrideParams

type SetUserAgentOverrideParams struct {
	UserAgent string `json:"userAgent"` // User agent to use.
}

type SetVariableValueCB

type SetVariableValueCB func(err error)

type SetVariableValueCommand

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

func NewSetVariableValueCommand

func NewSetVariableValueCommand(params *SetVariableValueParams) *SetVariableValueCommand

func (*SetVariableValueCommand) Done

func (cmd *SetVariableValueCommand) Done(data []byte, err error)

func (*SetVariableValueCommand) Name

func (cmd *SetVariableValueCommand) Name() string

func (*SetVariableValueCommand) Params

func (cmd *SetVariableValueCommand) Params() interface{}

func (*SetVariableValueCommand) Run

func (cmd *SetVariableValueCommand) Run(conn *hc.Conn) error

type SetVariableValueParams

type SetVariableValueParams struct {
	ScopeNumber  int           `json:"scopeNumber"`  // 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually.
	VariableName string        `json:"variableName"` // Variable name.
	NewValue     *CallArgument `json:"newValue"`     // New variable value.
	CallFrameId  CallFrameId   `json:"callFrameId"`  // Id of callframe that holds variable.
}

type SetVirtualTimePolicyCB

type SetVirtualTimePolicyCB func(err error)

type SetVirtualTimePolicyCommand

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

Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy. Note this supersedes any previous time budget. @experimental

func (*SetVirtualTimePolicyCommand) Done

func (cmd *SetVirtualTimePolicyCommand) Done(data []byte, err error)

func (*SetVirtualTimePolicyCommand) Name

func (cmd *SetVirtualTimePolicyCommand) Name() string

func (*SetVirtualTimePolicyCommand) Params

func (cmd *SetVirtualTimePolicyCommand) Params() interface{}

func (*SetVirtualTimePolicyCommand) Run

func (cmd *SetVirtualTimePolicyCommand) Run(conn *hc.Conn) error

type SetVirtualTimePolicyParams

type SetVirtualTimePolicyParams struct {
	Policy VirtualTimePolicy `json:"policy"`
	Budget int               `json:"budget,omitempty"` // If set, after this many virtual milliseconds have elapsed virtual time will be paused and a virtualTimeBudgetExpired event is sent.
}

type SetVisibleSizeCB

type SetVisibleSizeCB func(err error)

type SetVisibleSizeCommand

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

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android. @experimental

func NewSetVisibleSizeCommand

func NewSetVisibleSizeCommand(params *SetVisibleSizeParams) *SetVisibleSizeCommand

func (*SetVisibleSizeCommand) Done

func (cmd *SetVisibleSizeCommand) Done(data []byte, err error)

func (*SetVisibleSizeCommand) Name

func (cmd *SetVisibleSizeCommand) Name() string

func (*SetVisibleSizeCommand) Params

func (cmd *SetVisibleSizeCommand) Params() interface{}

func (*SetVisibleSizeCommand) Run

func (cmd *SetVisibleSizeCommand) Run(conn *hc.Conn) error

type SetVisibleSizeParams

type SetVisibleSizeParams struct {
	Width  int `json:"width"`  // Frame width (DIP).
	Height int `json:"height"` // Frame height (DIP).
}

type SetXHRBreakpointCB

type SetXHRBreakpointCB func(err error)

type SetXHRBreakpointCommand

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

func NewSetXHRBreakpointCommand

func NewSetXHRBreakpointCommand(params *SetXHRBreakpointParams) *SetXHRBreakpointCommand

func (*SetXHRBreakpointCommand) Done

func (cmd *SetXHRBreakpointCommand) Done(data []byte, err error)

func (*SetXHRBreakpointCommand) Name

func (cmd *SetXHRBreakpointCommand) Name() string

func (*SetXHRBreakpointCommand) Params

func (cmd *SetXHRBreakpointCommand) Params() interface{}

func (*SetXHRBreakpointCommand) Run

func (cmd *SetXHRBreakpointCommand) Run(conn *hc.Conn) error

type SetXHRBreakpointParams

type SetXHRBreakpointParams struct {
	Url string `json:"url"` // Resource URL substring. All XHRs having this substring in the URL will get stopped upon.
}

type ShadowRootPoppedEvent

type ShadowRootPoppedEvent struct {
	HostId NodeId `json:"hostId"` // Host element id.
	RootId NodeId `json:"rootId"` // Shadow root id.
}

Called when shadow root is popped from the element. @experimental

type ShadowRootPushedEvent

type ShadowRootPushedEvent struct {
	HostId NodeId `json:"hostId"` // Host element id.
	Root   *Node  `json:"root"`   // Shadow root.
}

Called when shadow root is pushed into the element. @experimental

type ShadowRootType

type ShadowRootType string

Shadow root type.

const ShadowRootTypeClosed ShadowRootType = "closed"
const ShadowRootTypeOpen ShadowRootType = "open"
const ShadowRootTypeUserAgent ShadowRootType = "user-agent"

type ShapeOutsideInfo

type ShapeOutsideInfo struct {
	Bounds      Quad              `json:"bounds"`      // Shape bounds
	Shape       []json.RawMessage `json:"shape"`       // Shape coordinate details
	MarginShape []json.RawMessage `json:"marginShape"` // Margin shape bounds
}

CSS Shape Outside details. @experimental

type ShorthandEntry

type ShorthandEntry struct {
	Name      string `json:"name"`                // Shorthand name.
	Value     string `json:"value"`               // Shorthand value.
	Important bool   `json:"important,omitempty"` // Whether the property has "!important" annotation (implies false if absent).
}

type ShowCertificateViewerCB

type ShowCertificateViewerCB func(err error)

type ShowCertificateViewerCommand

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

func NewShowCertificateViewerCommand

func NewShowCertificateViewerCommand() *ShowCertificateViewerCommand

func (*ShowCertificateViewerCommand) Done

func (cmd *ShowCertificateViewerCommand) Done(data []byte, err error)

func (*ShowCertificateViewerCommand) Name

func (*ShowCertificateViewerCommand) Params

func (cmd *ShowCertificateViewerCommand) Params() interface{}

func (*ShowCertificateViewerCommand) Run

func (cmd *ShowCertificateViewerCommand) Run(conn *hc.Conn) error

type SignedCertificateTimestamp

type SignedCertificateTimestamp struct {
	Status             string           `json:"status"`             // Validation status.
	Origin             string           `json:"origin"`             // Origin.
	LogDescription     string           `json:"logDescription"`     // Log name / description.
	LogId              string           `json:"logId"`              // Log ID.
	Timestamp          NetworkTimestamp `json:"timestamp"`          // Issuance date.
	HashAlgorithm      string           `json:"hashAlgorithm"`      // Hash algorithm.
	SignatureAlgorithm string           `json:"signatureAlgorithm"` // Signature algorithm.
	SignatureData      string           `json:"signatureData"`      // Signature data.
}

Details of a signed certificate timestamp (SCT).

type SimulatePressureNotificationCB

type SimulatePressureNotificationCB func(err error)

type SimulatePressureNotificationCommand

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

func (*SimulatePressureNotificationCommand) Done

func (cmd *SimulatePressureNotificationCommand) Done(data []byte, err error)

func (*SimulatePressureNotificationCommand) Name

func (*SimulatePressureNotificationCommand) Params

func (cmd *SimulatePressureNotificationCommand) Params() interface{}

func (*SimulatePressureNotificationCommand) Run

type SimulatePressureNotificationParams

type SimulatePressureNotificationParams struct {
	Level PressureLevel `json:"level"` // Memory pressure level of the notification.
}

type SkipWaitingCB

type SkipWaitingCB func(err error)

type SkipWaitingCommand

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

func NewSkipWaitingCommand

func NewSkipWaitingCommand(params *SkipWaitingParams) *SkipWaitingCommand

func (*SkipWaitingCommand) Done

func (cmd *SkipWaitingCommand) Done(data []byte, err error)

func (*SkipWaitingCommand) Name

func (cmd *SkipWaitingCommand) Name() string

func (*SkipWaitingCommand) Params

func (cmd *SkipWaitingCommand) Params() interface{}

func (*SkipWaitingCommand) Run

func (cmd *SkipWaitingCommand) Run(conn *hc.Conn) error

type SkipWaitingParams

type SkipWaitingParams struct {
	ScopeURL string `json:"scopeURL"`
}

type SnapshotCommandLogCB

type SnapshotCommandLogCB func(result *SnapshotCommandLogResult, err error)

type SnapshotCommandLogCommand

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

func NewSnapshotCommandLogCommand

func NewSnapshotCommandLogCommand(params *SnapshotCommandLogParams) *SnapshotCommandLogCommand

func (*SnapshotCommandLogCommand) Done

func (cmd *SnapshotCommandLogCommand) Done(data []byte, err error)

func (*SnapshotCommandLogCommand) Name

func (cmd *SnapshotCommandLogCommand) Name() string

func (*SnapshotCommandLogCommand) Params

func (cmd *SnapshotCommandLogCommand) Params() interface{}

func (*SnapshotCommandLogCommand) Result

func (*SnapshotCommandLogCommand) Run

func (cmd *SnapshotCommandLogCommand) Run(conn *hc.Conn) error

type SnapshotCommandLogParams

type SnapshotCommandLogParams struct {
	SnapshotId SnapshotId `json:"snapshotId"` // The id of the layer snapshot.
}

type SnapshotCommandLogResult

type SnapshotCommandLogResult struct {
	CommandLog []map[string]string `json:"commandLog"` // The array of canvas function calls.
}

func SnapshotCommandLog

func SnapshotCommandLog(params *SnapshotCommandLogParams, conn *hc.Conn) (result *SnapshotCommandLogResult, err error)

type SnapshotId

type SnapshotId string

Unique snapshot identifier.

type SourceRange

type SourceRange struct {
	StartLine   int `json:"startLine"`   // Start line of range.
	StartColumn int `json:"startColumn"` // Start column of range (inclusive).
	EndLine     int `json:"endLine"`     // End line of range
	EndColumn   int `json:"endColumn"`   // End column of range (exclusive).
}

Text range within a resource. All numbers are zero-based.

type StackTrace

type StackTrace struct {
	Description string              `json:"description,omitempty"` // String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
	CallFrames  []*RuntimeCallFrame `json:"callFrames"`            // JavaScript function name.
	Parent      *StackTrace         `json:"parent,omitempty"`      // Asynchronous JavaScript stack trace that preceded this stack, if available.
}

Call frames for assertions or error messages.

type StartRuleUsageTrackingCB

type StartRuleUsageTrackingCB func(err error)

type StartRuleUsageTrackingCommand

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

Enables the selector recording. @experimental

func NewStartRuleUsageTrackingCommand

func NewStartRuleUsageTrackingCommand() *StartRuleUsageTrackingCommand

func (*StartRuleUsageTrackingCommand) Done

func (cmd *StartRuleUsageTrackingCommand) Done(data []byte, err error)

func (*StartRuleUsageTrackingCommand) Name

func (*StartRuleUsageTrackingCommand) Params

func (cmd *StartRuleUsageTrackingCommand) Params() interface{}

func (*StartRuleUsageTrackingCommand) Run

func (cmd *StartRuleUsageTrackingCommand) Run(conn *hc.Conn) error

type StartSamplingCB

type StartSamplingCB func(err error)

type StartSamplingCommand

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

func NewStartSamplingCommand

func NewStartSamplingCommand(params *StartSamplingParams) *StartSamplingCommand

func (*StartSamplingCommand) Done

func (cmd *StartSamplingCommand) Done(data []byte, err error)

func (*StartSamplingCommand) Name

func (cmd *StartSamplingCommand) Name() string

func (*StartSamplingCommand) Params

func (cmd *StartSamplingCommand) Params() interface{}

func (*StartSamplingCommand) Run

func (cmd *StartSamplingCommand) Run(conn *hc.Conn) error

type StartSamplingParams

type StartSamplingParams struct {
	SamplingInterval float64 `json:"samplingInterval,omitempty"` // Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
}

type StartScreencastCB

type StartScreencastCB func(err error)

type StartScreencastCommand

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

Starts sending each frame using the screencastFrame event. @experimental

func NewStartScreencastCommand

func NewStartScreencastCommand(params *StartScreencastParams) *StartScreencastCommand

func (*StartScreencastCommand) Done

func (cmd *StartScreencastCommand) Done(data []byte, err error)

func (*StartScreencastCommand) Name

func (cmd *StartScreencastCommand) Name() string

func (*StartScreencastCommand) Params

func (cmd *StartScreencastCommand) Params() interface{}

func (*StartScreencastCommand) Run

func (cmd *StartScreencastCommand) Run(conn *hc.Conn) error

type StartScreencastParams

type StartScreencastParams struct {
	Format        string `json:"format,omitempty"`        // Image compression format.
	Quality       int    `json:"quality,omitempty"`       // Compression quality from range [0..100].
	MaxWidth      int    `json:"maxWidth,omitempty"`      // Maximum screenshot width.
	MaxHeight     int    `json:"maxHeight,omitempty"`     // Maximum screenshot height.
	EveryNthFrame int    `json:"everyNthFrame,omitempty"` // Send every n-th frame.
}

type StartTrackingHeapObjectsCB

type StartTrackingHeapObjectsCB func(err error)

type StartTrackingHeapObjectsCommand

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

func (*StartTrackingHeapObjectsCommand) Done

func (cmd *StartTrackingHeapObjectsCommand) Done(data []byte, err error)

func (*StartTrackingHeapObjectsCommand) Name

func (*StartTrackingHeapObjectsCommand) Params

func (cmd *StartTrackingHeapObjectsCommand) Params() interface{}

func (*StartTrackingHeapObjectsCommand) Run

func (cmd *StartTrackingHeapObjectsCommand) Run(conn *hc.Conn) error

type StartTrackingHeapObjectsParams

type StartTrackingHeapObjectsParams struct {
	TrackAllocations bool `json:"trackAllocations,omitempty"`
}

type StartViolationsReportCB

type StartViolationsReportCB func(err error)

type StartViolationsReportCommand

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

func (*StartViolationsReportCommand) Done

func (cmd *StartViolationsReportCommand) Done(data []byte, err error)

func (*StartViolationsReportCommand) Name

func (*StartViolationsReportCommand) Params

func (cmd *StartViolationsReportCommand) Params() interface{}

func (*StartViolationsReportCommand) Run

func (cmd *StartViolationsReportCommand) Run(conn *hc.Conn) error

type StartViolationsReportParams

type StartViolationsReportParams struct {
	Config []*ViolationSetting `json:"config"` // Configuration for violations.
}

type StartWorkerCB

type StartWorkerCB func(err error)

type StartWorkerCommand

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

func NewStartWorkerCommand

func NewStartWorkerCommand(params *StartWorkerParams) *StartWorkerCommand

func (*StartWorkerCommand) Done

func (cmd *StartWorkerCommand) Done(data []byte, err error)

func (*StartWorkerCommand) Name

func (cmd *StartWorkerCommand) Name() string

func (*StartWorkerCommand) Params

func (cmd *StartWorkerCommand) Params() interface{}

func (*StartWorkerCommand) Run

func (cmd *StartWorkerCommand) Run(conn *hc.Conn) error

type StartWorkerParams

type StartWorkerParams struct {
	ScopeURL string `json:"scopeURL"`
}

type StepIntoCB

type StepIntoCB func(err error)

type StepIntoCommand

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

func NewStepIntoCommand

func NewStepIntoCommand() *StepIntoCommand

func (*StepIntoCommand) Done

func (cmd *StepIntoCommand) Done(data []byte, err error)

func (*StepIntoCommand) Name

func (cmd *StepIntoCommand) Name() string

func (*StepIntoCommand) Params

func (cmd *StepIntoCommand) Params() interface{}

func (*StepIntoCommand) Run

func (cmd *StepIntoCommand) Run(conn *hc.Conn) error

type StepOutCB

type StepOutCB func(err error)

type StepOutCommand

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

func NewStepOutCommand

func NewStepOutCommand() *StepOutCommand

func (*StepOutCommand) Done

func (cmd *StepOutCommand) Done(data []byte, err error)

func (*StepOutCommand) Name

func (cmd *StepOutCommand) Name() string

func (*StepOutCommand) Params

func (cmd *StepOutCommand) Params() interface{}

func (*StepOutCommand) Run

func (cmd *StepOutCommand) Run(conn *hc.Conn) error

type StepOverCB

type StepOverCB func(err error)

type StepOverCommand

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

func NewStepOverCommand

func NewStepOverCommand() *StepOverCommand

func (*StepOverCommand) Done

func (cmd *StepOverCommand) Done(data []byte, err error)

func (*StepOverCommand) Name

func (cmd *StepOverCommand) Name() string

func (*StepOverCommand) Params

func (cmd *StepOverCommand) Params() interface{}

func (*StepOverCommand) Run

func (cmd *StepOverCommand) Run(conn *hc.Conn) error

type StopCB

type StopCB func(result *StopResult, err error)

type StopCommand

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

func NewStopCommand

func NewStopCommand() *StopCommand

func (*StopCommand) Done

func (cmd *StopCommand) Done(data []byte, err error)

func (*StopCommand) Name

func (cmd *StopCommand) Name() string

func (*StopCommand) Params

func (cmd *StopCommand) Params() interface{}

func (*StopCommand) Result

func (cmd *StopCommand) Result() *StopResult

func (*StopCommand) Run

func (cmd *StopCommand) Run(conn *hc.Conn) error

type StopLoadingCB

type StopLoadingCB func(err error)

type StopLoadingCommand

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

Force the page stop all navigations and pending resource fetches. @experimental

func NewStopLoadingCommand

func NewStopLoadingCommand() *StopLoadingCommand

func (*StopLoadingCommand) Done

func (cmd *StopLoadingCommand) Done(data []byte, err error)

func (*StopLoadingCommand) Name

func (cmd *StopLoadingCommand) Name() string

func (*StopLoadingCommand) Params

func (cmd *StopLoadingCommand) Params() interface{}

func (*StopLoadingCommand) Run

func (cmd *StopLoadingCommand) Run(conn *hc.Conn) error

type StopResult

type StopResult struct {
	Profile *Profile `json:"profile"` // Recorded profile.
}

func Stop

func Stop(conn *hc.Conn) (result *StopResult, err error)

type StopRuleUsageTrackingCB

type StopRuleUsageTrackingCB func(result *StopRuleUsageTrackingResult, err error)

type StopRuleUsageTrackingCommand

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

The list of rules with an indication of whether these were used @experimental

func NewStopRuleUsageTrackingCommand

func NewStopRuleUsageTrackingCommand() *StopRuleUsageTrackingCommand

func (*StopRuleUsageTrackingCommand) Done

func (cmd *StopRuleUsageTrackingCommand) Done(data []byte, err error)

func (*StopRuleUsageTrackingCommand) Name

func (*StopRuleUsageTrackingCommand) Params

func (cmd *StopRuleUsageTrackingCommand) Params() interface{}

func (*StopRuleUsageTrackingCommand) Result

func (*StopRuleUsageTrackingCommand) Run

func (cmd *StopRuleUsageTrackingCommand) Run(conn *hc.Conn) error

type StopRuleUsageTrackingResult

type StopRuleUsageTrackingResult struct {
	RuleUsage []*RuleUsage `json:"ruleUsage"`
}

func StopRuleUsageTracking

func StopRuleUsageTracking(conn *hc.Conn) (result *StopRuleUsageTrackingResult, err error)

type StopSamplingCB

type StopSamplingCB func(result *StopSamplingResult, err error)

type StopSamplingCommand

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

func NewStopSamplingCommand

func NewStopSamplingCommand() *StopSamplingCommand

func (*StopSamplingCommand) Done

func (cmd *StopSamplingCommand) Done(data []byte, err error)

func (*StopSamplingCommand) Name

func (cmd *StopSamplingCommand) Name() string

func (*StopSamplingCommand) Params

func (cmd *StopSamplingCommand) Params() interface{}

func (*StopSamplingCommand) Result

func (cmd *StopSamplingCommand) Result() *StopSamplingResult

func (*StopSamplingCommand) Run

func (cmd *StopSamplingCommand) Run(conn *hc.Conn) error

type StopSamplingResult

type StopSamplingResult struct {
	Profile *SamplingHeapProfile `json:"profile"` // Recorded sampling heap profile.
}

func StopSampling

func StopSampling(conn *hc.Conn) (result *StopSamplingResult, err error)

type StopScreencastCB

type StopScreencastCB func(err error)

type StopScreencastCommand

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

Stops sending each frame in the screencastFrame. @experimental

func NewStopScreencastCommand

func NewStopScreencastCommand() *StopScreencastCommand

func (*StopScreencastCommand) Done

func (cmd *StopScreencastCommand) Done(data []byte, err error)

func (*StopScreencastCommand) Name

func (cmd *StopScreencastCommand) Name() string

func (*StopScreencastCommand) Params

func (cmd *StopScreencastCommand) Params() interface{}

func (*StopScreencastCommand) Run

func (cmd *StopScreencastCommand) Run(conn *hc.Conn) error

type StopTrackingHeapObjectsCB

type StopTrackingHeapObjectsCB func(err error)

type StopTrackingHeapObjectsCommand

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

func (*StopTrackingHeapObjectsCommand) Done

func (cmd *StopTrackingHeapObjectsCommand) Done(data []byte, err error)

func (*StopTrackingHeapObjectsCommand) Name

func (*StopTrackingHeapObjectsCommand) Params

func (cmd *StopTrackingHeapObjectsCommand) Params() interface{}

func (*StopTrackingHeapObjectsCommand) Run

func (cmd *StopTrackingHeapObjectsCommand) Run(conn *hc.Conn) error

type StopTrackingHeapObjectsParams

type StopTrackingHeapObjectsParams struct {
	ReportProgress bool `json:"reportProgress,omitempty"` // If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
}

type StopViolationsReportCB

type StopViolationsReportCB func(err error)

type StopViolationsReportCommand

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

func NewStopViolationsReportCommand

func NewStopViolationsReportCommand() *StopViolationsReportCommand

func (*StopViolationsReportCommand) Done

func (cmd *StopViolationsReportCommand) Done(data []byte, err error)

func (*StopViolationsReportCommand) Name

func (cmd *StopViolationsReportCommand) Name() string

func (*StopViolationsReportCommand) Params

func (cmd *StopViolationsReportCommand) Params() interface{}

func (*StopViolationsReportCommand) Run

func (cmd *StopViolationsReportCommand) Run(conn *hc.Conn) error

type StopWorkerCB

type StopWorkerCB func(err error)

type StopWorkerCommand

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

func NewStopWorkerCommand

func NewStopWorkerCommand(params *StopWorkerParams) *StopWorkerCommand

func (*StopWorkerCommand) Done

func (cmd *StopWorkerCommand) Done(data []byte, err error)

func (*StopWorkerCommand) Name

func (cmd *StopWorkerCommand) Name() string

func (*StopWorkerCommand) Params

func (cmd *StopWorkerCommand) Params() interface{}

func (*StopWorkerCommand) Run

func (cmd *StopWorkerCommand) Run(conn *hc.Conn) error

type StopWorkerParams

type StopWorkerParams struct {
	VersionId string `json:"versionId"`
}

type StorageId

type StorageId struct {
	SecurityOrigin string `json:"securityOrigin"` // Security origin for the storage.
	IsLocalStorage bool   `json:"isLocalStorage"` // Whether the storage is local storage (not session storage).
}

DOM Storage identifier. @experimental

type StorageType

type StorageType string

Enum of possible storage types.

const StorageTypeAll StorageType = "all"
const StorageTypeAppcache StorageType = "appcache"
const StorageTypeCache_storage StorageType = "cache_storage"
const StorageTypeCookies StorageType = "cookies"
const StorageTypeFile_systems StorageType = "file_systems"
const StorageTypeIndexeddb StorageType = "indexeddb"
const StorageTypeLocal_storage StorageType = "local_storage"
const StorageTypeService_workers StorageType = "service_workers"
const StorageTypeShader_cache StorageType = "shader_cache"
const StorageTypeWebsql StorageType = "websql"

type StreamHandle

type StreamHandle string

type StyleDeclarationEdit

type StyleDeclarationEdit struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"` // The css style sheet identifier.
	Range        *SourceRange `json:"range"`        // The range of the style text in the enclosing stylesheet.
	Text         string       `json:"text"`         // New style text.
}

A descriptor of operation to mutate style declaration text.

type StyleSheetAddedEvent

type StyleSheetAddedEvent struct {
	Header *CSSStyleSheetHeader `json:"header"` // Added stylesheet metainfo.
}

type StyleSheetChangedEvent

type StyleSheetChangedEvent struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"`
}

type StyleSheetId

type StyleSheetId string

type StyleSheetOrigin

type StyleSheetOrigin string

Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.

const StyleSheetOriginInjected StyleSheetOrigin = "injected"
const StyleSheetOriginInspector StyleSheetOrigin = "inspector"
const StyleSheetOriginRegular StyleSheetOrigin = "regular"
const StyleSheetOriginUserAgent StyleSheetOrigin = "user-agent"

type StyleSheetRemovedEvent

type StyleSheetRemovedEvent struct {
	StyleSheetId StyleSheetId `json:"styleSheetId"` // Identifier of the removed stylesheet.
}

type SynthesizePinchGestureCB

type SynthesizePinchGestureCB func(err error)

type SynthesizePinchGestureCommand

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

Synthesizes a pinch gesture over a time period by issuing appropriate touch events. @experimental

func (*SynthesizePinchGestureCommand) Done

func (cmd *SynthesizePinchGestureCommand) Done(data []byte, err error)

func (*SynthesizePinchGestureCommand) Name

func (*SynthesizePinchGestureCommand) Params

func (cmd *SynthesizePinchGestureCommand) Params() interface{}

func (*SynthesizePinchGestureCommand) Run

func (cmd *SynthesizePinchGestureCommand) Run(conn *hc.Conn) error

type SynthesizePinchGestureParams

type SynthesizePinchGestureParams struct {
	X                 int               `json:"x"`                           // X coordinate of the start of the gesture in CSS pixels.
	Y                 int               `json:"y"`                           // Y coordinate of the start of the gesture in CSS pixels.
	ScaleFactor       float64           `json:"scaleFactor"`                 // Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).
	RelativeSpeed     int               `json:"relativeSpeed,omitempty"`     // Relative pointer speed in pixels per second (default: 800).
	GestureSourceType GestureSourceType `json:"gestureSourceType,omitempty"` // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
}

type SynthesizeScrollGestureCB

type SynthesizeScrollGestureCB func(err error)

type SynthesizeScrollGestureCommand

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

Synthesizes a scroll gesture over a time period by issuing appropriate touch events. @experimental

func (*SynthesizeScrollGestureCommand) Done

func (cmd *SynthesizeScrollGestureCommand) Done(data []byte, err error)

func (*SynthesizeScrollGestureCommand) Name

func (*SynthesizeScrollGestureCommand) Params

func (cmd *SynthesizeScrollGestureCommand) Params() interface{}

func (*SynthesizeScrollGestureCommand) Run

func (cmd *SynthesizeScrollGestureCommand) Run(conn *hc.Conn) error

type SynthesizeScrollGestureParams

type SynthesizeScrollGestureParams struct {
	X                     int               `json:"x"`                               // X coordinate of the start of the gesture in CSS pixels.
	Y                     int               `json:"y"`                               // Y coordinate of the start of the gesture in CSS pixels.
	XDistance             int               `json:"xDistance,omitempty"`             // The distance to scroll along the X axis (positive to scroll left).
	YDistance             int               `json:"yDistance,omitempty"`             // The distance to scroll along the Y axis (positive to scroll up).
	XOverscroll           int               `json:"xOverscroll,omitempty"`           // The number of additional pixels to scroll back along the X axis, in addition to the given distance.
	YOverscroll           int               `json:"yOverscroll,omitempty"`           // The number of additional pixels to scroll back along the Y axis, in addition to the given distance.
	PreventFling          bool              `json:"preventFling,omitempty"`          // Prevent fling (default: true).
	Speed                 int               `json:"speed,omitempty"`                 // Swipe speed in pixels per second (default: 800).
	GestureSourceType     GestureSourceType `json:"gestureSourceType,omitempty"`     // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
	RepeatCount           int               `json:"repeatCount,omitempty"`           // The number of times to repeat the gesture (default: 0).
	RepeatDelayMs         int               `json:"repeatDelayMs,omitempty"`         // The number of milliseconds delay between each repeat. (default: 250).
	InteractionMarkerName string            `json:"interactionMarkerName,omitempty"` // The name of the interaction markers to generate, if not empty (default: "").
}

type SynthesizeTapGestureCB

type SynthesizeTapGestureCB func(err error)

type SynthesizeTapGestureCommand

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

Synthesizes a tap gesture over a time period by issuing appropriate touch events. @experimental

func (*SynthesizeTapGestureCommand) Done

func (cmd *SynthesizeTapGestureCommand) Done(data []byte, err error)

func (*SynthesizeTapGestureCommand) Name

func (cmd *SynthesizeTapGestureCommand) Name() string

func (*SynthesizeTapGestureCommand) Params

func (cmd *SynthesizeTapGestureCommand) Params() interface{}

func (*SynthesizeTapGestureCommand) Run

func (cmd *SynthesizeTapGestureCommand) Run(conn *hc.Conn) error

type SynthesizeTapGestureParams

type SynthesizeTapGestureParams struct {
	X                 int               `json:"x"`                           // X coordinate of the start of the gesture in CSS pixels.
	Y                 int               `json:"y"`                           // Y coordinate of the start of the gesture in CSS pixels.
	Duration          int               `json:"duration,omitempty"`          // Duration between touchdown and touchup events in ms (default: 50).
	TapCount          int               `json:"tapCount,omitempty"`          // Number of times to perform the tap (e.g. 2 for double tap, default: 1).
	GestureSourceType GestureSourceType `json:"gestureSourceType,omitempty"` // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
}

type TakeHeapSnapshotCB

type TakeHeapSnapshotCB func(err error)

type TakeHeapSnapshotCommand

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

func NewTakeHeapSnapshotCommand

func NewTakeHeapSnapshotCommand(params *TakeHeapSnapshotParams) *TakeHeapSnapshotCommand

func (*TakeHeapSnapshotCommand) Done

func (cmd *TakeHeapSnapshotCommand) Done(data []byte, err error)

func (*TakeHeapSnapshotCommand) Name

func (cmd *TakeHeapSnapshotCommand) Name() string

func (*TakeHeapSnapshotCommand) Params

func (cmd *TakeHeapSnapshotCommand) Params() interface{}

func (*TakeHeapSnapshotCommand) Run

func (cmd *TakeHeapSnapshotCommand) Run(conn *hc.Conn) error

type TakeHeapSnapshotParams

type TakeHeapSnapshotParams struct {
	ReportProgress bool `json:"reportProgress,omitempty"` // If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
}

type TargetCrashedEvent

type TargetCrashedEvent struct {
}

type TargetCreatedEvent

type TargetCreatedEvent struct {
	TargetInfo *TargetInfo `json:"targetInfo"`
}

type TargetDestroyedEvent

type TargetDestroyedEvent struct {
	TargetId TargetID `json:"targetId"`
}

type TargetID

type TargetID string

type TargetInfo

type TargetInfo struct {
	TargetId TargetID `json:"targetId"`
	Type     string   `json:"type"`
	Title    string   `json:"title"`
	Url      string   `json:"url"`
}

type TouchPoint

type TouchPoint struct {
	State         string  `json:"state"`                   // State of the touch point.
	X             int     `json:"x"`                       // X coordinate of the event relative to the main frame's viewport.
	Y             int     `json:"y"`                       // Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
	RadiusX       int     `json:"radiusX,omitempty"`       // X radius of the touch area (default: 1).
	RadiusY       int     `json:"radiusY,omitempty"`       // Y radius of the touch area (default: 1).
	RotationAngle float64 `json:"rotationAngle,omitempty"` // Rotation angle (default: 0.0).
	Force         float64 `json:"force,omitempty"`         // Force (default: 1.0).
	Id            float64 `json:"id,omitempty"`            // Identifier used to track touch sources between events, must be unique within an event.
}

@experimental

type TraceConfig

type TraceConfig struct {
	RecordMode           string            `json:"recordMode,omitempty"`           // Controls how the trace buffer stores data.
	EnableSampling       bool              `json:"enableSampling,omitempty"`       // Turns on JavaScript stack sampling.
	EnableSystrace       bool              `json:"enableSystrace,omitempty"`       // Turns on system tracing.
	EnableArgumentFilter bool              `json:"enableArgumentFilter,omitempty"` // Turns on argument filter.
	IncludedCategories   []string          `json:"includedCategories,omitempty"`   // Included category filters.
	ExcludedCategories   []string          `json:"excludedCategories,omitempty"`   // Excluded category filters.
	SyntheticDelays      []string          `json:"syntheticDelays,omitempty"`      // Configuration to synthesize the delays in tracing.
	MemoryDumpConfig     *MemoryDumpConfig `json:"memoryDumpConfig,omitempty"`     // Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
}

type TracingCompleteEvent

type TracingCompleteEvent struct {
	Stream *StreamHandle `json:"stream"` // A handle of the stream that holds resulting trace data.
}

type TracingStartCB

type TracingStartCB func(err error)

type TracingStartCommand

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

func NewTracingStartCommand

func NewTracingStartCommand(params *TracingStartParams) *TracingStartCommand

func (*TracingStartCommand) Done

func (cmd *TracingStartCommand) Done(data []byte, err error)

func (*TracingStartCommand) Name

func (cmd *TracingStartCommand) Name() string

func (*TracingStartCommand) Params

func (cmd *TracingStartCommand) Params() interface{}

func (*TracingStartCommand) Run

func (cmd *TracingStartCommand) Run(conn *hc.Conn) error

type TracingStartParams

type TracingStartParams struct {
	Categories                   string       `json:"categories,omitempty"`                   // Category/tag filter
	Options                      string       `json:"options,omitempty"`                      // Tracing options
	BufferUsageReportingInterval float64      `json:"bufferUsageReportingInterval,omitempty"` // If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
	TransferMode                 string       `json:"transferMode,omitempty"`                 // Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).
	TraceConfig                  *TraceConfig `json:"traceConfig,omitempty"`
}

type UnbindCB

type UnbindCB func(err error)

type UnbindCommand

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

func NewUnbindCommand

func NewUnbindCommand(params *UnbindParams) *UnbindCommand

func (*UnbindCommand) Done

func (cmd *UnbindCommand) Done(data []byte, err error)

func (*UnbindCommand) Name

func (cmd *UnbindCommand) Name() string

func (*UnbindCommand) Params

func (cmd *UnbindCommand) Params() interface{}

func (*UnbindCommand) Run

func (cmd *UnbindCommand) Run(conn *hc.Conn) error

type UnbindParams

type UnbindParams struct {
	Port int `json:"port"` // Port number to unbind.
}

type UndoCB

type UndoCB func(err error)

type UndoCommand

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

Undoes the last performed action. @experimental

func NewUndoCommand

func NewUndoCommand() *UndoCommand

func (*UndoCommand) Done

func (cmd *UndoCommand) Done(data []byte, err error)

func (*UndoCommand) Name

func (cmd *UndoCommand) Name() string

func (*UndoCommand) Params

func (cmd *UndoCommand) Params() interface{}

func (*UndoCommand) Run

func (cmd *UndoCommand) Run(conn *hc.Conn) error

type UnregisterCB

type UnregisterCB func(err error)

type UnregisterCommand

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

func NewUnregisterCommand

func NewUnregisterCommand(params *UnregisterParams) *UnregisterCommand

func (*UnregisterCommand) Done

func (cmd *UnregisterCommand) Done(data []byte, err error)

func (*UnregisterCommand) Name

func (cmd *UnregisterCommand) Name() string

func (*UnregisterCommand) Params

func (cmd *UnregisterCommand) Params() interface{}

func (*UnregisterCommand) Run

func (cmd *UnregisterCommand) Run(conn *hc.Conn) error

type UnregisterParams

type UnregisterParams struct {
	ScopeURL string `json:"scopeURL"`
}

type UnserializableValue

type UnserializableValue string

Primitive value which cannot be JSON-stringified.

const UnserializableValueInfinity UnserializableValue = "Infinity"
const UnserializableValueN0 UnserializableValue = "-0"
const UnserializableValueNInfinity UnserializableValue = "-Infinity"
const UnserializableValueNaN UnserializableValue = "NaN"

type UpdateRegistrationCB

type UpdateRegistrationCB func(err error)

type UpdateRegistrationCommand

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

func NewUpdateRegistrationCommand

func NewUpdateRegistrationCommand(params *UpdateRegistrationParams) *UpdateRegistrationCommand

func (*UpdateRegistrationCommand) Done

func (cmd *UpdateRegistrationCommand) Done(data []byte, err error)

func (*UpdateRegistrationCommand) Name

func (cmd *UpdateRegistrationCommand) Name() string

func (*UpdateRegistrationCommand) Params

func (cmd *UpdateRegistrationCommand) Params() interface{}

func (*UpdateRegistrationCommand) Run

func (cmd *UpdateRegistrationCommand) Run(conn *hc.Conn) error

type UpdateRegistrationParams

type UpdateRegistrationParams struct {
	ScopeURL string `json:"scopeURL"`
}

type Value

type Value struct {
	Text  string       `json:"text"`            // Value text.
	Range *SourceRange `json:"range,omitempty"` // Value range in the underlying resource (if available).
}

Data for a simple selector (these are delimited by commas in a selector list).

type ViolationSetting

type ViolationSetting struct {
	Name      string  `json:"name"`      // Violation type.
	Threshold float64 `json:"threshold"` // Time threshold to trigger upon.
}

Violation configuration setting.

type VirtualTimeBudgetExpiredEvent

type VirtualTimeBudgetExpiredEvent struct {
}

Notification sent after the virual time budget for the current VirtualTimePolicy has run out. @experimental

type VirtualTimePolicy

type VirtualTimePolicy string

advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches. @experimental

const VirtualTimePolicyAdvance VirtualTimePolicy = "advance"
const VirtualTimePolicyPause VirtualTimePolicy = "pause"
const VirtualTimePolicyPauseIfNetworkFetchesPending VirtualTimePolicy = "pauseIfNetworkFetchesPending"

type VisualViewport

type VisualViewport struct {
	OffsetX      float64 `json:"offsetX"`      // Horizontal offset relative to the layout viewport (CSS pixels).
	OffsetY      float64 `json:"offsetY"`      // Vertical offset relative to the layout viewport (CSS pixels).
	PageX        float64 `json:"pageX"`        // Horizontal offset relative to the document (CSS pixels).
	PageY        float64 `json:"pageY"`        // Vertical offset relative to the document (CSS pixels).
	ClientWidth  float64 `json:"clientWidth"`  // Width (CSS pixels), excludes scrollbar if present.
	ClientHeight float64 `json:"clientHeight"` // Height (CSS pixels), excludes scrollbar if present.
	Scale        float64 `json:"scale"`        // Scale relative to the ideal viewport (size at width=device-width).
}

Visual viewport position, dimensions, and scale. @experimental

type WebSocketClosedEvent

type WebSocketClosedEvent struct {
	RequestId RequestId        `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp `json:"timestamp"` // Timestamp.
}

Fired when WebSocket is closed. @experimental

type WebSocketCreatedEvent

type WebSocketCreatedEvent struct {
	RequestId RequestId  `json:"requestId"` // Request identifier.
	Url       string     `json:"url"`       // WebSocket request URL.
	Initiator *Initiator `json:"initiator"` // Request initiator.
}

Fired upon WebSocket creation. @experimental

type WebSocketFrame

type WebSocketFrame struct {
	Opcode      float64 `json:"opcode"`      // WebSocket frame opcode.
	Mask        bool    `json:"mask"`        // WebSocke frame mask.
	PayloadData string  `json:"payloadData"` // WebSocke frame payload data.
}

WebSocket frame data. @experimental

type WebSocketFrameErrorEvent

type WebSocketFrameErrorEvent struct {
	RequestId    RequestId        `json:"requestId"`    // Request identifier.
	Timestamp    NetworkTimestamp `json:"timestamp"`    // Timestamp.
	ErrorMessage string           `json:"errorMessage"` // WebSocket frame error message.
}

Fired when WebSocket frame error occurs. @experimental

type WebSocketFrameReceivedEvent

type WebSocketFrameReceivedEvent struct {
	RequestId RequestId        `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp `json:"timestamp"` // Timestamp.
	Response  *WebSocketFrame  `json:"response"`  // WebSocket response data.
}

Fired when WebSocket frame is received. @experimental

type WebSocketFrameSentEvent

type WebSocketFrameSentEvent struct {
	RequestId RequestId        `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp `json:"timestamp"` // Timestamp.
	Response  *WebSocketFrame  `json:"response"`  // WebSocket response data.
}

Fired when WebSocket frame is sent. @experimental

type WebSocketHandshakeResponseReceivedEvent

type WebSocketHandshakeResponseReceivedEvent struct {
	RequestId RequestId          `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp   `json:"timestamp"` // Timestamp.
	Response  *WebSocketResponse `json:"response"`  // WebSocket response data.
}

Fired when WebSocket handshake response becomes available. @experimental

type WebSocketRequest

type WebSocketRequest struct {
	Headers *Headers `json:"headers"` // HTTP request headers.
}

WebSocket request data. @experimental

type WebSocketResponse

type WebSocketResponse struct {
	Status             float64  `json:"status"`                       // HTTP response status code.
	StatusText         string   `json:"statusText"`                   // HTTP response status text.
	Headers            *Headers `json:"headers"`                      // HTTP response headers.
	HeadersText        string   `json:"headersText,omitempty"`        // HTTP response headers text.
	RequestHeaders     *Headers `json:"requestHeaders,omitempty"`     // HTTP request headers.
	RequestHeadersText string   `json:"requestHeadersText,omitempty"` // HTTP request headers text.
}

WebSocket response data. @experimental

type WebSocketWillSendHandshakeRequestEvent

type WebSocketWillSendHandshakeRequestEvent struct {
	RequestId RequestId         `json:"requestId"` // Request identifier.
	Timestamp NetworkTimestamp  `json:"timestamp"` // Timestamp.
	WallTime  NetworkTimestamp  `json:"wallTime"`  // UTC Timestamp.
	Request   *WebSocketRequest `json:"request"`   // WebSocket request data.
}

Fired when WebSocket is about to initiate handshake. @experimental

type WorkerErrorReportedEvent

type WorkerErrorReportedEvent struct {
	ErrorMessage *ServiceWorkerErrorMessage `json:"errorMessage"`
}

type WorkerRegistrationUpdatedEvent

type WorkerRegistrationUpdatedEvent struct {
	Registrations []*ServiceWorkerRegistration `json:"registrations"`
}

type WorkerVersionUpdatedEvent

type WorkerVersionUpdatedEvent struct {
	Versions []*ServiceWorkerVersion `json:"versions"`
}

Jump to

Keyboard shortcuts

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