Documentation
¶
Index ¶
- func ActivateTarget(params *ActivateTargetParams, conn *hc.Conn) (err error)
- func AddBlockedURL(params *AddBlockedURLParams, conn *hc.Conn) (err error)
- func AddInspectedHeapObject(params *AddInspectedHeapObjectParams, conn *hc.Conn) (err error)
- func AnimationDisable(conn *hc.Conn) (err error)
- func AnimationEnable(conn *hc.Conn) (err error)
- func ApplicationCacheEnable(conn *hc.Conn) (err error)
- func Bind(params *BindParams, conn *hc.Conn) (err error)
- func CSSDisable(conn *hc.Conn) (err error)
- func CSSEnable(conn *hc.Conn) (err error)
- func Clear(conn *hc.Conn) (err error)
- func ClearBrowserCache(conn *hc.Conn) (err error)
- func ClearBrowserCookies(conn *hc.Conn) (err error)
- func ClearDataForOrigin(params *ClearDataForOriginParams, conn *hc.Conn) (err error)
- func ClearMessages(conn *hc.Conn) (err error)
- func ClearObjectStore(params *ClearObjectStoreParams, conn *hc.Conn) (err error)
- func Close(params *CloseParams, conn *hc.Conn) (err error)
- func CollectGarbage(conn *hc.Conn) (err error)
- func ConfigureOverlay(params *ConfigureOverlayParams, conn *hc.Conn) (err error)
- func ConsoleDisable(conn *hc.Conn) (err error)
- func ConsoleEnable(conn *hc.Conn) (err error)
- func ContinueToLocation(params *ContinueToLocationParams, conn *hc.Conn) (err error)
- func DOMDisable(conn *hc.Conn) (err error)
- func DOMEnable(conn *hc.Conn) (err error)
- func DOMStorageDisable(conn *hc.Conn) (err error)
- func DOMStorageEnable(conn *hc.Conn) (err error)
- func DatabaseDisable(conn *hc.Conn) (err error)
- func DatabaseEnable(conn *hc.Conn) (err error)
- func DebuggerDisable(conn *hc.Conn) (err error)
- func DebuggerEnable(conn *hc.Conn) (err error)
- func DeleteCache(params *DeleteCacheParams, conn *hc.Conn) (err error)
- func DeleteEntry(params *DeleteEntryParams, conn *hc.Conn) (err error)
- func DeliverPushMessage(params *DeliverPushMessageParams, conn *hc.Conn) (err error)
- func DetachFromTarget(params *DetachFromTargetParams, conn *hc.Conn) (err error)
- func DeviceOrientationClearDeviceOrientationOverride(conn *hc.Conn) (err error)
- func DeviceOrientationSetDeviceOrientationOverride(params *DeviceOrientationSetDeviceOrientationOverrideParams, conn *hc.Conn) (err error)
- func DiscardConsoleEntries(conn *hc.Conn) (err error)
- func DiscardSearchResults(params *DiscardSearchResultsParams, conn *hc.Conn) (err error)
- func DispatchKeyEvent(params *DispatchKeyEventParams, conn *hc.Conn) (err error)
- func DispatchMouseEvent(params *DispatchMouseEventParams, conn *hc.Conn) (err error)
- func DispatchSyncEvent(params *DispatchSyncEventParams, conn *hc.Conn) (err error)
- func DispatchTouchEvent(params *DispatchTouchEventParams, conn *hc.Conn) (err error)
- func EmulateNetworkConditions(params *EmulateNetworkConditionsParams, conn *hc.Conn) (err error)
- func EmulateTouchFromMouseEvent(params *EmulateTouchFromMouseEventParams, conn *hc.Conn) (err error)
- func EmulationClearDeviceMetricsOverride(conn *hc.Conn) (err error)
- func EmulationClearGeolocationOverride(conn *hc.Conn) (err error)
- func EmulationSetDeviceMetricsOverride(params *EmulationSetDeviceMetricsOverrideParams, conn *hc.Conn) (err error)
- func EmulationSetGeolocationOverride(params *EmulationSetGeolocationOverrideParams, conn *hc.Conn) (err error)
- func EmulationSetTouchEmulationEnabled(params *EmulationSetTouchEmulationEnabledParams, conn *hc.Conn) (err error)
- func End(conn *hc.Conn) (err error)
- func Focus(params *FocusParams, conn *hc.Conn) (err error)
- func ForcePseudoState(params *ForcePseudoStateParams, conn *hc.Conn) (err error)
- func ForceViewport(params *ForceViewportParams, conn *hc.Conn) (err error)
- func HandleJavaScriptDialog(params *HandleJavaScriptDialogParams, conn *hc.Conn) (err error)
- func HeapProfilerDisable(conn *hc.Conn) (err error)
- func HeapProfilerEnable(conn *hc.Conn) (err error)
- func HideHighlight(conn *hc.Conn) (err error)
- func HighlightFrame(params *HighlightFrameParams, conn *hc.Conn) (err error)
- func HighlightNode(params *HighlightNodeParams, conn *hc.Conn) (err error)
- func HighlightQuad(params *HighlightQuadParams, conn *hc.Conn) (err error)
- func HighlightRect(params *HighlightRectParams, conn *hc.Conn) (err error)
- func IndexedDBDisable(conn *hc.Conn) (err error)
- func IndexedDBEnable(conn *hc.Conn) (err error)
- func InspectWorker(params *InspectWorkerParams, conn *hc.Conn) (err error)
- func InspectorDisable(conn *hc.Conn) (err error)
- func InspectorEnable(conn *hc.Conn) (err error)
- func LayerTreeDisable(conn *hc.Conn) (err error)
- func LayerTreeEnable(conn *hc.Conn) (err error)
- func LogDisable(conn *hc.Conn) (err error)
- func LogEnable(conn *hc.Conn) (err error)
- func MarkUndoableState(conn *hc.Conn) (err error)
- func NavigateToHistoryEntry(params *NavigateToHistoryEntryParams, conn *hc.Conn) (err error)
- func NetworkDeleteCookie(params *NetworkDeleteCookieParams, conn *hc.Conn) (err error)
- func NetworkDisable(conn *hc.Conn) (err error)
- func NetworkEnable(params *NetworkEnableParams, conn *hc.Conn) (err error)
- func OnAccepted(conn *hc.Conn, cb func(evt *AcceptedEvent))
- func OnAddDatabase(conn *hc.Conn, cb func(evt *AddDatabaseEvent))
- func OnAddHeapSnapshotChunk(conn *hc.Conn, cb func(evt *AddHeapSnapshotChunkEvent))
- func OnAnimationCanceled(conn *hc.Conn, cb func(evt *AnimationCanceledEvent))
- func OnAnimationCreated(conn *hc.Conn, cb func(evt *AnimationCreatedEvent))
- func OnAnimationStarted(conn *hc.Conn, cb func(evt *AnimationStartedEvent))
- func OnApplicationCacheStatusUpdated(conn *hc.Conn, cb func(evt *ApplicationCacheStatusUpdatedEvent))
- func OnAttachedToTarget(conn *hc.Conn, cb func(evt *AttachedToTargetEvent))
- func OnAttributeModified(conn *hc.Conn, cb func(evt *AttributeModifiedEvent))
- func OnAttributeRemoved(conn *hc.Conn, cb func(evt *AttributeRemovedEvent))
- func OnBreakpointResolved(conn *hc.Conn, cb func(evt *BreakpointResolvedEvent))
- func OnBufferUsage(conn *hc.Conn, cb func(evt *BufferUsageEvent))
- func OnCharacterDataModified(conn *hc.Conn, cb func(evt *CharacterDataModifiedEvent))
- func OnChildNodeCountUpdated(conn *hc.Conn, cb func(evt *ChildNodeCountUpdatedEvent))
- func OnChildNodeInserted(conn *hc.Conn, cb func(evt *ChildNodeInsertedEvent))
- func OnChildNodeRemoved(conn *hc.Conn, cb func(evt *ChildNodeRemovedEvent))
- func OnColorPicked(conn *hc.Conn, cb func(evt *ColorPickedEvent))
- func OnConsoleAPICalled(conn *hc.Conn, cb func(evt *ConsoleAPICalledEvent))
- func OnConsoleProfileFinished(conn *hc.Conn, cb func(evt *ConsoleProfileFinishedEvent))
- func OnConsoleProfileStarted(conn *hc.Conn, cb func(evt *ConsoleProfileStartedEvent))
- func OnDataCollected(conn *hc.Conn, cb func(evt *DataCollectedEvent))
- func OnDataReceived(conn *hc.Conn, cb func(evt *DataReceivedEvent))
- func OnDetached(conn *hc.Conn, cb func(evt *DetachedEvent))
- func OnDetachedFromTarget(conn *hc.Conn, cb func(evt *DetachedFromTargetEvent))
- func OnDistributedNodesUpdated(conn *hc.Conn, cb func(evt *DistributedNodesUpdatedEvent))
- func OnDocumentUpdated(conn *hc.Conn, cb func(evt *DocumentUpdatedEvent))
- func OnDomContentEventFired(conn *hc.Conn, cb func(evt *DomContentEventFiredEvent))
- func OnDomStorageItemAdded(conn *hc.Conn, cb func(evt *DomStorageItemAddedEvent))
- func OnDomStorageItemRemoved(conn *hc.Conn, cb func(evt *DomStorageItemRemovedEvent))
- func OnDomStorageItemUpdated(conn *hc.Conn, cb func(evt *DomStorageItemUpdatedEvent))
- func OnDomStorageItemsCleared(conn *hc.Conn, cb func(evt *DomStorageItemsClearedEvent))
- func OnEntryAdded(conn *hc.Conn, cb func(evt *EntryAddedEvent))
- func OnEventSourceMessageReceived(conn *hc.Conn, cb func(evt *EventSourceMessageReceivedEvent))
- func OnExceptionRevoked(conn *hc.Conn, cb func(evt *ExceptionRevokedEvent))
- func OnExceptionThrown(conn *hc.Conn, cb func(evt *ExceptionThrownEvent))
- func OnExecutionContextCreated(conn *hc.Conn, cb func(evt *ExecutionContextCreatedEvent))
- func OnExecutionContextDestroyed(conn *hc.Conn, cb func(evt *ExecutionContextDestroyedEvent))
- func OnExecutionContextsCleared(conn *hc.Conn, cb func(evt *ExecutionContextsClearedEvent))
- func OnFontsUpdated(conn *hc.Conn, cb func(evt *FontsUpdatedEvent))
- func OnFrameAttached(conn *hc.Conn, cb func(evt *FrameAttachedEvent))
- func OnFrameClearedScheduledNavigation(conn *hc.Conn, cb func(evt *FrameClearedScheduledNavigationEvent))
- func OnFrameDetached(conn *hc.Conn, cb func(evt *FrameDetachedEvent))
- func OnFrameNavigated(conn *hc.Conn, cb func(evt *FrameNavigatedEvent))
- func OnFrameResized(conn *hc.Conn, cb func(evt *FrameResizedEvent))
- func OnFrameScheduledNavigation(conn *hc.Conn, cb func(evt *FrameScheduledNavigationEvent))
- func OnFrameStartedLoading(conn *hc.Conn, cb func(evt *FrameStartedLoadingEvent))
- func OnFrameStoppedLoading(conn *hc.Conn, cb func(evt *FrameStoppedLoadingEvent))
- func OnHeapStatsUpdate(conn *hc.Conn, cb func(evt *HeapStatsUpdateEvent))
- func OnInlineStyleInvalidated(conn *hc.Conn, cb func(evt *InlineStyleInvalidatedEvent))
- func OnInspectNodeRequested(conn *hc.Conn, cb func(evt *InspectNodeRequestedEvent))
- func OnInspectRequested(conn *hc.Conn, cb func(evt *InspectRequestedEvent))
- func OnInterstitialHidden(conn *hc.Conn, cb func(evt *InterstitialHiddenEvent))
- func OnInterstitialShown(conn *hc.Conn, cb func(evt *InterstitialShownEvent))
- func OnJavascriptDialogClosed(conn *hc.Conn, cb func(evt *JavascriptDialogClosedEvent))
- func OnJavascriptDialogOpening(conn *hc.Conn, cb func(evt *JavascriptDialogOpeningEvent))
- func OnLastSeenObjectId(conn *hc.Conn, cb func(evt *LastSeenObjectIdEvent))
- func OnLayerPainted(conn *hc.Conn, cb func(evt *LayerPaintedEvent))
- func OnLayerTreeDidChange(conn *hc.Conn, cb func(evt *LayerTreeDidChangeEvent))
- func OnLoadEventFired(conn *hc.Conn, cb func(evt *LoadEventFiredEvent))
- func OnLoadingFailed(conn *hc.Conn, cb func(evt *LoadingFailedEvent))
- func OnLoadingFinished(conn *hc.Conn, cb func(evt *LoadingFinishedEvent))
- func OnMediaQueryResultChanged(conn *hc.Conn, cb func(evt *MediaQueryResultChangedEvent))
- func OnMessageAdded(conn *hc.Conn, cb func(evt *MessageAddedEvent))
- func OnNavigationRequested(conn *hc.Conn, cb func(evt *NavigationRequestedEvent))
- func OnNetworkStateUpdated(conn *hc.Conn, cb func(evt *NetworkStateUpdatedEvent))
- func OnNodeHighlightRequested(conn *hc.Conn, cb func(evt *NodeHighlightRequestedEvent))
- func OnPaused(conn *hc.Conn, cb func(evt *PausedEvent))
- func OnPseudoElementAdded(conn *hc.Conn, cb func(evt *PseudoElementAddedEvent))
- func OnPseudoElementRemoved(conn *hc.Conn, cb func(evt *PseudoElementRemovedEvent))
- func OnReceivedMessageFromTarget(conn *hc.Conn, cb func(evt *ReceivedMessageFromTargetEvent))
- func OnReportHeapSnapshotProgress(conn *hc.Conn, cb func(evt *ReportHeapSnapshotProgressEvent))
- func OnRequestServedFromCache(conn *hc.Conn, cb func(evt *RequestServedFromCacheEvent))
- func OnRequestWillBeSent(conn *hc.Conn, cb func(evt *RequestWillBeSentEvent))
- func OnResetProfiles(conn *hc.Conn, cb func(evt *ResetProfilesEvent))
- func OnResourceChangedPriority(conn *hc.Conn, cb func(evt *ResourceChangedPriorityEvent))
- func OnResponseReceived(conn *hc.Conn, cb func(evt *ResponseReceivedEvent))
- func OnResumed(conn *hc.Conn, cb func(evt *ResumedEvent))
- func OnScreencastFrame(conn *hc.Conn, cb func(evt *ScreencastFrameEvent))
- func OnScreencastVisibilityChanged(conn *hc.Conn, cb func(evt *ScreencastVisibilityChangedEvent))
- func OnScriptFailedToParse(conn *hc.Conn, cb func(evt *ScriptFailedToParseEvent))
- func OnScriptParsed(conn *hc.Conn, cb func(evt *ScriptParsedEvent))
- func OnSecurityStateChanged(conn *hc.Conn, cb func(evt *SecurityStateChangedEvent))
- func OnSetChildNodes(conn *hc.Conn, cb func(evt *SetChildNodesEvent))
- func OnShadowRootPopped(conn *hc.Conn, cb func(evt *ShadowRootPoppedEvent))
- func OnShadowRootPushed(conn *hc.Conn, cb func(evt *ShadowRootPushedEvent))
- func OnStyleSheetAdded(conn *hc.Conn, cb func(evt *StyleSheetAddedEvent))
- func OnStyleSheetChanged(conn *hc.Conn, cb func(evt *StyleSheetChangedEvent))
- func OnStyleSheetRemoved(conn *hc.Conn, cb func(evt *StyleSheetRemovedEvent))
- func OnTargetCrashed(conn *hc.Conn, cb func(evt *TargetCrashedEvent))
- func OnTargetCreated(conn *hc.Conn, cb func(evt *TargetCreatedEvent))
- func OnTargetDestroyed(conn *hc.Conn, cb func(evt *TargetDestroyedEvent))
- func OnTracingComplete(conn *hc.Conn, cb func(evt *TracingCompleteEvent))
- func OnVirtualTimeBudgetExpired(conn *hc.Conn, cb func(evt *VirtualTimeBudgetExpiredEvent))
- func OnWebSocketClosed(conn *hc.Conn, cb func(evt *WebSocketClosedEvent))
- func OnWebSocketCreated(conn *hc.Conn, cb func(evt *WebSocketCreatedEvent))
- func OnWebSocketFrameError(conn *hc.Conn, cb func(evt *WebSocketFrameErrorEvent))
- func OnWebSocketFrameReceived(conn *hc.Conn, cb func(evt *WebSocketFrameReceivedEvent))
- func OnWebSocketFrameSent(conn *hc.Conn, cb func(evt *WebSocketFrameSentEvent))
- func OnWebSocketHandshakeResponseReceived(conn *hc.Conn, cb func(evt *WebSocketHandshakeResponseReceivedEvent))
- func OnWebSocketWillSendHandshakeRequest(conn *hc.Conn, cb func(evt *WebSocketWillSendHandshakeRequestEvent))
- func OnWorkerErrorReported(conn *hc.Conn, cb func(evt *WorkerErrorReportedEvent))
- func OnWorkerRegistrationUpdated(conn *hc.Conn, cb func(evt *WorkerRegistrationUpdatedEvent))
- func OnWorkerVersionUpdated(conn *hc.Conn, cb func(evt *WorkerVersionUpdatedEvent))
- func PageClearDeviceMetricsOverride(conn *hc.Conn) (err error)
- func PageClearDeviceOrientationOverride(conn *hc.Conn) (err error)
- func PageClearGeolocationOverride(conn *hc.Conn) (err error)
- func PageDeleteCookie(params *PageDeleteCookieParams, conn *hc.Conn) (err error)
- func PageDisable(conn *hc.Conn) (err error)
- func PageEnable(conn *hc.Conn) (err error)
- func PageSetDeviceMetricsOverride(params *PageSetDeviceMetricsOverrideParams, conn *hc.Conn) (err error)
- func PageSetDeviceOrientationOverride(params *PageSetDeviceOrientationOverrideParams, conn *hc.Conn) (err error)
- func PageSetGeolocationOverride(params *PageSetGeolocationOverrideParams, conn *hc.Conn) (err error)
- func PageSetTouchEmulationEnabled(params *PageSetTouchEmulationEnabledParams, conn *hc.Conn) (err error)
- func Pause(conn *hc.Conn) (err error)
- func ProcessNavigation(params *ProcessNavigationParams, conn *hc.Conn) (err error)
- func ProfilerDisable(conn *hc.Conn) (err error)
- func ProfilerEnable(conn *hc.Conn) (err error)
- func ProfilerStart(conn *hc.Conn) (err error)
- func RecordClockSyncMarker(params *RecordClockSyncMarkerParams, conn *hc.Conn) (err error)
- func Redo(conn *hc.Conn) (err error)
- func ReleaseAnimations(params *ReleaseAnimationsParams, conn *hc.Conn) (err error)
- func ReleaseObject(params *ReleaseObjectParams, conn *hc.Conn) (err error)
- func ReleaseObjectGroup(params *ReleaseObjectGroupParams, conn *hc.Conn) (err error)
- func ReleaseSnapshot(params *ReleaseSnapshotParams, conn *hc.Conn) (err error)
- func Reload(params *ReloadParams, conn *hc.Conn) (err error)
- func RemoveAttribute(params *RemoveAttributeParams, conn *hc.Conn) (err error)
- func RemoveBlockedURL(params *RemoveBlockedURLParams, conn *hc.Conn) (err error)
- func RemoveBreakpoint(params *RemoveBreakpointParams, conn *hc.Conn) (err error)
- func RemoveDOMBreakpoint(params *RemoveDOMBreakpointParams, conn *hc.Conn) (err error)
- func RemoveDOMStorageItem(params *RemoveDOMStorageItemParams, conn *hc.Conn) (err error)
- func RemoveEventListenerBreakpoint(params *RemoveEventListenerBreakpointParams, conn *hc.Conn) (err error)
- func RemoveInstrumentationBreakpoint(params *RemoveInstrumentationBreakpointParams, conn *hc.Conn) (err error)
- func RemoveNode(params *RemoveNodeParams, conn *hc.Conn) (err error)
- func RemoveScriptToEvaluateOnLoad(params *RemoveScriptToEvaluateOnLoadParams, conn *hc.Conn) (err error)
- func RemoveXHRBreakpoint(params *RemoveXHRBreakpointParams, conn *hc.Conn) (err error)
- func ReplayXHR(params *ReplayXHRParams, conn *hc.Conn) (err error)
- func RequestAppBanner(conn *hc.Conn) (err error)
- func RequestChildNodes(params *RequestChildNodesParams, conn *hc.Conn) (err error)
- func ResetPageScaleFactor(conn *hc.Conn) (err error)
- func ResetViewport(conn *hc.Conn) (err error)
- func Resume(conn *hc.Conn) (err error)
- func RunIfWaitingForDebugger(conn *hc.Conn) (err error)
- func RuntimeDisable(conn *hc.Conn) (err error)
- func RuntimeEnable(conn *hc.Conn) (err error)
- func ScreencastFrameAck(params *ScreencastFrameAckParams, conn *hc.Conn) (err error)
- func SecurityDisable(conn *hc.Conn) (err error)
- func SecurityEnable(conn *hc.Conn) (err error)
- func SeekAnimations(params *SeekAnimationsParams, conn *hc.Conn) (err error)
- func SendMessageToTarget(params *SendMessageToTargetParams, conn *hc.Conn) (err error)
- func ServiceWorkerDisable(conn *hc.Conn) (err error)
- func ServiceWorkerEnable(conn *hc.Conn) (err error)
- func SetAsyncCallStackDepth(params *SetAsyncCallStackDepthParams, conn *hc.Conn) (err error)
- func SetAttachToFrames(params *SetAttachToFramesParams, conn *hc.Conn) (err error)
- func SetAttributeValue(params *SetAttributeValueParams, conn *hc.Conn) (err error)
- func SetAttributesAsText(params *SetAttributesAsTextParams, conn *hc.Conn) (err error)
- func SetAutoAttach(params *SetAutoAttachParams, conn *hc.Conn) (err error)
- func SetAutoAttachToCreatedPages(params *SetAutoAttachToCreatedPagesParams, conn *hc.Conn) (err error)
- func SetBlackboxPatterns(params *SetBlackboxPatternsParams, conn *hc.Conn) (err error)
- func SetBlackboxedRanges(params *SetBlackboxedRangesParams, conn *hc.Conn) (err error)
- func SetBreakpointsActive(params *SetBreakpointsActiveParams, conn *hc.Conn) (err error)
- func SetBypassServiceWorker(params *SetBypassServiceWorkerParams, conn *hc.Conn) (err error)
- func SetCPUThrottlingRate(params *SetCPUThrottlingRateParams, conn *hc.Conn) (err error)
- func SetCacheDisabled(params *SetCacheDisabledParams, conn *hc.Conn) (err error)
- func SetColorPickerEnabled(params *SetColorPickerEnabledParams, conn *hc.Conn) (err error)
- func SetControlNavigations(params *SetControlNavigationsParams, conn *hc.Conn) (err error)
- func SetCustomObjectFormatterEnabled(params *SetCustomObjectFormatterEnabledParams, conn *hc.Conn) (err error)
- func SetDOMBreakpoint(params *SetDOMBreakpointParams, conn *hc.Conn) (err error)
- func SetDOMStorageItem(params *SetDOMStorageItemParams, conn *hc.Conn) (err error)
- func SetDataSizeLimitsForTest(params *SetDataSizeLimitsForTestParams, conn *hc.Conn) (err error)
- func SetDiscoverTargets(params *SetDiscoverTargetsParams, conn *hc.Conn) (err error)
- func SetDocumentContent(params *SetDocumentContentParams, conn *hc.Conn) (err error)
- func SetEffectivePropertyValueForNode(params *SetEffectivePropertyValueForNodeParams, conn *hc.Conn) (err error)
- func SetEmulatedMedia(params *SetEmulatedMediaParams, conn *hc.Conn) (err error)
- func SetEventListenerBreakpoint(params *SetEventListenerBreakpointParams, conn *hc.Conn) (err error)
- func SetExtraHTTPHeaders(params *SetExtraHTTPHeadersParams, conn *hc.Conn) (err error)
- func SetFileInputFiles(params *SetFileInputFilesParams, conn *hc.Conn) (err error)
- func SetForceUpdateOnPageLoad(params *SetForceUpdateOnPageLoadParams, conn *hc.Conn) (err error)
- func SetInspectMode(params *SetInspectModeParams, conn *hc.Conn) (err error)
- func SetInspectedNode(params *SetInspectedNodeParams, conn *hc.Conn) (err error)
- func SetInstrumentationBreakpoint(params *SetInstrumentationBreakpointParams, conn *hc.Conn) (err error)
- func SetMonitoringXHREnabled(params *SetMonitoringXHREnabledParams, conn *hc.Conn) (err error)
- func SetNodeValue(params *SetNodeValueParams, conn *hc.Conn) (err error)
- func SetOuterHTML(params *SetOuterHTMLParams, conn *hc.Conn) (err error)
- func SetPageScaleFactor(params *SetPageScaleFactorParams, conn *hc.Conn) (err error)
- func SetPauseOnExceptions(params *SetPauseOnExceptionsParams, conn *hc.Conn) (err error)
- func SetPaused(params *SetPausedParams, conn *hc.Conn) (err error)
- func SetPlaybackRate(params *SetPlaybackRateParams, conn *hc.Conn) (err error)
- func SetPressureNotificationsSuppressed(params *SetPressureNotificationsSuppressedParams, conn *hc.Conn) (err error)
- func SetRemoteLocations(params *SetRemoteLocationsParams, conn *hc.Conn) (err error)
- func SetSamplingInterval(params *SetSamplingIntervalParams, conn *hc.Conn) (err error)
- func SetScriptExecutionDisabled(params *SetScriptExecutionDisabledParams, conn *hc.Conn) (err error)
- func SetShowDebugBorders(params *SetShowDebugBordersParams, conn *hc.Conn) (err error)
- func SetShowFPSCounter(params *SetShowFPSCounterParams, conn *hc.Conn) (err error)
- func SetShowPaintRects(params *SetShowPaintRectsParams, conn *hc.Conn) (err error)
- func SetShowScrollBottleneckRects(params *SetShowScrollBottleneckRectsParams, conn *hc.Conn) (err error)
- func SetShowViewportSizeOnResize(params *SetShowViewportSizeOnResizeParams, conn *hc.Conn) (err error)
- func SetSkipAllPauses(params *SetSkipAllPausesParams, conn *hc.Conn) (err error)
- func SetTiming(params *SetTimingParams, conn *hc.Conn) (err error)
- func SetUserAgentOverride(params *SetUserAgentOverrideParams, conn *hc.Conn) (err error)
- func SetVariableValue(params *SetVariableValueParams, conn *hc.Conn) (err error)
- func SetVirtualTimePolicy(params *SetVirtualTimePolicyParams, conn *hc.Conn) (err error)
- func SetVisibleSize(params *SetVisibleSizeParams, conn *hc.Conn) (err error)
- func SetXHRBreakpoint(params *SetXHRBreakpointParams, conn *hc.Conn) (err error)
- func ShowCertificateViewer(conn *hc.Conn) (err error)
- func SimulatePressureNotification(params *SimulatePressureNotificationParams, conn *hc.Conn) (err error)
- func SkipWaiting(params *SkipWaitingParams, conn *hc.Conn) (err error)
- func StartRuleUsageTracking(conn *hc.Conn) (err error)
- func StartSampling(params *StartSamplingParams, conn *hc.Conn) (err error)
- func StartScreencast(params *StartScreencastParams, conn *hc.Conn) (err error)
- func StartTrackingHeapObjects(params *StartTrackingHeapObjectsParams, conn *hc.Conn) (err error)
- func StartViolationsReport(params *StartViolationsReportParams, conn *hc.Conn) (err error)
- func StartWorker(params *StartWorkerParams, conn *hc.Conn) (err error)
- func StepInto(conn *hc.Conn) (err error)
- func StepOut(conn *hc.Conn) (err error)
- func StepOver(conn *hc.Conn) (err error)
- func StopLoading(conn *hc.Conn) (err error)
- func StopScreencast(conn *hc.Conn) (err error)
- func StopTrackingHeapObjects(params *StopTrackingHeapObjectsParams, conn *hc.Conn) (err error)
- func StopViolationsReport(conn *hc.Conn) (err error)
- func StopWorker(params *StopWorkerParams, conn *hc.Conn) (err error)
- func SynthesizePinchGesture(params *SynthesizePinchGestureParams, conn *hc.Conn) (err error)
- func SynthesizeScrollGesture(params *SynthesizeScrollGestureParams, conn *hc.Conn) (err error)
- func SynthesizeTapGesture(params *SynthesizeTapGestureParams, conn *hc.Conn) (err error)
- func TakeHeapSnapshot(params *TakeHeapSnapshotParams, conn *hc.Conn) (err error)
- func TracingStart(params *TracingStartParams, conn *hc.Conn) (err error)
- func Unbind(params *UnbindParams, conn *hc.Conn) (err error)
- func Undo(conn *hc.Conn) (err error)
- func Unregister(params *UnregisterParams, conn *hc.Conn) (err error)
- func UpdateRegistration(params *UpdateRegistrationParams, conn *hc.Conn) (err error)
- type AXGlobalStates
- type AXLiveRegionAttributes
- type AXNode
- type AXNodeId
- type AXProperty
- type AXRelatedNode
- type AXRelationshipAttributes
- type AXValue
- type AXValueNativeSourceType
- type AXValueSource
- type AXValueSourceType
- type AXValueType
- type AXWidgetAttributes
- type AXWidgetStates
- type AcceptedEvent
- type ActivateTargetCB
- type ActivateTargetCommand
- type ActivateTargetParams
- type AddBlockedURLCB
- type AddBlockedURLCommand
- type AddBlockedURLParams
- type AddDatabaseEvent
- type AddHeapSnapshotChunkEvent
- type AddInspectedHeapObjectCB
- type AddInspectedHeapObjectCommand
- type AddInspectedHeapObjectParams
- type AddRuleCB
- type AddRuleCommand
- type AddRuleParams
- type AddRuleResult
- type AddScriptToEvaluateOnLoadCB
- type AddScriptToEvaluateOnLoadCommand
- func (cmd *AddScriptToEvaluateOnLoadCommand) Done(data []byte, err error)
- func (cmd *AddScriptToEvaluateOnLoadCommand) Name() string
- func (cmd *AddScriptToEvaluateOnLoadCommand) Params() interface{}
- func (cmd *AddScriptToEvaluateOnLoadCommand) Result() *AddScriptToEvaluateOnLoadResult
- func (cmd *AddScriptToEvaluateOnLoadCommand) Run(conn *hc.Conn) error
- type AddScriptToEvaluateOnLoadParams
- type AddScriptToEvaluateOnLoadResult
- type Animation
- type AnimationCanceledEvent
- type AnimationCreatedEvent
- type AnimationDisableCB
- type AnimationDisableCommand
- type AnimationEffect
- type AnimationEnableCB
- type AnimationEnableCommand
- type AnimationStartedEvent
- type AppManifestError
- type ApplicationCache
- type ApplicationCacheEnableCB
- type ApplicationCacheEnableCommand
- type ApplicationCacheResource
- type ApplicationCacheStatusUpdatedEvent
- type AsyncActivateTargetCommand
- type AsyncAddBlockedURLCommand
- type AsyncAddInspectedHeapObjectCommand
- type AsyncAddRuleCommand
- type AsyncAddScriptToEvaluateOnLoadCommand
- type AsyncAnimationDisableCommand
- type AsyncAnimationEnableCommand
- type AsyncApplicationCacheEnableCommand
- type AsyncAttachToTargetCommand
- type AsyncAwaitPromiseCommand
- type AsyncBindCommand
- type AsyncCSSDisableCommand
- type AsyncCSSEnableCommand
- type AsyncCallFunctionOnCommand
- type AsyncCanClearBrowserCacheCommand
- type AsyncCanClearBrowserCookiesCommand
- type AsyncCanEmulateCommand
- type AsyncCanEmulateNetworkConditionsCommand
- type AsyncCaptureScreenshotCommand
- type AsyncClearBrowserCacheCommand
- type AsyncClearBrowserCookiesCommand
- type AsyncClearCommand
- type AsyncClearDataForOriginCommand
- type AsyncClearMessagesCommand
- type AsyncClearObjectStoreCommand
- type AsyncCloseCommand
- type AsyncCloseTargetCommand
- type AsyncCollectClassNamesCommand
- type AsyncCollectClassNamesFromSubtreeCommand
- type AsyncCollectGarbageCommand
- type AsyncCompileScriptCommand
- type AsyncCompositingReasonsCommand
- type AsyncConfigureOverlayCommand
- type AsyncConsoleDisableCommand
- type AsyncConsoleEnableCommand
- type AsyncContinueToLocationCommand
- type AsyncCopyToCommand
- type AsyncCreateBrowserContextCommand
- type AsyncCreateStyleSheetCommand
- type AsyncCreateTargetCommand
- type AsyncDOMDisableCommand
- type AsyncDOMEnableCommand
- type AsyncDOMStorageDisableCommand
- type AsyncDOMStorageEnableCommand
- type AsyncDatabaseDisableCommand
- type AsyncDatabaseEnableCommand
- type AsyncDebuggerDisableCommand
- type AsyncDebuggerEnableCommand
- type AsyncDeleteCacheCommand
- type AsyncDeleteEntryCommand
- type AsyncDeliverPushMessageCommand
- type AsyncDetachFromTargetCommand
- type AsyncDeviceOrientationClearDeviceOrientationOverrideCommand
- type AsyncDeviceOrientationSetDeviceOrientationOverrideCommand
- type AsyncDiscardConsoleEntriesCommand
- type AsyncDiscardSearchResultsCommand
- type AsyncDispatchKeyEventCommand
- type AsyncDispatchMouseEventCommand
- type AsyncDispatchSyncEventCommand
- type AsyncDispatchTouchEventCommand
- type AsyncDisposeBrowserContextCommand
- type AsyncEmulateNetworkConditionsCommand
- type AsyncEmulateTouchFromMouseEventCommand
- type AsyncEmulationClearDeviceMetricsOverrideCommand
- type AsyncEmulationClearGeolocationOverrideCommand
- type AsyncEmulationSetDeviceMetricsOverrideCommand
- type AsyncEmulationSetGeolocationOverrideCommand
- type AsyncEmulationSetTouchEmulationEnabledCommand
- type AsyncEndCommand
- type AsyncEvaluateCommand
- type AsyncEvaluateOnCallFrameCommand
- type AsyncExecuteSQLCommand
- type AsyncFocusCommand
- type AsyncForcePseudoStateCommand
- type AsyncForceViewportCommand
- type AsyncGetAllCookiesCommand
- type AsyncGetAppManifestCommand
- type AsyncGetApplicationCacheForFrameCommand
- type AsyncGetAttributesCommand
- type AsyncGetBackgroundColorsCommand
- type AsyncGetBoxModelCommand
- type AsyncGetCategoriesCommand
- type AsyncGetCertificateCommand
- type AsyncGetComputedStyleForNodeCommand
- type AsyncGetCurrentTimeCommand
- type AsyncGetDOMCountersCommand
- type AsyncGetDOMStorageItemsCommand
- type AsyncGetDatabaseTableNamesCommand
- type AsyncGetDocumentCommand
- type AsyncGetDomainsCommand
- type AsyncGetEventListenersCommand
- type AsyncGetFramesWithManifestsCommand
- type AsyncGetHeapObjectIdCommand
- type AsyncGetHighlightObjectForTestCommand
- type AsyncGetInfoCommand
- type AsyncGetInlineStylesForNodeCommand
- type AsyncGetLayoutMetricsCommand
- type AsyncGetLayoutTreeAndStylesCommand
- type AsyncGetManifestForFrameCommand
- type AsyncGetMatchedStylesForNodeCommand
- type AsyncGetMediaQueriesCommand
- type AsyncGetNavigationHistoryCommand
- type AsyncGetNodeForLocationCommand
- type AsyncGetObjectByHeapObjectIdCommand
- type AsyncGetOuterHTMLCommand
- type AsyncGetPartialAXTreeCommand
- type AsyncGetPlatformFontsForNodeCommand
- type AsyncGetPlaybackRateCommand
- type AsyncGetPossibleBreakpointsCommand
- type AsyncGetPropertiesCommand
- type AsyncGetRelayoutBoundaryCommand
- type AsyncGetResourceContentCommand
- type AsyncGetResourceTreeCommand
- type AsyncGetResponseBodyCommand
- type AsyncGetScriptSourceCommand
- type AsyncGetSearchResultsCommand
- type AsyncGetStyleSheetTextCommand
- type AsyncGetTargetInfoCommand
- type AsyncGetTargetsCommand
- type AsyncHandleJavaScriptDialogCommand
- type AsyncHeapProfilerDisableCommand
- type AsyncHeapProfilerEnableCommand
- type AsyncHideHighlightCommand
- type AsyncHighlightFrameCommand
- type AsyncHighlightNodeCommand
- type AsyncHighlightQuadCommand
- type AsyncHighlightRectCommand
- type AsyncIndexedDBDisableCommand
- type AsyncIndexedDBEnableCommand
- type AsyncInspectWorkerCommand
- type AsyncInspectorDisableCommand
- type AsyncInspectorEnableCommand
- type AsyncLayerTreeDisableCommand
- type AsyncLayerTreeEnableCommand
- type AsyncLoadSnapshotCommand
- type AsyncLogDisableCommand
- type AsyncLogEnableCommand
- type AsyncMakeSnapshotCommand
- type AsyncMarkUndoableStateCommand
- type AsyncMoveToCommand
- type AsyncNavigateCommand
- type AsyncNavigateToHistoryEntryCommand
- type AsyncNetworkDeleteCookieCommand
- type AsyncNetworkDisableCommand
- type AsyncNetworkEnableCommand
- type AsyncNetworkGetCookiesCommand
- type AsyncPageClearDeviceMetricsOverrideCommand
- type AsyncPageClearDeviceOrientationOverrideCommand
- type AsyncPageClearGeolocationOverrideCommand
- type AsyncPageDeleteCookieCommand
- type AsyncPageDisableCommand
- type AsyncPageEnableCommand
- type AsyncPageGetCookiesCommand
- type AsyncPageSetDeviceMetricsOverrideCommand
- type AsyncPageSetDeviceOrientationOverrideCommand
- type AsyncPageSetGeolocationOverrideCommand
- type AsyncPageSetTouchEmulationEnabledCommand
- type AsyncPauseCommand
- type AsyncPerformSearchCommand
- type AsyncProcessNavigationCommand
- type AsyncProfileSnapshotCommand
- type AsyncProfilerDisableCommand
- type AsyncProfilerEnableCommand
- type AsyncProfilerStartCommand
- type AsyncPushNodeByPathToFrontendCommand
- type AsyncPushNodesByBackendIdsToFrontendCommand
- type AsyncQuerySelectorAllCommand
- type AsyncQuerySelectorCommand
- type AsyncReadCommand
- type AsyncRecordClockSyncMarkerCommand
- type AsyncRedoCommand
- type AsyncReleaseAnimationsCommand
- type AsyncReleaseObjectCommand
- type AsyncReleaseObjectGroupCommand
- type AsyncReleaseSnapshotCommand
- type AsyncReloadCommand
- type AsyncRemoveAttributeCommand
- type AsyncRemoveBlockedURLCommand
- type AsyncRemoveBreakpointCommand
- type AsyncRemoveDOMBreakpointCommand
- type AsyncRemoveDOMStorageItemCommand
- type AsyncRemoveEventListenerBreakpointCommand
- type AsyncRemoveInstrumentationBreakpointCommand
- type AsyncRemoveNodeCommand
- type AsyncRemoveScriptToEvaluateOnLoadCommand
- type AsyncRemoveXHRBreakpointCommand
- type AsyncReplaySnapshotCommand
- type AsyncReplayXHRCommand
- type AsyncRequestAppBannerCommand
- type AsyncRequestCacheNamesCommand
- type AsyncRequestChildNodesCommand
- type AsyncRequestDataCommand
- type AsyncRequestDatabaseCommand
- type AsyncRequestDatabaseNamesCommand
- type AsyncRequestEntriesCommand
- type AsyncRequestMemoryDumpCommand
- type AsyncRequestNodeCommand
- type AsyncResetPageScaleFactorCommand
- type AsyncResetViewportCommand
- type AsyncResolveAnimationCommand
- type AsyncResolveNodeCommand
- type AsyncRestartFrameCommand
- type AsyncResumeCommand
- type AsyncRunIfWaitingForDebuggerCommand
- type AsyncRunScriptCommand
- type AsyncRuntimeDisableCommand
- type AsyncRuntimeEnableCommand
- type AsyncScreencastFrameAckCommand
- type AsyncSearchInContentCommand
- type AsyncSearchInResourceCommand
- type AsyncSecurityDisableCommand
- type AsyncSecurityEnableCommand
- type AsyncSeekAnimationsCommand
- type AsyncSendMessageToTargetCommand
- type AsyncServiceWorkerDisableCommand
- type AsyncServiceWorkerEnableCommand
- type AsyncSetAsyncCallStackDepthCommand
- type AsyncSetAttachToFramesCommand
- type AsyncSetAttributeValueCommand
- type AsyncSetAttributesAsTextCommand
- type AsyncSetAutoAttachCommand
- type AsyncSetAutoAttachToCreatedPagesCommand
- type AsyncSetBlackboxPatternsCommand
- type AsyncSetBlackboxedRangesCommand
- type AsyncSetBreakpointByUrlCommand
- type AsyncSetBreakpointCommand
- type AsyncSetBreakpointsActiveCommand
- type AsyncSetBypassServiceWorkerCommand
- type AsyncSetCPUThrottlingRateCommand
- type AsyncSetCacheDisabledCommand
- type AsyncSetColorPickerEnabledCommand
- type AsyncSetControlNavigationsCommand
- type AsyncSetCookieCommand
- type AsyncSetCustomObjectFormatterEnabledCommand
- type AsyncSetDOMBreakpointCommand
- type AsyncSetDOMStorageItemCommand
- type AsyncSetDataSizeLimitsForTestCommand
- type AsyncSetDiscoverTargetsCommand
- type AsyncSetDocumentContentCommand
- type AsyncSetEffectivePropertyValueForNodeCommand
- type AsyncSetEmulatedMediaCommand
- type AsyncSetEventListenerBreakpointCommand
- type AsyncSetExtraHTTPHeadersCommand
- type AsyncSetFileInputFilesCommand
- type AsyncSetForceUpdateOnPageLoadCommand
- type AsyncSetInspectModeCommand
- type AsyncSetInspectedNodeCommand
- type AsyncSetInstrumentationBreakpointCommand
- type AsyncSetKeyframeKeyCommand
- type AsyncSetMediaTextCommand
- type AsyncSetMonitoringXHREnabledCommand
- type AsyncSetNodeNameCommand
- type AsyncSetNodeValueCommand
- type AsyncSetOuterHTMLCommand
- type AsyncSetPageScaleFactorCommand
- type AsyncSetPauseOnExceptionsCommand
- type AsyncSetPausedCommand
- type AsyncSetPlaybackRateCommand
- type AsyncSetPressureNotificationsSuppressedCommand
- type AsyncSetRemoteLocationsCommand
- type AsyncSetRuleSelectorCommand
- type AsyncSetSamplingIntervalCommand
- type AsyncSetScriptExecutionDisabledCommand
- type AsyncSetScriptSourceCommand
- type AsyncSetShowDebugBordersCommand
- type AsyncSetShowFPSCounterCommand
- type AsyncSetShowPaintRectsCommand
- type AsyncSetShowScrollBottleneckRectsCommand
- type AsyncSetShowViewportSizeOnResizeCommand
- type AsyncSetSkipAllPausesCommand
- type AsyncSetStyleSheetTextCommand
- type AsyncSetStyleTextsCommand
- type AsyncSetTimingCommand
- type AsyncSetUserAgentOverrideCommand
- type AsyncSetVariableValueCommand
- type AsyncSetVirtualTimePolicyCommand
- type AsyncSetVisibleSizeCommand
- type AsyncSetXHRBreakpointCommand
- type AsyncShowCertificateViewerCommand
- type AsyncSimulatePressureNotificationCommand
- type AsyncSkipWaitingCommand
- type AsyncSnapshotCommandLogCommand
- type AsyncStartRuleUsageTrackingCommand
- type AsyncStartSamplingCommand
- type AsyncStartScreencastCommand
- type AsyncStartTrackingHeapObjectsCommand
- type AsyncStartViolationsReportCommand
- type AsyncStartWorkerCommand
- type AsyncStepIntoCommand
- type AsyncStepOutCommand
- type AsyncStepOverCommand
- type AsyncStopCommand
- type AsyncStopLoadingCommand
- type AsyncStopRuleUsageTrackingCommand
- type AsyncStopSamplingCommand
- type AsyncStopScreencastCommand
- type AsyncStopTrackingHeapObjectsCommand
- type AsyncStopViolationsReportCommand
- type AsyncStopWorkerCommand
- type AsyncSynthesizePinchGestureCommand
- type AsyncSynthesizeScrollGestureCommand
- type AsyncSynthesizeTapGestureCommand
- type AsyncTakeHeapSnapshotCommand
- type AsyncTracingStartCommand
- type AsyncUnbindCommand
- type AsyncUndoCommand
- type AsyncUnregisterCommand
- type AsyncUpdateRegistrationCommand
- type AttachToTargetCB
- type AttachToTargetCommand
- type AttachToTargetParams
- type AttachToTargetResult
- type AttachedToTargetEvent
- type AttributeModifiedEvent
- type AttributeRemovedEvent
- type AwaitPromiseCB
- type AwaitPromiseCommand
- type AwaitPromiseParams
- type AwaitPromiseResult
- type BackendNode
- type BackendNodeId
- type BindCB
- type BindCommand
- type BindParams
- type BlockedReason
- type BoxModel
- type BreakpointId
- type BreakpointResolvedEvent
- type BrowserContextID
- type BufferUsageEvent
- type CSSComputedStyleProperty
- type CSSDisableCB
- type CSSDisableCommand
- type CSSEnableCB
- type CSSEnableCommand
- type CSSKeyframeRule
- type CSSKeyframesRule
- type CSSMedia
- type CSSProperty
- type CSSRule
- type CSSStyle
- type CSSStyleSheetHeader
- type Cache
- type CacheId
- type CacheStorageDataEntry
- type CachedResource
- type CallArgument
- type CallFrameId
- type CallFunctionOnCB
- type CallFunctionOnCommand
- type CallFunctionOnParams
- type CallFunctionOnResult
- type CanClearBrowserCacheCB
- type CanClearBrowserCacheCommand
- func (cmd *CanClearBrowserCacheCommand) Done(data []byte, err error)
- func (cmd *CanClearBrowserCacheCommand) Name() string
- func (cmd *CanClearBrowserCacheCommand) Params() interface{}
- func (cmd *CanClearBrowserCacheCommand) Result() *CanClearBrowserCacheResult
- func (cmd *CanClearBrowserCacheCommand) Run(conn *hc.Conn) error
- type CanClearBrowserCacheResult
- type CanClearBrowserCookiesCB
- type CanClearBrowserCookiesCommand
- func (cmd *CanClearBrowserCookiesCommand) Done(data []byte, err error)
- func (cmd *CanClearBrowserCookiesCommand) Name() string
- func (cmd *CanClearBrowserCookiesCommand) Params() interface{}
- func (cmd *CanClearBrowserCookiesCommand) Result() *CanClearBrowserCookiesResult
- func (cmd *CanClearBrowserCookiesCommand) Run(conn *hc.Conn) error
- type CanClearBrowserCookiesResult
- type CanEmulateCB
- type CanEmulateCommand
- type CanEmulateNetworkConditionsCB
- type CanEmulateNetworkConditionsCommand
- func (cmd *CanEmulateNetworkConditionsCommand) Done(data []byte, err error)
- func (cmd *CanEmulateNetworkConditionsCommand) Name() string
- func (cmd *CanEmulateNetworkConditionsCommand) Params() interface{}
- func (cmd *CanEmulateNetworkConditionsCommand) Result() *CanEmulateNetworkConditionsResult
- func (cmd *CanEmulateNetworkConditionsCommand) Run(conn *hc.Conn) error
- type CanEmulateNetworkConditionsResult
- type CanEmulateResult
- type CaptureScreenshotCB
- type CaptureScreenshotCommand
- func (cmd *CaptureScreenshotCommand) Done(data []byte, err error)
- func (cmd *CaptureScreenshotCommand) Name() string
- func (cmd *CaptureScreenshotCommand) Params() interface{}
- func (cmd *CaptureScreenshotCommand) Result() *CaptureScreenshotResult
- func (cmd *CaptureScreenshotCommand) Run(conn *hc.Conn) error
- type CaptureScreenshotResult
- type CertificateId
- type CharacterDataModifiedEvent
- type ChildNodeCountUpdatedEvent
- type ChildNodeInsertedEvent
- type ChildNodeRemovedEvent
- type ClearBrowserCacheCB
- type ClearBrowserCacheCommand
- type ClearBrowserCookiesCB
- type ClearBrowserCookiesCommand
- type ClearCB
- type ClearCommand
- type ClearDataForOriginCB
- type ClearDataForOriginCommand
- type ClearDataForOriginParams
- type ClearMessagesCB
- type ClearMessagesCommand
- type ClearObjectStoreCB
- type ClearObjectStoreCommand
- type ClearObjectStoreParams
- type CloseCB
- type CloseCommand
- type CloseParams
- type CloseTargetCB
- type CloseTargetCommand
- type CloseTargetParams
- type CloseTargetResult
- type CollectClassNamesCB
- type CollectClassNamesCommand
- func (cmd *CollectClassNamesCommand) Done(data []byte, err error)
- func (cmd *CollectClassNamesCommand) Name() string
- func (cmd *CollectClassNamesCommand) Params() interface{}
- func (cmd *CollectClassNamesCommand) Result() *CollectClassNamesResult
- func (cmd *CollectClassNamesCommand) Run(conn *hc.Conn) error
- type CollectClassNamesFromSubtreeCB
- type CollectClassNamesFromSubtreeCommand
- func (cmd *CollectClassNamesFromSubtreeCommand) Done(data []byte, err error)
- func (cmd *CollectClassNamesFromSubtreeCommand) Name() string
- func (cmd *CollectClassNamesFromSubtreeCommand) Params() interface{}
- func (cmd *CollectClassNamesFromSubtreeCommand) Result() *CollectClassNamesFromSubtreeResult
- func (cmd *CollectClassNamesFromSubtreeCommand) Run(conn *hc.Conn) error
- type CollectClassNamesFromSubtreeParams
- type CollectClassNamesFromSubtreeResult
- type CollectClassNamesParams
- type CollectClassNamesResult
- type CollectGarbageCB
- type CollectGarbageCommand
- type ColorPickedEvent
- type CompileScriptCB
- type CompileScriptCommand
- type CompileScriptParams
- type CompileScriptResult
- type CompositingReasonsCB
- type CompositingReasonsCommand
- func (cmd *CompositingReasonsCommand) Done(data []byte, err error)
- func (cmd *CompositingReasonsCommand) Name() string
- func (cmd *CompositingReasonsCommand) Params() interface{}
- func (cmd *CompositingReasonsCommand) Result() *CompositingReasonsResult
- func (cmd *CompositingReasonsCommand) Run(conn *hc.Conn) error
- type CompositingReasonsParams
- type CompositingReasonsResult
- type ComputedStyle
- type ConfigureOverlayCB
- type ConfigureOverlayCommand
- type ConfigureOverlayParams
- type ConnectionType
- type ConsoleAPICalledEvent
- type ConsoleDisableCB
- type ConsoleDisableCommand
- type ConsoleEnableCB
- type ConsoleEnableCommand
- type ConsoleMessage
- type ConsoleProfileFinishedEvent
- type ConsoleProfileStartedEvent
- type ContinueToLocationCB
- type ContinueToLocationCommand
- type ContinueToLocationParams
- type Cookie
- type CookieSameSite
- type CopyToCB
- type CopyToCommand
- type CopyToParams
- type CopyToResult
- type CreateBrowserContextCB
- type CreateBrowserContextCommand
- func (cmd *CreateBrowserContextCommand) Done(data []byte, err error)
- func (cmd *CreateBrowserContextCommand) Name() string
- func (cmd *CreateBrowserContextCommand) Params() interface{}
- func (cmd *CreateBrowserContextCommand) Result() *CreateBrowserContextResult
- func (cmd *CreateBrowserContextCommand) Run(conn *hc.Conn) error
- type CreateBrowserContextResult
- type CreateStyleSheetCB
- type CreateStyleSheetCommand
- func (cmd *CreateStyleSheetCommand) Done(data []byte, err error)
- func (cmd *CreateStyleSheetCommand) Name() string
- func (cmd *CreateStyleSheetCommand) Params() interface{}
- func (cmd *CreateStyleSheetCommand) Result() *CreateStyleSheetResult
- func (cmd *CreateStyleSheetCommand) Run(conn *hc.Conn) error
- type CreateStyleSheetParams
- type CreateStyleSheetResult
- type CreateTargetCB
- type CreateTargetCommand
- type CreateTargetParams
- type CreateTargetResult
- type CustomPreview
- type DOMBreakpointType
- type DOMDisableCB
- type DOMDisableCommand
- type DOMEnableCB
- type DOMEnableCommand
- type DOMStorageDisableCB
- type DOMStorageDisableCommand
- type DOMStorageEnableCB
- type DOMStorageEnableCommand
- type DataCollectedEvent
- type DataReceivedEvent
- type Database
- type DatabaseDisableCB
- type DatabaseDisableCommand
- type DatabaseEnableCB
- type DatabaseEnableCommand
- type DatabaseId
- type DatabaseWithObjectStores
- type DebuggerCallFrame
- type DebuggerDisableCB
- type DebuggerDisableCommand
- type DebuggerEnableCB
- type DebuggerEnableCommand
- type DeleteCacheCB
- type DeleteCacheCommand
- type DeleteCacheParams
- type DeleteEntryCB
- type DeleteEntryCommand
- type DeleteEntryParams
- type DeliverPushMessageCB
- type DeliverPushMessageCommand
- type DeliverPushMessageParams
- type DetachFromTargetCB
- type DetachFromTargetCommand
- type DetachFromTargetParams
- type DetachedEvent
- type DetachedFromTargetEvent
- type DeviceOrientationClearDeviceOrientationOverrideCB
- type DeviceOrientationClearDeviceOrientationOverrideCommand
- func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Done(data []byte, err error)
- func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Name() string
- func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Params() interface{}
- func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Run(conn *hc.Conn) error
- type DeviceOrientationSetDeviceOrientationOverrideCB
- type DeviceOrientationSetDeviceOrientationOverrideCommand
- func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Done(data []byte, err error)
- func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Name() string
- func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Params() interface{}
- func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Run(conn *hc.Conn) error
- type DeviceOrientationSetDeviceOrientationOverrideParams
- type DialogType
- type DiscardConsoleEntriesCB
- type DiscardConsoleEntriesCommand
- type DiscardSearchResultsCB
- type DiscardSearchResultsCommand
- type DiscardSearchResultsParams
- type DispatchKeyEventCB
- type DispatchKeyEventCommand
- type DispatchKeyEventParams
- type DispatchMouseEventCB
- type DispatchMouseEventCommand
- type DispatchMouseEventParams
- type DispatchSyncEventCB
- type DispatchSyncEventCommand
- type DispatchSyncEventParams
- type DispatchTouchEventCB
- type DispatchTouchEventCommand
- type DispatchTouchEventParams
- type DisposeBrowserContextCB
- type DisposeBrowserContextCommand
- func (cmd *DisposeBrowserContextCommand) Done(data []byte, err error)
- func (cmd *DisposeBrowserContextCommand) Name() string
- func (cmd *DisposeBrowserContextCommand) Params() interface{}
- func (cmd *DisposeBrowserContextCommand) Result() *DisposeBrowserContextResult
- func (cmd *DisposeBrowserContextCommand) Run(conn *hc.Conn) error
- type DisposeBrowserContextParams
- type DisposeBrowserContextResult
- type DistributedNodesUpdatedEvent
- type DocumentUpdatedEvent
- type DomContentEventFiredEvent
- type DomStorageItemAddedEvent
- type DomStorageItemRemovedEvent
- type DomStorageItemUpdatedEvent
- type DomStorageItemsClearedEvent
- type Domain
- type EmulateNetworkConditionsCB
- type EmulateNetworkConditionsCommand
- type EmulateNetworkConditionsParams
- type EmulateTouchFromMouseEventCB
- type EmulateTouchFromMouseEventCommand
- type EmulateTouchFromMouseEventParams
- type EmulationClearDeviceMetricsOverrideCB
- type EmulationClearDeviceMetricsOverrideCommand
- func (cmd *EmulationClearDeviceMetricsOverrideCommand) Done(data []byte, err error)
- func (cmd *EmulationClearDeviceMetricsOverrideCommand) Name() string
- func (cmd *EmulationClearDeviceMetricsOverrideCommand) Params() interface{}
- func (cmd *EmulationClearDeviceMetricsOverrideCommand) Run(conn *hc.Conn) error
- type EmulationClearGeolocationOverrideCB
- type EmulationClearGeolocationOverrideCommand
- func (cmd *EmulationClearGeolocationOverrideCommand) Done(data []byte, err error)
- func (cmd *EmulationClearGeolocationOverrideCommand) Name() string
- func (cmd *EmulationClearGeolocationOverrideCommand) Params() interface{}
- func (cmd *EmulationClearGeolocationOverrideCommand) Run(conn *hc.Conn) error
- type EmulationSetDeviceMetricsOverrideCB
- type EmulationSetDeviceMetricsOverrideCommand
- func (cmd *EmulationSetDeviceMetricsOverrideCommand) Done(data []byte, err error)
- func (cmd *EmulationSetDeviceMetricsOverrideCommand) Name() string
- func (cmd *EmulationSetDeviceMetricsOverrideCommand) Params() interface{}
- func (cmd *EmulationSetDeviceMetricsOverrideCommand) Run(conn *hc.Conn) error
- type EmulationSetDeviceMetricsOverrideParams
- type EmulationSetGeolocationOverrideCB
- type EmulationSetGeolocationOverrideCommand
- type EmulationSetGeolocationOverrideParams
- type EmulationSetTouchEmulationEnabledCB
- type EmulationSetTouchEmulationEnabledCommand
- func (cmd *EmulationSetTouchEmulationEnabledCommand) Done(data []byte, err error)
- func (cmd *EmulationSetTouchEmulationEnabledCommand) Name() string
- func (cmd *EmulationSetTouchEmulationEnabledCommand) Params() interface{}
- func (cmd *EmulationSetTouchEmulationEnabledCommand) Run(conn *hc.Conn) error
- type EmulationSetTouchEmulationEnabledParams
- type EndCB
- type EndCommand
- type EntryAddedEvent
- type EntryPreview
- type Error
- type EvaluateCB
- type EvaluateCommand
- type EvaluateOnCallFrameCB
- type EvaluateOnCallFrameCommand
- func (cmd *EvaluateOnCallFrameCommand) Done(data []byte, err error)
- func (cmd *EvaluateOnCallFrameCommand) Name() string
- func (cmd *EvaluateOnCallFrameCommand) Params() interface{}
- func (cmd *EvaluateOnCallFrameCommand) Result() *EvaluateOnCallFrameResult
- func (cmd *EvaluateOnCallFrameCommand) Run(conn *hc.Conn) error
- type EvaluateOnCallFrameParams
- type EvaluateOnCallFrameResult
- type EvaluateParams
- type EvaluateResult
- type EventListener
- type EventSourceMessageReceivedEvent
- type ExceptionDetails
- type ExceptionRevokedEvent
- type ExceptionThrownEvent
- type ExecuteSQLCB
- type ExecuteSQLCommand
- type ExecuteSQLParams
- type ExecuteSQLResult
- type ExecutionContextCreatedEvent
- type ExecutionContextDescription
- type ExecutionContextDestroyedEvent
- type ExecutionContextId
- type ExecutionContextsClearedEvent
- type FocusCB
- type FocusCommand
- type FocusParams
- type FontsUpdatedEvent
- type ForcePseudoStateCB
- type ForcePseudoStateCommand
- type ForcePseudoStateParams
- type ForceViewportCB
- type ForceViewportCommand
- type ForceViewportParams
- type Frame
- type FrameAttachedEvent
- type FrameClearedScheduledNavigationEvent
- type FrameDetachedEvent
- type FrameId
- type FrameNavigatedEvent
- type FrameResizedEvent
- type FrameResource
- type FrameResourceTree
- type FrameScheduledNavigationEvent
- type FrameStartedLoadingEvent
- type FrameStoppedLoadingEvent
- type FrameWithManifest
- type GPUDevice
- type GPUInfo
- type GestureSourceType
- type GetAllCookiesCB
- type GetAllCookiesCommand
- type GetAllCookiesResult
- type GetAppManifestCB
- type GetAppManifestCommand
- type GetAppManifestResult
- type GetApplicationCacheForFrameCB
- type GetApplicationCacheForFrameCommand
- func (cmd *GetApplicationCacheForFrameCommand) Done(data []byte, err error)
- func (cmd *GetApplicationCacheForFrameCommand) Name() string
- func (cmd *GetApplicationCacheForFrameCommand) Params() interface{}
- func (cmd *GetApplicationCacheForFrameCommand) Result() *GetApplicationCacheForFrameResult
- func (cmd *GetApplicationCacheForFrameCommand) Run(conn *hc.Conn) error
- type GetApplicationCacheForFrameParams
- type GetApplicationCacheForFrameResult
- type GetAttributesCB
- type GetAttributesCommand
- type GetAttributesParams
- type GetAttributesResult
- type GetBackgroundColorsCB
- type GetBackgroundColorsCommand
- func (cmd *GetBackgroundColorsCommand) Done(data []byte, err error)
- func (cmd *GetBackgroundColorsCommand) Name() string
- func (cmd *GetBackgroundColorsCommand) Params() interface{}
- func (cmd *GetBackgroundColorsCommand) Result() *GetBackgroundColorsResult
- func (cmd *GetBackgroundColorsCommand) Run(conn *hc.Conn) error
- type GetBackgroundColorsParams
- type GetBackgroundColorsResult
- type GetBoxModelCB
- type GetBoxModelCommand
- type GetBoxModelParams
- type GetBoxModelResult
- type GetCategoriesCB
- type GetCategoriesCommand
- type GetCategoriesResult
- type GetCertificateCB
- type GetCertificateCommand
- type GetCertificateParams
- type GetCertificateResult
- type GetComputedStyleForNodeCB
- type GetComputedStyleForNodeCommand
- func (cmd *GetComputedStyleForNodeCommand) Done(data []byte, err error)
- func (cmd *GetComputedStyleForNodeCommand) Name() string
- func (cmd *GetComputedStyleForNodeCommand) Params() interface{}
- func (cmd *GetComputedStyleForNodeCommand) Result() *GetComputedStyleForNodeResult
- func (cmd *GetComputedStyleForNodeCommand) Run(conn *hc.Conn) error
- type GetComputedStyleForNodeParams
- type GetComputedStyleForNodeResult
- type GetCurrentTimeCB
- type GetCurrentTimeCommand
- type GetCurrentTimeParams
- type GetCurrentTimeResult
- type GetDOMCountersCB
- type GetDOMCountersCommand
- type GetDOMCountersResult
- type GetDOMStorageItemsCB
- type GetDOMStorageItemsCommand
- func (cmd *GetDOMStorageItemsCommand) Done(data []byte, err error)
- func (cmd *GetDOMStorageItemsCommand) Name() string
- func (cmd *GetDOMStorageItemsCommand) Params() interface{}
- func (cmd *GetDOMStorageItemsCommand) Result() *GetDOMStorageItemsResult
- func (cmd *GetDOMStorageItemsCommand) Run(conn *hc.Conn) error
- type GetDOMStorageItemsParams
- type GetDOMStorageItemsResult
- type GetDatabaseTableNamesCB
- type GetDatabaseTableNamesCommand
- func (cmd *GetDatabaseTableNamesCommand) Done(data []byte, err error)
- func (cmd *GetDatabaseTableNamesCommand) Name() string
- func (cmd *GetDatabaseTableNamesCommand) Params() interface{}
- func (cmd *GetDatabaseTableNamesCommand) Result() *GetDatabaseTableNamesResult
- func (cmd *GetDatabaseTableNamesCommand) Run(conn *hc.Conn) error
- type GetDatabaseTableNamesParams
- type GetDatabaseTableNamesResult
- type GetDocumentCB
- type GetDocumentCommand
- type GetDocumentParams
- type GetDocumentResult
- type GetDomainsCB
- type GetDomainsCommand
- type GetDomainsResult
- type GetEventListenersCB
- type GetEventListenersCommand
- func (cmd *GetEventListenersCommand) Done(data []byte, err error)
- func (cmd *GetEventListenersCommand) Name() string
- func (cmd *GetEventListenersCommand) Params() interface{}
- func (cmd *GetEventListenersCommand) Result() *GetEventListenersResult
- func (cmd *GetEventListenersCommand) Run(conn *hc.Conn) error
- type GetEventListenersParams
- type GetEventListenersResult
- type GetFramesWithManifestsCB
- type GetFramesWithManifestsCommand
- func (cmd *GetFramesWithManifestsCommand) Done(data []byte, err error)
- func (cmd *GetFramesWithManifestsCommand) Name() string
- func (cmd *GetFramesWithManifestsCommand) Params() interface{}
- func (cmd *GetFramesWithManifestsCommand) Result() *GetFramesWithManifestsResult
- func (cmd *GetFramesWithManifestsCommand) Run(conn *hc.Conn) error
- type GetFramesWithManifestsResult
- type GetHeapObjectIdCB
- type GetHeapObjectIdCommand
- type GetHeapObjectIdParams
- type GetHeapObjectIdResult
- type GetHighlightObjectForTestCB
- type GetHighlightObjectForTestCommand
- func (cmd *GetHighlightObjectForTestCommand) Done(data []byte, err error)
- func (cmd *GetHighlightObjectForTestCommand) Name() string
- func (cmd *GetHighlightObjectForTestCommand) Params() interface{}
- func (cmd *GetHighlightObjectForTestCommand) Result() *GetHighlightObjectForTestResult
- func (cmd *GetHighlightObjectForTestCommand) Run(conn *hc.Conn) error
- type GetHighlightObjectForTestParams
- type GetHighlightObjectForTestResult
- type GetInfoCB
- type GetInfoCommand
- type GetInfoResult
- type GetInlineStylesForNodeCB
- type GetInlineStylesForNodeCommand
- func (cmd *GetInlineStylesForNodeCommand) Done(data []byte, err error)
- func (cmd *GetInlineStylesForNodeCommand) Name() string
- func (cmd *GetInlineStylesForNodeCommand) Params() interface{}
- func (cmd *GetInlineStylesForNodeCommand) Result() *GetInlineStylesForNodeResult
- func (cmd *GetInlineStylesForNodeCommand) Run(conn *hc.Conn) error
- type GetInlineStylesForNodeParams
- type GetInlineStylesForNodeResult
- type GetLayoutMetricsCB
- type GetLayoutMetricsCommand
- func (cmd *GetLayoutMetricsCommand) Done(data []byte, err error)
- func (cmd *GetLayoutMetricsCommand) Name() string
- func (cmd *GetLayoutMetricsCommand) Params() interface{}
- func (cmd *GetLayoutMetricsCommand) Result() *GetLayoutMetricsResult
- func (cmd *GetLayoutMetricsCommand) Run(conn *hc.Conn) error
- type GetLayoutMetricsResult
- type GetLayoutTreeAndStylesCB
- type GetLayoutTreeAndStylesCommand
- func (cmd *GetLayoutTreeAndStylesCommand) Done(data []byte, err error)
- func (cmd *GetLayoutTreeAndStylesCommand) Name() string
- func (cmd *GetLayoutTreeAndStylesCommand) Params() interface{}
- func (cmd *GetLayoutTreeAndStylesCommand) Result() *GetLayoutTreeAndStylesResult
- func (cmd *GetLayoutTreeAndStylesCommand) Run(conn *hc.Conn) error
- type GetLayoutTreeAndStylesParams
- type GetLayoutTreeAndStylesResult
- type GetManifestForFrameCB
- type GetManifestForFrameCommand
- func (cmd *GetManifestForFrameCommand) Done(data []byte, err error)
- func (cmd *GetManifestForFrameCommand) Name() string
- func (cmd *GetManifestForFrameCommand) Params() interface{}
- func (cmd *GetManifestForFrameCommand) Result() *GetManifestForFrameResult
- func (cmd *GetManifestForFrameCommand) Run(conn *hc.Conn) error
- type GetManifestForFrameParams
- type GetManifestForFrameResult
- type GetMatchedStylesForNodeCB
- type GetMatchedStylesForNodeCommand
- func (cmd *GetMatchedStylesForNodeCommand) Done(data []byte, err error)
- func (cmd *GetMatchedStylesForNodeCommand) Name() string
- func (cmd *GetMatchedStylesForNodeCommand) Params() interface{}
- func (cmd *GetMatchedStylesForNodeCommand) Result() *GetMatchedStylesForNodeResult
- func (cmd *GetMatchedStylesForNodeCommand) Run(conn *hc.Conn) error
- type GetMatchedStylesForNodeParams
- type GetMatchedStylesForNodeResult
- type GetMediaQueriesCB
- type GetMediaQueriesCommand
- type GetMediaQueriesResult
- type GetNavigationHistoryCB
- type GetNavigationHistoryCommand
- func (cmd *GetNavigationHistoryCommand) Done(data []byte, err error)
- func (cmd *GetNavigationHistoryCommand) Name() string
- func (cmd *GetNavigationHistoryCommand) Params() interface{}
- func (cmd *GetNavigationHistoryCommand) Result() *GetNavigationHistoryResult
- func (cmd *GetNavigationHistoryCommand) Run(conn *hc.Conn) error
- type GetNavigationHistoryResult
- type GetNodeForLocationCB
- type GetNodeForLocationCommand
- func (cmd *GetNodeForLocationCommand) Done(data []byte, err error)
- func (cmd *GetNodeForLocationCommand) Name() string
- func (cmd *GetNodeForLocationCommand) Params() interface{}
- func (cmd *GetNodeForLocationCommand) Result() *GetNodeForLocationResult
- func (cmd *GetNodeForLocationCommand) Run(conn *hc.Conn) error
- type GetNodeForLocationParams
- type GetNodeForLocationResult
- type GetObjectByHeapObjectIdCB
- type GetObjectByHeapObjectIdCommand
- func (cmd *GetObjectByHeapObjectIdCommand) Done(data []byte, err error)
- func (cmd *GetObjectByHeapObjectIdCommand) Name() string
- func (cmd *GetObjectByHeapObjectIdCommand) Params() interface{}
- func (cmd *GetObjectByHeapObjectIdCommand) Result() *GetObjectByHeapObjectIdResult
- func (cmd *GetObjectByHeapObjectIdCommand) Run(conn *hc.Conn) error
- type GetObjectByHeapObjectIdParams
- type GetObjectByHeapObjectIdResult
- type GetOuterHTMLCB
- type GetOuterHTMLCommand
- type GetOuterHTMLParams
- type GetOuterHTMLResult
- type GetPartialAXTreeCB
- type GetPartialAXTreeCommand
- func (cmd *GetPartialAXTreeCommand) Done(data []byte, err error)
- func (cmd *GetPartialAXTreeCommand) Name() string
- func (cmd *GetPartialAXTreeCommand) Params() interface{}
- func (cmd *GetPartialAXTreeCommand) Result() *GetPartialAXTreeResult
- func (cmd *GetPartialAXTreeCommand) Run(conn *hc.Conn) error
- type GetPartialAXTreeParams
- type GetPartialAXTreeResult
- type GetPlatformFontsForNodeCB
- type GetPlatformFontsForNodeCommand
- func (cmd *GetPlatformFontsForNodeCommand) Done(data []byte, err error)
- func (cmd *GetPlatformFontsForNodeCommand) Name() string
- func (cmd *GetPlatformFontsForNodeCommand) Params() interface{}
- func (cmd *GetPlatformFontsForNodeCommand) Result() *GetPlatformFontsForNodeResult
- func (cmd *GetPlatformFontsForNodeCommand) Run(conn *hc.Conn) error
- type GetPlatformFontsForNodeParams
- type GetPlatformFontsForNodeResult
- type GetPlaybackRateCB
- type GetPlaybackRateCommand
- type GetPlaybackRateResult
- type GetPossibleBreakpointsCB
- type GetPossibleBreakpointsCommand
- func (cmd *GetPossibleBreakpointsCommand) Done(data []byte, err error)
- func (cmd *GetPossibleBreakpointsCommand) Name() string
- func (cmd *GetPossibleBreakpointsCommand) Params() interface{}
- func (cmd *GetPossibleBreakpointsCommand) Result() *GetPossibleBreakpointsResult
- func (cmd *GetPossibleBreakpointsCommand) Run(conn *hc.Conn) error
- type GetPossibleBreakpointsParams
- type GetPossibleBreakpointsResult
- type GetPropertiesCB
- type GetPropertiesCommand
- type GetPropertiesParams
- type GetPropertiesResult
- type GetRelayoutBoundaryCB
- type GetRelayoutBoundaryCommand
- func (cmd *GetRelayoutBoundaryCommand) Done(data []byte, err error)
- func (cmd *GetRelayoutBoundaryCommand) Name() string
- func (cmd *GetRelayoutBoundaryCommand) Params() interface{}
- func (cmd *GetRelayoutBoundaryCommand) Result() *GetRelayoutBoundaryResult
- func (cmd *GetRelayoutBoundaryCommand) Run(conn *hc.Conn) error
- type GetRelayoutBoundaryParams
- type GetRelayoutBoundaryResult
- type GetResourceContentCB
- type GetResourceContentCommand
- func (cmd *GetResourceContentCommand) Done(data []byte, err error)
- func (cmd *GetResourceContentCommand) Name() string
- func (cmd *GetResourceContentCommand) Params() interface{}
- func (cmd *GetResourceContentCommand) Result() *GetResourceContentResult
- func (cmd *GetResourceContentCommand) Run(conn *hc.Conn) error
- type GetResourceContentParams
- type GetResourceContentResult
- type GetResourceTreeCB
- type GetResourceTreeCommand
- type GetResourceTreeResult
- type GetResponseBodyCB
- type GetResponseBodyCommand
- type GetResponseBodyParams
- type GetResponseBodyResult
- type GetScriptSourceCB
- type GetScriptSourceCommand
- type GetScriptSourceParams
- type GetScriptSourceResult
- type GetSearchResultsCB
- type GetSearchResultsCommand
- func (cmd *GetSearchResultsCommand) Done(data []byte, err error)
- func (cmd *GetSearchResultsCommand) Name() string
- func (cmd *GetSearchResultsCommand) Params() interface{}
- func (cmd *GetSearchResultsCommand) Result() *GetSearchResultsResult
- func (cmd *GetSearchResultsCommand) Run(conn *hc.Conn) error
- type GetSearchResultsParams
- type GetSearchResultsResult
- type GetStyleSheetTextCB
- type GetStyleSheetTextCommand
- func (cmd *GetStyleSheetTextCommand) Done(data []byte, err error)
- func (cmd *GetStyleSheetTextCommand) Name() string
- func (cmd *GetStyleSheetTextCommand) Params() interface{}
- func (cmd *GetStyleSheetTextCommand) Result() *GetStyleSheetTextResult
- func (cmd *GetStyleSheetTextCommand) Run(conn *hc.Conn) error
- type GetStyleSheetTextParams
- type GetStyleSheetTextResult
- type GetTargetInfoCB
- type GetTargetInfoCommand
- type GetTargetInfoParams
- type GetTargetInfoResult
- type GetTargetsCB
- type GetTargetsCommand
- type GetTargetsResult
- type HandleJavaScriptDialogCB
- type HandleJavaScriptDialogCommand
- type HandleJavaScriptDialogParams
- type Headers
- type HeapProfilerDisableCB
- type HeapProfilerDisableCommand
- type HeapProfilerEnableCB
- type HeapProfilerEnableCommand
- type HeapSnapshotObjectId
- type HeapStatsUpdateEvent
- type HideHighlightCB
- type HideHighlightCommand
- type HighlightConfig
- type HighlightFrameCB
- type HighlightFrameCommand
- type HighlightFrameParams
- type HighlightNodeCB
- type HighlightNodeCommand
- type HighlightNodeParams
- type HighlightQuadCB
- type HighlightQuadCommand
- type HighlightQuadParams
- type HighlightRectCB
- type HighlightRectCommand
- type HighlightRectParams
- type IndexedDBDataEntry
- type IndexedDBDisableCB
- type IndexedDBDisableCommand
- type IndexedDBEnableCB
- type IndexedDBEnableCommand
- type InheritedStyleEntry
- type Initiator
- type InlineStyleInvalidatedEvent
- type InlineTextBox
- type InsecureContentStatus
- type InspectMode
- type InspectNodeRequestedEvent
- type InspectRequestedEvent
- type InspectWorkerCB
- type InspectWorkerCommand
- type InspectWorkerParams
- type InspectorDisableCB
- type InspectorDisableCommand
- type InspectorEnableCB
- type InspectorEnableCommand
- type InternalPropertyDescriptor
- type InterstitialHiddenEvent
- type InterstitialShownEvent
- type Item
- type JavascriptDialogClosedEvent
- type JavascriptDialogOpeningEvent
- type Key
- type KeyPath
- type KeyRange
- type KeyframeStyle
- type KeyframesRule
- type LastSeenObjectIdEvent
- type Layer
- type LayerId
- type LayerPaintedEvent
- type LayerTreeDidChangeEvent
- type LayerTreeDisableCB
- type LayerTreeDisableCommand
- type LayerTreeEnableCB
- type LayerTreeEnableCommand
- type LayoutTreeNode
- type LayoutViewport
- type LoadEventFiredEvent
- type LoadSnapshotCB
- type LoadSnapshotCommand
- type LoadSnapshotParams
- type LoadSnapshotResult
- type LoaderId
- type LoadingFailedEvent
- type LoadingFinishedEvent
- type Location
- type LogDisableCB
- type LogDisableCommand
- type LogEnableCB
- type LogEnableCommand
- type LogEntry
- type MakeSnapshotCB
- type MakeSnapshotCommand
- type MakeSnapshotParams
- type MakeSnapshotResult
- type MarkUndoableStateCB
- type MarkUndoableStateCommand
- type MediaQuery
- type MediaQueryExpression
- type MediaQueryResultChangedEvent
- type MemoryDumpConfig
- type MessageAddedEvent
- type MoveToCB
- type MoveToCommand
- type MoveToParams
- type MoveToResult
- type NavigateCB
- type NavigateCommand
- type NavigateParams
- type NavigateResult
- type NavigateToHistoryEntryCB
- type NavigateToHistoryEntryCommand
- type NavigateToHistoryEntryParams
- type NavigationEntry
- type NavigationRequestedEvent
- type NavigationResponse
- type NetworkDeleteCookieCB
- type NetworkDeleteCookieCommand
- type NetworkDeleteCookieParams
- type NetworkDisableCB
- type NetworkDisableCommand
- type NetworkEnableCB
- type NetworkEnableCommand
- type NetworkEnableParams
- type NetworkGetCookiesCB
- type NetworkGetCookiesCommand
- func (cmd *NetworkGetCookiesCommand) Done(data []byte, err error)
- func (cmd *NetworkGetCookiesCommand) Name() string
- func (cmd *NetworkGetCookiesCommand) Params() interface{}
- func (cmd *NetworkGetCookiesCommand) Result() *NetworkGetCookiesResult
- func (cmd *NetworkGetCookiesCommand) Run(conn *hc.Conn) error
- type NetworkGetCookiesResult
- type NetworkStateUpdatedEvent
- type NetworkTimestamp
- type Node
- type NodeHighlightRequestedEvent
- type NodeId
- type ObjectPreview
- type ObjectStore
- type ObjectStoreIndex
- type PageClearDeviceMetricsOverrideCB
- type PageClearDeviceMetricsOverrideCommand
- type PageClearDeviceOrientationOverrideCB
- type PageClearDeviceOrientationOverrideCommand
- func (cmd *PageClearDeviceOrientationOverrideCommand) Done(data []byte, err error)
- func (cmd *PageClearDeviceOrientationOverrideCommand) Name() string
- func (cmd *PageClearDeviceOrientationOverrideCommand) Params() interface{}
- func (cmd *PageClearDeviceOrientationOverrideCommand) Run(conn *hc.Conn) error
- type PageClearGeolocationOverrideCB
- type PageClearGeolocationOverrideCommand
- type PageDeleteCookieCB
- type PageDeleteCookieCommand
- type PageDeleteCookieParams
- type PageDisableCB
- type PageDisableCommand
- type PageEnableCB
- type PageEnableCommand
- type PageGetCookiesCB
- type PageGetCookiesCommand
- type PageGetCookiesResult
- type PageSetDeviceMetricsOverrideCB
- type PageSetDeviceMetricsOverrideCommand
- type PageSetDeviceMetricsOverrideParams
- type PageSetDeviceOrientationOverrideCB
- type PageSetDeviceOrientationOverrideCommand
- type PageSetDeviceOrientationOverrideParams
- type PageSetGeolocationOverrideCB
- type PageSetGeolocationOverrideCommand
- type PageSetGeolocationOverrideParams
- type PageSetTouchEmulationEnabledCB
- type PageSetTouchEmulationEnabledCommand
- type PageSetTouchEmulationEnabledParams
- type PaintProfile
- type PauseCB
- type PauseCommand
- type PausedEvent
- type PerformSearchCB
- type PerformSearchCommand
- type PerformSearchParams
- type PerformSearchResult
- type PictureTile
- type PlatformFontUsage
- type PositionTickInfo
- type PressureLevel
- type ProcessNavigationCB
- type ProcessNavigationCommand
- type ProcessNavigationParams
- type Profile
- type ProfileNode
- type ProfileSnapshotCB
- type ProfileSnapshotCommand
- type ProfileSnapshotParams
- type ProfileSnapshotResult
- type ProfilerDisableCB
- type ProfilerDisableCommand
- type ProfilerEnableCB
- type ProfilerEnableCommand
- type ProfilerStartCB
- type ProfilerStartCommand
- type PropertyDescriptor
- type PropertyPreview
- type PseudoElementAddedEvent
- type PseudoElementMatches
- type PseudoElementRemovedEvent
- type PseudoType
- type PushNodeByPathToFrontendCB
- type PushNodeByPathToFrontendCommand
- func (cmd *PushNodeByPathToFrontendCommand) Done(data []byte, err error)
- func (cmd *PushNodeByPathToFrontendCommand) Name() string
- func (cmd *PushNodeByPathToFrontendCommand) Params() interface{}
- func (cmd *PushNodeByPathToFrontendCommand) Result() *PushNodeByPathToFrontendResult
- func (cmd *PushNodeByPathToFrontendCommand) Run(conn *hc.Conn) error
- type PushNodeByPathToFrontendParams
- type PushNodeByPathToFrontendResult
- type PushNodesByBackendIdsToFrontendCB
- type PushNodesByBackendIdsToFrontendCommand
- func (cmd *PushNodesByBackendIdsToFrontendCommand) Done(data []byte, err error)
- func (cmd *PushNodesByBackendIdsToFrontendCommand) Name() string
- func (cmd *PushNodesByBackendIdsToFrontendCommand) Params() interface{}
- func (cmd *PushNodesByBackendIdsToFrontendCommand) Result() *PushNodesByBackendIdsToFrontendResult
- func (cmd *PushNodesByBackendIdsToFrontendCommand) Run(conn *hc.Conn) error
- type PushNodesByBackendIdsToFrontendParams
- type PushNodesByBackendIdsToFrontendResult
- type Quad
- type QuerySelectorAllCB
- type QuerySelectorAllCommand
- func (cmd *QuerySelectorAllCommand) Done(data []byte, err error)
- func (cmd *QuerySelectorAllCommand) Name() string
- func (cmd *QuerySelectorAllCommand) Params() interface{}
- func (cmd *QuerySelectorAllCommand) Result() *QuerySelectorAllResult
- func (cmd *QuerySelectorAllCommand) Run(conn *hc.Conn) error
- type QuerySelectorAllParams
- type QuerySelectorAllResult
- type QuerySelectorCB
- type QuerySelectorCommand
- type QuerySelectorParams
- type QuerySelectorResult
- type RGBA
- type ReadCB
- type ReadCommand
- type ReadParams
- type ReadResult
- type ReceivedMessageFromTargetEvent
- type RecordClockSyncMarkerCB
- type RecordClockSyncMarkerCommand
- type RecordClockSyncMarkerParams
- type Rect
- type RedoCB
- type RedoCommand
- type ReleaseAnimationsCB
- type ReleaseAnimationsCommand
- type ReleaseAnimationsParams
- type ReleaseObjectCB
- type ReleaseObjectCommand
- type ReleaseObjectGroupCB
- type ReleaseObjectGroupCommand
- type ReleaseObjectGroupParams
- type ReleaseObjectParams
- type ReleaseSnapshotCB
- type ReleaseSnapshotCommand
- type ReleaseSnapshotParams
- type ReloadCB
- type ReloadCommand
- type ReloadParams
- type RemoteLocation
- type RemoteObject
- type RemoteObjectId
- type RemoveAttributeCB
- type RemoveAttributeCommand
- type RemoveAttributeParams
- type RemoveBlockedURLCB
- type RemoveBlockedURLCommand
- type RemoveBlockedURLParams
- type RemoveBreakpointCB
- type RemoveBreakpointCommand
- type RemoveBreakpointParams
- type RemoveDOMBreakpointCB
- type RemoveDOMBreakpointCommand
- type RemoveDOMBreakpointParams
- type RemoveDOMStorageItemCB
- type RemoveDOMStorageItemCommand
- type RemoveDOMStorageItemParams
- type RemoveEventListenerBreakpointCB
- type RemoveEventListenerBreakpointCommand
- type RemoveEventListenerBreakpointParams
- type RemoveInstrumentationBreakpointCB
- type RemoveInstrumentationBreakpointCommand
- type RemoveInstrumentationBreakpointParams
- type RemoveNodeCB
- type RemoveNodeCommand
- type RemoveNodeParams
- type RemoveScriptToEvaluateOnLoadCB
- type RemoveScriptToEvaluateOnLoadCommand
- type RemoveScriptToEvaluateOnLoadParams
- type RemoveXHRBreakpointCB
- type RemoveXHRBreakpointCommand
- type RemoveXHRBreakpointParams
- type ReplaySnapshotCB
- type ReplaySnapshotCommand
- type ReplaySnapshotParams
- type ReplaySnapshotResult
- type ReplayXHRCB
- type ReplayXHRCommand
- type ReplayXHRParams
- type ReportHeapSnapshotProgressEvent
- type Request
- type RequestAppBannerCB
- type RequestAppBannerCommand
- type RequestCacheNamesCB
- type RequestCacheNamesCommand
- func (cmd *RequestCacheNamesCommand) Done(data []byte, err error)
- func (cmd *RequestCacheNamesCommand) Name() string
- func (cmd *RequestCacheNamesCommand) Params() interface{}
- func (cmd *RequestCacheNamesCommand) Result() *RequestCacheNamesResult
- func (cmd *RequestCacheNamesCommand) Run(conn *hc.Conn) error
- type RequestCacheNamesParams
- type RequestCacheNamesResult
- type RequestChildNodesCB
- type RequestChildNodesCommand
- type RequestChildNodesParams
- type RequestDataCB
- type RequestDataCommand
- type RequestDataParams
- type RequestDataResult
- type RequestDatabaseCB
- type RequestDatabaseCommand
- type RequestDatabaseNamesCB
- type RequestDatabaseNamesCommand
- func (cmd *RequestDatabaseNamesCommand) Done(data []byte, err error)
- func (cmd *RequestDatabaseNamesCommand) Name() string
- func (cmd *RequestDatabaseNamesCommand) Params() interface{}
- func (cmd *RequestDatabaseNamesCommand) Result() *RequestDatabaseNamesResult
- func (cmd *RequestDatabaseNamesCommand) Run(conn *hc.Conn) error
- type RequestDatabaseNamesParams
- type RequestDatabaseNamesResult
- type RequestDatabaseParams
- type RequestDatabaseResult
- type RequestEntriesCB
- type RequestEntriesCommand
- type RequestEntriesParams
- type RequestEntriesResult
- type RequestId
- type RequestMemoryDumpCB
- type RequestMemoryDumpCommand
- func (cmd *RequestMemoryDumpCommand) Done(data []byte, err error)
- func (cmd *RequestMemoryDumpCommand) Name() string
- func (cmd *RequestMemoryDumpCommand) Params() interface{}
- func (cmd *RequestMemoryDumpCommand) Result() *RequestMemoryDumpResult
- func (cmd *RequestMemoryDumpCommand) Run(conn *hc.Conn) error
- type RequestMemoryDumpResult
- type RequestNodeCB
- type RequestNodeCommand
- type RequestNodeParams
- type RequestNodeResult
- type RequestServedFromCacheEvent
- type RequestWillBeSentEvent
- type ResetPageScaleFactorCB
- type ResetPageScaleFactorCommand
- type ResetProfilesEvent
- type ResetViewportCB
- type ResetViewportCommand
- type ResolveAnimationCB
- type ResolveAnimationCommand
- func (cmd *ResolveAnimationCommand) Done(data []byte, err error)
- func (cmd *ResolveAnimationCommand) Name() string
- func (cmd *ResolveAnimationCommand) Params() interface{}
- func (cmd *ResolveAnimationCommand) Result() *ResolveAnimationResult
- func (cmd *ResolveAnimationCommand) Run(conn *hc.Conn) error
- type ResolveAnimationParams
- type ResolveAnimationResult
- type ResolveNodeCB
- type ResolveNodeCommand
- type ResolveNodeParams
- type ResolveNodeResult
- type ResourceChangedPriorityEvent
- type ResourcePriority
- type ResourceTiming
- type ResourceType
- type Response
- type ResponseReceivedEvent
- type RestartFrameCB
- type RestartFrameCommand
- type RestartFrameParams
- type RestartFrameResult
- type ResumeCB
- type ResumeCommand
- type ResumedEvent
- type RuleMatch
- type RuleUsage
- type RunIfWaitingForDebuggerCB
- type RunIfWaitingForDebuggerCommand
- type RunScriptCB
- type RunScriptCommand
- type RunScriptParams
- type RunScriptResult
- type RuntimeCallFrame
- type RuntimeDisableCB
- type RuntimeDisableCommand
- type RuntimeEnableCB
- type RuntimeEnableCommand
- type RuntimeTimestamp
- type SamplingHeapProfile
- type SamplingHeapProfileNode
- type Scope
- type ScreenOrientation
- type ScreencastFrameAckCB
- type ScreencastFrameAckCommand
- type ScreencastFrameAckParams
- type ScreencastFrameEvent
- type ScreencastFrameMetadata
- type ScreencastVisibilityChangedEvent
- type ScriptFailedToParseEvent
- type ScriptId
- type ScriptIdentifier
- type ScriptParsedEvent
- type ScriptPosition
- type ScrollRect
- type SearchInContentCB
- type SearchInContentCommand
- type SearchInContentParams
- type SearchInContentResult
- type SearchInResourceCB
- type SearchInResourceCommand
- func (cmd *SearchInResourceCommand) Done(data []byte, err error)
- func (cmd *SearchInResourceCommand) Name() string
- func (cmd *SearchInResourceCommand) Params() interface{}
- func (cmd *SearchInResourceCommand) Result() *SearchInResourceResult
- func (cmd *SearchInResourceCommand) Run(conn *hc.Conn) error
- type SearchInResourceParams
- type SearchInResourceResult
- type SearchMatch
- type SecurityDetails
- type SecurityDisableCB
- type SecurityDisableCommand
- type SecurityEnableCB
- type SecurityEnableCommand
- type SecurityState
- type SecurityStateChangedEvent
- type SecurityStateExplanation
- type SeekAnimationsCB
- type SeekAnimationsCommand
- type SeekAnimationsParams
- type SelectorList
- type SendMessageToTargetCB
- type SendMessageToTargetCommand
- type SendMessageToTargetParams
- type ServiceWorkerDisableCB
- type ServiceWorkerDisableCommand
- type ServiceWorkerEnableCB
- type ServiceWorkerEnableCommand
- type ServiceWorkerErrorMessage
- type ServiceWorkerRegistration
- type ServiceWorkerVersion
- type ServiceWorkerVersionRunningStatus
- type ServiceWorkerVersionStatus
- type SetAsyncCallStackDepthCB
- type SetAsyncCallStackDepthCommand
- type SetAsyncCallStackDepthParams
- type SetAttachToFramesCB
- type SetAttachToFramesCommand
- type SetAttachToFramesParams
- type SetAttributeValueCB
- type SetAttributeValueCommand
- type SetAttributeValueParams
- type SetAttributesAsTextCB
- type SetAttributesAsTextCommand
- type SetAttributesAsTextParams
- type SetAutoAttachCB
- type SetAutoAttachCommand
- type SetAutoAttachParams
- type SetAutoAttachToCreatedPagesCB
- type SetAutoAttachToCreatedPagesCommand
- type SetAutoAttachToCreatedPagesParams
- type SetBlackboxPatternsCB
- type SetBlackboxPatternsCommand
- type SetBlackboxPatternsParams
- type SetBlackboxedRangesCB
- type SetBlackboxedRangesCommand
- type SetBlackboxedRangesParams
- type SetBreakpointByUrlCB
- type SetBreakpointByUrlCommand
- func (cmd *SetBreakpointByUrlCommand) Done(data []byte, err error)
- func (cmd *SetBreakpointByUrlCommand) Name() string
- func (cmd *SetBreakpointByUrlCommand) Params() interface{}
- func (cmd *SetBreakpointByUrlCommand) Result() *SetBreakpointByUrlResult
- func (cmd *SetBreakpointByUrlCommand) Run(conn *hc.Conn) error
- type SetBreakpointByUrlParams
- type SetBreakpointByUrlResult
- type SetBreakpointCB
- type SetBreakpointCommand
- type SetBreakpointParams
- type SetBreakpointResult
- type SetBreakpointsActiveCB
- type SetBreakpointsActiveCommand
- type SetBreakpointsActiveParams
- type SetBypassServiceWorkerCB
- type SetBypassServiceWorkerCommand
- type SetBypassServiceWorkerParams
- type SetCPUThrottlingRateCB
- type SetCPUThrottlingRateCommand
- type SetCPUThrottlingRateParams
- type SetCacheDisabledCB
- type SetCacheDisabledCommand
- type SetCacheDisabledParams
- type SetChildNodesEvent
- type SetColorPickerEnabledCB
- type SetColorPickerEnabledCommand
- type SetColorPickerEnabledParams
- type SetControlNavigationsCB
- type SetControlNavigationsCommand
- type SetControlNavigationsParams
- type SetCookieCB
- type SetCookieCommand
- type SetCookieParams
- type SetCookieResult
- type SetCustomObjectFormatterEnabledCB
- type SetCustomObjectFormatterEnabledCommand
- type SetCustomObjectFormatterEnabledParams
- type SetDOMBreakpointCB
- type SetDOMBreakpointCommand
- type SetDOMBreakpointParams
- type SetDOMStorageItemCB
- type SetDOMStorageItemCommand
- type SetDOMStorageItemParams
- type SetDataSizeLimitsForTestCB
- type SetDataSizeLimitsForTestCommand
- type SetDataSizeLimitsForTestParams
- type SetDiscoverTargetsCB
- type SetDiscoverTargetsCommand
- type SetDiscoverTargetsParams
- type SetDocumentContentCB
- type SetDocumentContentCommand
- type SetDocumentContentParams
- type SetEffectivePropertyValueForNodeCB
- type SetEffectivePropertyValueForNodeCommand
- type SetEffectivePropertyValueForNodeParams
- type SetEmulatedMediaCB
- type SetEmulatedMediaCommand
- type SetEmulatedMediaParams
- type SetEventListenerBreakpointCB
- type SetEventListenerBreakpointCommand
- type SetEventListenerBreakpointParams
- type SetExtraHTTPHeadersCB
- type SetExtraHTTPHeadersCommand
- type SetExtraHTTPHeadersParams
- type SetFileInputFilesCB
- type SetFileInputFilesCommand
- type SetFileInputFilesParams
- type SetForceUpdateOnPageLoadCB
- type SetForceUpdateOnPageLoadCommand
- type SetForceUpdateOnPageLoadParams
- type SetInspectModeCB
- type SetInspectModeCommand
- type SetInspectModeParams
- type SetInspectedNodeCB
- type SetInspectedNodeCommand
- type SetInspectedNodeParams
- type SetInstrumentationBreakpointCB
- type SetInstrumentationBreakpointCommand
- type SetInstrumentationBreakpointParams
- type SetKeyframeKeyCB
- type SetKeyframeKeyCommand
- type SetKeyframeKeyParams
- type SetKeyframeKeyResult
- type SetMediaTextCB
- type SetMediaTextCommand
- type SetMediaTextParams
- type SetMediaTextResult
- type SetMonitoringXHREnabledCB
- type SetMonitoringXHREnabledCommand
- type SetMonitoringXHREnabledParams
- type SetNodeNameCB
- type SetNodeNameCommand
- type SetNodeNameParams
- type SetNodeNameResult
- type SetNodeValueCB
- type SetNodeValueCommand
- type SetNodeValueParams
- type SetOuterHTMLCB
- type SetOuterHTMLCommand
- type SetOuterHTMLParams
- type SetPageScaleFactorCB
- type SetPageScaleFactorCommand
- type SetPageScaleFactorParams
- type SetPauseOnExceptionsCB
- type SetPauseOnExceptionsCommand
- type SetPauseOnExceptionsParams
- type SetPausedCB
- type SetPausedCommand
- type SetPausedParams
- type SetPlaybackRateCB
- type SetPlaybackRateCommand
- type SetPlaybackRateParams
- type SetPressureNotificationsSuppressedCB
- type SetPressureNotificationsSuppressedCommand
- func (cmd *SetPressureNotificationsSuppressedCommand) Done(data []byte, err error)
- func (cmd *SetPressureNotificationsSuppressedCommand) Name() string
- func (cmd *SetPressureNotificationsSuppressedCommand) Params() interface{}
- func (cmd *SetPressureNotificationsSuppressedCommand) Run(conn *hc.Conn) error
- type SetPressureNotificationsSuppressedParams
- type SetRemoteLocationsCB
- type SetRemoteLocationsCommand
- type SetRemoteLocationsParams
- type SetRuleSelectorCB
- type SetRuleSelectorCommand
- type SetRuleSelectorParams
- type SetRuleSelectorResult
- type SetSamplingIntervalCB
- type SetSamplingIntervalCommand
- type SetSamplingIntervalParams
- type SetScriptExecutionDisabledCB
- type SetScriptExecutionDisabledCommand
- type SetScriptExecutionDisabledParams
- type SetScriptSourceCB
- type SetScriptSourceCommand
- type SetScriptSourceParams
- type SetScriptSourceResult
- type SetShowDebugBordersCB
- type SetShowDebugBordersCommand
- type SetShowDebugBordersParams
- type SetShowFPSCounterCB
- type SetShowFPSCounterCommand
- type SetShowFPSCounterParams
- type SetShowPaintRectsCB
- type SetShowPaintRectsCommand
- type SetShowPaintRectsParams
- type SetShowScrollBottleneckRectsCB
- type SetShowScrollBottleneckRectsCommand
- type SetShowScrollBottleneckRectsParams
- type SetShowViewportSizeOnResizeCB
- type SetShowViewportSizeOnResizeCommand
- type SetShowViewportSizeOnResizeParams
- type SetSkipAllPausesCB
- type SetSkipAllPausesCommand
- type SetSkipAllPausesParams
- type SetStyleSheetTextCB
- type SetStyleSheetTextCommand
- func (cmd *SetStyleSheetTextCommand) Done(data []byte, err error)
- func (cmd *SetStyleSheetTextCommand) Name() string
- func (cmd *SetStyleSheetTextCommand) Params() interface{}
- func (cmd *SetStyleSheetTextCommand) Result() *SetStyleSheetTextResult
- func (cmd *SetStyleSheetTextCommand) Run(conn *hc.Conn) error
- type SetStyleSheetTextParams
- type SetStyleSheetTextResult
- type SetStyleTextsCB
- type SetStyleTextsCommand
- type SetStyleTextsParams
- type SetStyleTextsResult
- type SetTimingCB
- type SetTimingCommand
- type SetTimingParams
- type SetUserAgentOverrideCB
- type SetUserAgentOverrideCommand
- type SetUserAgentOverrideParams
- type SetVariableValueCB
- type SetVariableValueCommand
- type SetVariableValueParams
- type SetVirtualTimePolicyCB
- type SetVirtualTimePolicyCommand
- type SetVirtualTimePolicyParams
- type SetVisibleSizeCB
- type SetVisibleSizeCommand
- type SetVisibleSizeParams
- type SetXHRBreakpointCB
- type SetXHRBreakpointCommand
- type SetXHRBreakpointParams
- type ShadowRootPoppedEvent
- type ShadowRootPushedEvent
- type ShadowRootType
- type ShapeOutsideInfo
- type ShorthandEntry
- type ShowCertificateViewerCB
- type ShowCertificateViewerCommand
- type SignedCertificateTimestamp
- type SimulatePressureNotificationCB
- type SimulatePressureNotificationCommand
- type SimulatePressureNotificationParams
- type SkipWaitingCB
- type SkipWaitingCommand
- type SkipWaitingParams
- type SnapshotCommandLogCB
- type SnapshotCommandLogCommand
- func (cmd *SnapshotCommandLogCommand) Done(data []byte, err error)
- func (cmd *SnapshotCommandLogCommand) Name() string
- func (cmd *SnapshotCommandLogCommand) Params() interface{}
- func (cmd *SnapshotCommandLogCommand) Result() *SnapshotCommandLogResult
- func (cmd *SnapshotCommandLogCommand) Run(conn *hc.Conn) error
- type SnapshotCommandLogParams
- type SnapshotCommandLogResult
- type SnapshotId
- type SourceRange
- type StackTrace
- type StartRuleUsageTrackingCB
- type StartRuleUsageTrackingCommand
- type StartSamplingCB
- type StartSamplingCommand
- type StartSamplingParams
- type StartScreencastCB
- type StartScreencastCommand
- type StartScreencastParams
- type StartTrackingHeapObjectsCB
- type StartTrackingHeapObjectsCommand
- type StartTrackingHeapObjectsParams
- type StartViolationsReportCB
- type StartViolationsReportCommand
- type StartViolationsReportParams
- type StartWorkerCB
- type StartWorkerCommand
- type StartWorkerParams
- type StepIntoCB
- type StepIntoCommand
- type StepOutCB
- type StepOutCommand
- type StepOverCB
- type StepOverCommand
- type StopCB
- type StopCommand
- type StopLoadingCB
- type StopLoadingCommand
- type StopResult
- type StopRuleUsageTrackingCB
- type StopRuleUsageTrackingCommand
- func (cmd *StopRuleUsageTrackingCommand) Done(data []byte, err error)
- func (cmd *StopRuleUsageTrackingCommand) Name() string
- func (cmd *StopRuleUsageTrackingCommand) Params() interface{}
- func (cmd *StopRuleUsageTrackingCommand) Result() *StopRuleUsageTrackingResult
- func (cmd *StopRuleUsageTrackingCommand) Run(conn *hc.Conn) error
- type StopRuleUsageTrackingResult
- type StopSamplingCB
- type StopSamplingCommand
- type StopSamplingResult
- type StopScreencastCB
- type StopScreencastCommand
- type StopTrackingHeapObjectsCB
- type StopTrackingHeapObjectsCommand
- type StopTrackingHeapObjectsParams
- type StopViolationsReportCB
- type StopViolationsReportCommand
- type StopWorkerCB
- type StopWorkerCommand
- type StopWorkerParams
- type StorageId
- type StorageType
- type StreamHandle
- type StyleDeclarationEdit
- type StyleSheetAddedEvent
- type StyleSheetChangedEvent
- type StyleSheetId
- type StyleSheetOrigin
- type StyleSheetRemovedEvent
- type SynthesizePinchGestureCB
- type SynthesizePinchGestureCommand
- type SynthesizePinchGestureParams
- type SynthesizeScrollGestureCB
- type SynthesizeScrollGestureCommand
- type SynthesizeScrollGestureParams
- type SynthesizeTapGestureCB
- type SynthesizeTapGestureCommand
- type SynthesizeTapGestureParams
- type TakeHeapSnapshotCB
- type TakeHeapSnapshotCommand
- type TakeHeapSnapshotParams
- type TargetCrashedEvent
- type TargetCreatedEvent
- type TargetDestroyedEvent
- type TargetID
- type TargetInfo
- type TouchPoint
- type TraceConfig
- type TracingCompleteEvent
- type TracingStartCB
- type TracingStartCommand
- type TracingStartParams
- type UnbindCB
- type UnbindCommand
- type UnbindParams
- type UndoCB
- type UndoCommand
- type UnregisterCB
- type UnregisterCommand
- type UnregisterParams
- type UnserializableValue
- type UpdateRegistrationCB
- type UpdateRegistrationCommand
- type UpdateRegistrationParams
- type Value
- type ViolationSetting
- type VirtualTimeBudgetExpiredEvent
- type VirtualTimePolicy
- type VisualViewport
- type WebSocketClosedEvent
- type WebSocketCreatedEvent
- type WebSocketFrame
- type WebSocketFrameErrorEvent
- type WebSocketFrameReceivedEvent
- type WebSocketFrameSentEvent
- type WebSocketHandshakeResponseReceivedEvent
- type WebSocketRequest
- type WebSocketResponse
- type WebSocketWillSendHandshakeRequestEvent
- type WorkerErrorReportedEvent
- type WorkerRegistrationUpdatedEvent
- type WorkerVersionUpdatedEvent
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 AnimationEnable ¶
func ApplicationCacheEnable ¶
func CSSDisable ¶
func ClearBrowserCache ¶
func ClearBrowserCookies ¶
func ClearDataForOrigin ¶
func ClearDataForOrigin(params *ClearDataForOriginParams, conn *hc.Conn) (err error)
func ClearMessages ¶
func ClearObjectStore ¶
func ClearObjectStore(params *ClearObjectStoreParams, conn *hc.Conn) (err error)
func CollectGarbage ¶
func ConfigureOverlay ¶
func ConfigureOverlay(params *ConfigureOverlayParams, conn *hc.Conn) (err error)
func ConsoleDisable ¶
func ConsoleEnable ¶
func ContinueToLocation ¶
func ContinueToLocation(params *ContinueToLocationParams, conn *hc.Conn) (err error)
func DOMDisable ¶
func DOMStorageDisable ¶
func DOMStorageEnable ¶
func DatabaseDisable ¶
func DatabaseEnable ¶
func DebuggerDisable ¶
func DebuggerEnable ¶
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 DeviceOrientationSetDeviceOrientationOverride ¶
func DeviceOrientationSetDeviceOrientationOverride(params *DeviceOrientationSetDeviceOrientationOverrideParams, conn *hc.Conn) (err error)
func DiscardConsoleEntries ¶
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 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 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 HeapProfilerEnable ¶
func HideHighlight ¶
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 IndexedDBEnable ¶
func InspectWorker ¶
func InspectWorker(params *InspectWorkerParams, conn *hc.Conn) (err error)
func InspectorDisable ¶
func InspectorEnable ¶
func LayerTreeDisable ¶
func LayerTreeEnable ¶
func LogDisable ¶
func MarkUndoableState ¶
func NavigateToHistoryEntry ¶
func NavigateToHistoryEntry(params *NavigateToHistoryEntryParams, conn *hc.Conn) (err error)
func NetworkDeleteCookie ¶
func NetworkDeleteCookie(params *NetworkDeleteCookieParams, conn *hc.Conn) (err error)
func NetworkDisable ¶
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 PageDeleteCookie ¶
func PageDeleteCookie(params *PageDeleteCookieParams, conn *hc.Conn) (err error)
func PageDisable ¶
func PageEnable ¶
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 ProcessNavigation ¶
func ProcessNavigation(params *ProcessNavigationParams, conn *hc.Conn) (err error)
func ProfilerDisable ¶
func ProfilerEnable ¶
func ProfilerStart ¶
func RecordClockSyncMarker ¶
func RecordClockSyncMarker(params *RecordClockSyncMarkerParams, 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 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 RequestAppBanner ¶
func RequestChildNodes ¶
func RequestChildNodes(params *RequestChildNodesParams, conn *hc.Conn) (err error)
func ResetPageScaleFactor ¶
func ResetViewport ¶
func RunIfWaitingForDebugger ¶
func RuntimeDisable ¶
func RuntimeEnable ¶
func ScreencastFrameAck ¶
func ScreencastFrameAck(params *ScreencastFrameAckParams, conn *hc.Conn) (err error)
func SecurityDisable ¶
func SecurityEnable ¶
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 ServiceWorkerEnable ¶
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 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 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 SimulatePressureNotification ¶
func SimulatePressureNotification(params *SimulatePressureNotificationParams, conn *hc.Conn) (err error)
func SkipWaiting ¶
func SkipWaiting(params *SkipWaitingParams, conn *hc.Conn) (err error)
func StartRuleUsageTracking ¶
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 StopLoading ¶
func StopScreencast ¶
func StopTrackingHeapObjects ¶
func StopTrackingHeapObjects(params *StopTrackingHeapObjectsParams, conn *hc.Conn) (err error)
func StopViolationsReport ¶
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 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 AXProperty ¶
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 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{}
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{}
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 NewAddInspectedHeapObjectCommand ¶
func NewAddInspectedHeapObjectCommand(params *AddInspectedHeapObjectParams) *AddInspectedHeapObjectCommand
func (*AddInspectedHeapObjectCommand) Done ¶
func (cmd *AddInspectedHeapObjectCommand) Done(data []byte, err error)
func (*AddInspectedHeapObjectCommand) Name ¶
func (cmd *AddInspectedHeapObjectCommand) Name() string
func (*AddInspectedHeapObjectCommand) Params ¶
func (cmd *AddInspectedHeapObjectCommand) Params() interface{}
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
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 NewAddScriptToEvaluateOnLoadCommand ¶
func NewAddScriptToEvaluateOnLoadCommand(params *AddScriptToEvaluateOnLoadParams) *AddScriptToEvaluateOnLoadCommand
func (*AddScriptToEvaluateOnLoadCommand) Done ¶
func (cmd *AddScriptToEvaluateOnLoadCommand) Done(data []byte, err error)
func (*AddScriptToEvaluateOnLoadCommand) Name ¶
func (cmd *AddScriptToEvaluateOnLoadCommand) Name() string
func (*AddScriptToEvaluateOnLoadCommand) Params ¶
func (cmd *AddScriptToEvaluateOnLoadCommand) Params() interface{}
func (*AddScriptToEvaluateOnLoadCommand) Result ¶
func (cmd *AddScriptToEvaluateOnLoadCommand) Result() *AddScriptToEvaluateOnLoadResult
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{}
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{}
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 (cmd *ApplicationCacheEnableCommand) Name() string
func (*ApplicationCacheEnableCommand) Params ¶
func (cmd *ApplicationCacheEnableCommand) Params() interface{}
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 AsyncActivateTargetCommand ¶
type AsyncActivateTargetCommand struct {
// contains filtered or unexported fields
}
func NewAsyncActivateTargetCommand ¶
func NewAsyncActivateTargetCommand(params *ActivateTargetParams, cb ActivateTargetCB) *AsyncActivateTargetCommand
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 NewAsyncAddBlockedURLCommand ¶
func NewAsyncAddBlockedURLCommand(params *AddBlockedURLParams, cb AddBlockedURLCB) *AsyncAddBlockedURLCommand
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 NewAsyncAddInspectedHeapObjectCommand ¶
func NewAsyncAddInspectedHeapObjectCommand(params *AddInspectedHeapObjectParams, cb AddInspectedHeapObjectCB) *AsyncAddInspectedHeapObjectCommand
func (*AsyncAddInspectedHeapObjectCommand) Done ¶
func (cmd *AsyncAddInspectedHeapObjectCommand) Done(data []byte, err error)
func (*AsyncAddInspectedHeapObjectCommand) Name ¶
func (cmd *AsyncAddInspectedHeapObjectCommand) Name() string
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 NewAsyncAddScriptToEvaluateOnLoadCommand ¶
func NewAsyncAddScriptToEvaluateOnLoadCommand(params *AddScriptToEvaluateOnLoadParams, cb AddScriptToEvaluateOnLoadCB) *AsyncAddScriptToEvaluateOnLoadCommand
func (*AsyncAddScriptToEvaluateOnLoadCommand) Done ¶
func (cmd *AsyncAddScriptToEvaluateOnLoadCommand) Done(data []byte, err error)
func (*AsyncAddScriptToEvaluateOnLoadCommand) Name ¶
func (cmd *AsyncAddScriptToEvaluateOnLoadCommand) Name() string
func (*AsyncAddScriptToEvaluateOnLoadCommand) Params ¶
func (cmd *AsyncAddScriptToEvaluateOnLoadCommand) Params() interface{}
type AsyncAnimationDisableCommand ¶
type AsyncAnimationDisableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncAnimationDisableCommand ¶
func NewAsyncAnimationDisableCommand(cb AnimationDisableCB) *AsyncAnimationDisableCommand
func (*AsyncAnimationDisableCommand) Done ¶
func (cmd *AsyncAnimationDisableCommand) Done(data []byte, err error)
func (*AsyncAnimationDisableCommand) Name ¶
func (cmd *AsyncAnimationDisableCommand) Name() string
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 NewAsyncApplicationCacheEnableCommand ¶
func NewAsyncApplicationCacheEnableCommand(cb ApplicationCacheEnableCB) *AsyncApplicationCacheEnableCommand
func (*AsyncApplicationCacheEnableCommand) Done ¶
func (cmd *AsyncApplicationCacheEnableCommand) Done(data []byte, err error)
func (*AsyncApplicationCacheEnableCommand) Name ¶
func (cmd *AsyncApplicationCacheEnableCommand) Name() string
func (*AsyncApplicationCacheEnableCommand) Params ¶
func (cmd *AsyncApplicationCacheEnableCommand) Params() interface{}
type AsyncAttachToTargetCommand ¶
type AsyncAttachToTargetCommand struct {
// contains filtered or unexported fields
}
func NewAsyncAttachToTargetCommand ¶
func NewAsyncAttachToTargetCommand(params *AttachToTargetParams, cb AttachToTargetCB) *AsyncAttachToTargetCommand
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 NewAsyncCallFunctionOnCommand ¶
func NewAsyncCallFunctionOnCommand(params *CallFunctionOnParams, cb CallFunctionOnCB) *AsyncCallFunctionOnCommand
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 NewAsyncCanClearBrowserCacheCommand ¶
func NewAsyncCanClearBrowserCacheCommand(cb CanClearBrowserCacheCB) *AsyncCanClearBrowserCacheCommand
func (*AsyncCanClearBrowserCacheCommand) Done ¶
func (cmd *AsyncCanClearBrowserCacheCommand) Done(data []byte, err error)
func (*AsyncCanClearBrowserCacheCommand) Name ¶
func (cmd *AsyncCanClearBrowserCacheCommand) Name() string
func (*AsyncCanClearBrowserCacheCommand) Params ¶
func (cmd *AsyncCanClearBrowserCacheCommand) Params() interface{}
type AsyncCanClearBrowserCookiesCommand ¶
type AsyncCanClearBrowserCookiesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncCanClearBrowserCookiesCommand ¶
func NewAsyncCanClearBrowserCookiesCommand(cb CanClearBrowserCookiesCB) *AsyncCanClearBrowserCookiesCommand
func (*AsyncCanClearBrowserCookiesCommand) Done ¶
func (cmd *AsyncCanClearBrowserCookiesCommand) Done(data []byte, err error)
func (*AsyncCanClearBrowserCookiesCommand) Name ¶
func (cmd *AsyncCanClearBrowserCookiesCommand) Name() string
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 NewAsyncCanEmulateNetworkConditionsCommand ¶
func NewAsyncCanEmulateNetworkConditionsCommand(cb CanEmulateNetworkConditionsCB) *AsyncCanEmulateNetworkConditionsCommand
func (*AsyncCanEmulateNetworkConditionsCommand) Done ¶
func (cmd *AsyncCanEmulateNetworkConditionsCommand) Done(data []byte, err error)
func (*AsyncCanEmulateNetworkConditionsCommand) Name ¶
func (cmd *AsyncCanEmulateNetworkConditionsCommand) Name() string
func (*AsyncCanEmulateNetworkConditionsCommand) Params ¶
func (cmd *AsyncCanEmulateNetworkConditionsCommand) Params() interface{}
type AsyncCaptureScreenshotCommand ¶
type AsyncCaptureScreenshotCommand struct {
// contains filtered or unexported fields
}
Capture page screenshot. @experimental
func NewAsyncCaptureScreenshotCommand ¶
func NewAsyncCaptureScreenshotCommand(cb CaptureScreenshotCB) *AsyncCaptureScreenshotCommand
func (*AsyncCaptureScreenshotCommand) Done ¶
func (cmd *AsyncCaptureScreenshotCommand) Done(data []byte, err error)
func (*AsyncCaptureScreenshotCommand) Name ¶
func (cmd *AsyncCaptureScreenshotCommand) Name() string
func (*AsyncCaptureScreenshotCommand) Params ¶
func (cmd *AsyncCaptureScreenshotCommand) Params() interface{}
type AsyncClearBrowserCacheCommand ¶
type AsyncClearBrowserCacheCommand struct {
// contains filtered or unexported fields
}
func NewAsyncClearBrowserCacheCommand ¶
func NewAsyncClearBrowserCacheCommand(cb ClearBrowserCacheCB) *AsyncClearBrowserCacheCommand
func (*AsyncClearBrowserCacheCommand) Done ¶
func (cmd *AsyncClearBrowserCacheCommand) Done(data []byte, err error)
func (*AsyncClearBrowserCacheCommand) Name ¶
func (cmd *AsyncClearBrowserCacheCommand) Name() string
func (*AsyncClearBrowserCacheCommand) Params ¶
func (cmd *AsyncClearBrowserCacheCommand) Params() interface{}
type AsyncClearBrowserCookiesCommand ¶
type AsyncClearBrowserCookiesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncClearBrowserCookiesCommand ¶
func NewAsyncClearBrowserCookiesCommand(cb ClearBrowserCookiesCB) *AsyncClearBrowserCookiesCommand
func (*AsyncClearBrowserCookiesCommand) Done ¶
func (cmd *AsyncClearBrowserCookiesCommand) Done(data []byte, err error)
func (*AsyncClearBrowserCookiesCommand) Name ¶
func (cmd *AsyncClearBrowserCookiesCommand) Name() string
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 NewAsyncClearDataForOriginCommand ¶
func NewAsyncClearDataForOriginCommand(params *ClearDataForOriginParams, cb ClearDataForOriginCB) *AsyncClearDataForOriginCommand
func (*AsyncClearDataForOriginCommand) Done ¶
func (cmd *AsyncClearDataForOriginCommand) Done(data []byte, err error)
func (*AsyncClearDataForOriginCommand) Name ¶
func (cmd *AsyncClearDataForOriginCommand) Name() string
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 NewAsyncClearObjectStoreCommand ¶
func NewAsyncClearObjectStoreCommand(params *ClearObjectStoreParams, cb ClearObjectStoreCB) *AsyncClearObjectStoreCommand
func (*AsyncClearObjectStoreCommand) Done ¶
func (cmd *AsyncClearObjectStoreCommand) Done(data []byte, err error)
func (*AsyncClearObjectStoreCommand) Name ¶
func (cmd *AsyncClearObjectStoreCommand) Name() string
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 NewAsyncCollectClassNamesCommand ¶
func NewAsyncCollectClassNamesCommand(params *CollectClassNamesParams, cb CollectClassNamesCB) *AsyncCollectClassNamesCommand
func (*AsyncCollectClassNamesCommand) Done ¶
func (cmd *AsyncCollectClassNamesCommand) Done(data []byte, err error)
func (*AsyncCollectClassNamesCommand) Name ¶
func (cmd *AsyncCollectClassNamesCommand) Name() string
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 NewAsyncCollectClassNamesFromSubtreeCommand ¶
func NewAsyncCollectClassNamesFromSubtreeCommand(params *CollectClassNamesFromSubtreeParams, cb CollectClassNamesFromSubtreeCB) *AsyncCollectClassNamesFromSubtreeCommand
func (*AsyncCollectClassNamesFromSubtreeCommand) Done ¶
func (cmd *AsyncCollectClassNamesFromSubtreeCommand) Done(data []byte, err error)
func (*AsyncCollectClassNamesFromSubtreeCommand) Name ¶
func (cmd *AsyncCollectClassNamesFromSubtreeCommand) Name() string
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 NewAsyncCompileScriptCommand ¶
func NewAsyncCompileScriptCommand(params *CompileScriptParams, cb CompileScriptCB) *AsyncCompileScriptCommand
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 NewAsyncCompositingReasonsCommand ¶
func NewAsyncCompositingReasonsCommand(params *CompositingReasonsParams, cb CompositingReasonsCB) *AsyncCompositingReasonsCommand
func (*AsyncCompositingReasonsCommand) Done ¶
func (cmd *AsyncCompositingReasonsCommand) Done(data []byte, err error)
func (*AsyncCompositingReasonsCommand) Name ¶
func (cmd *AsyncCompositingReasonsCommand) Name() string
func (*AsyncCompositingReasonsCommand) Params ¶
func (cmd *AsyncCompositingReasonsCommand) Params() interface{}
type AsyncConfigureOverlayCommand ¶
type AsyncConfigureOverlayCommand struct {
// contains filtered or unexported fields
}
Configures overlay. @experimental
func NewAsyncConfigureOverlayCommand ¶
func NewAsyncConfigureOverlayCommand(params *ConfigureOverlayParams, cb ConfigureOverlayCB) *AsyncConfigureOverlayCommand
func (*AsyncConfigureOverlayCommand) Done ¶
func (cmd *AsyncConfigureOverlayCommand) Done(data []byte, err error)
func (*AsyncConfigureOverlayCommand) Name ¶
func (cmd *AsyncConfigureOverlayCommand) Name() string
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 NewAsyncContinueToLocationCommand ¶
func NewAsyncContinueToLocationCommand(params *ContinueToLocationParams, cb ContinueToLocationCB) *AsyncContinueToLocationCommand
func (*AsyncContinueToLocationCommand) Done ¶
func (cmd *AsyncContinueToLocationCommand) Done(data []byte, err error)
func (*AsyncContinueToLocationCommand) Name ¶
func (cmd *AsyncContinueToLocationCommand) Name() string
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 NewAsyncCreateBrowserContextCommand ¶
func NewAsyncCreateBrowserContextCommand(cb CreateBrowserContextCB) *AsyncCreateBrowserContextCommand
func (*AsyncCreateBrowserContextCommand) Done ¶
func (cmd *AsyncCreateBrowserContextCommand) Done(data []byte, err error)
func (*AsyncCreateBrowserContextCommand) Name ¶
func (cmd *AsyncCreateBrowserContextCommand) Name() string
func (*AsyncCreateBrowserContextCommand) Params ¶
func (cmd *AsyncCreateBrowserContextCommand) Params() interface{}
type AsyncCreateStyleSheetCommand ¶
type AsyncCreateStyleSheetCommand struct {
// contains filtered or unexported fields
}
func NewAsyncCreateStyleSheetCommand ¶
func NewAsyncCreateStyleSheetCommand(params *CreateStyleSheetParams, cb CreateStyleSheetCB) *AsyncCreateStyleSheetCommand
func (*AsyncCreateStyleSheetCommand) Done ¶
func (cmd *AsyncCreateStyleSheetCommand) Done(data []byte, err error)
func (*AsyncCreateStyleSheetCommand) Name ¶
func (cmd *AsyncCreateStyleSheetCommand) Name() string
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 NewAsyncDOMStorageDisableCommand ¶
func NewAsyncDOMStorageDisableCommand(cb DOMStorageDisableCB) *AsyncDOMStorageDisableCommand
func (*AsyncDOMStorageDisableCommand) Done ¶
func (cmd *AsyncDOMStorageDisableCommand) Done(data []byte, err error)
func (*AsyncDOMStorageDisableCommand) Name ¶
func (cmd *AsyncDOMStorageDisableCommand) Name() string
func (*AsyncDOMStorageDisableCommand) Params ¶
func (cmd *AsyncDOMStorageDisableCommand) Params() interface{}
type AsyncDOMStorageEnableCommand ¶
type AsyncDOMStorageEnableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDOMStorageEnableCommand ¶
func NewAsyncDOMStorageEnableCommand(cb DOMStorageEnableCB) *AsyncDOMStorageEnableCommand
func (*AsyncDOMStorageEnableCommand) Done ¶
func (cmd *AsyncDOMStorageEnableCommand) Done(data []byte, err error)
func (*AsyncDOMStorageEnableCommand) Name ¶
func (cmd *AsyncDOMStorageEnableCommand) Name() string
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 NewAsyncDeliverPushMessageCommand ¶
func NewAsyncDeliverPushMessageCommand(params *DeliverPushMessageParams, cb DeliverPushMessageCB) *AsyncDeliverPushMessageCommand
func (*AsyncDeliverPushMessageCommand) Done ¶
func (cmd *AsyncDeliverPushMessageCommand) Done(data []byte, err error)
func (*AsyncDeliverPushMessageCommand) Name ¶
func (cmd *AsyncDeliverPushMessageCommand) Name() string
func (*AsyncDeliverPushMessageCommand) Params ¶
func (cmd *AsyncDeliverPushMessageCommand) Params() interface{}
type AsyncDetachFromTargetCommand ¶
type AsyncDetachFromTargetCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDetachFromTargetCommand ¶
func NewAsyncDetachFromTargetCommand(params *DetachFromTargetParams, cb DetachFromTargetCB) *AsyncDetachFromTargetCommand
func (*AsyncDetachFromTargetCommand) Done ¶
func (cmd *AsyncDetachFromTargetCommand) Done(data []byte, err error)
func (*AsyncDetachFromTargetCommand) Name ¶
func (cmd *AsyncDetachFromTargetCommand) Name() string
func (*AsyncDetachFromTargetCommand) Params ¶
func (cmd *AsyncDetachFromTargetCommand) Params() interface{}
type AsyncDeviceOrientationClearDeviceOrientationOverrideCommand ¶
type AsyncDeviceOrientationClearDeviceOrientationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDeviceOrientationClearDeviceOrientationOverrideCommand ¶
func NewAsyncDeviceOrientationClearDeviceOrientationOverrideCommand(cb DeviceOrientationClearDeviceOrientationOverrideCB) *AsyncDeviceOrientationClearDeviceOrientationOverrideCommand
func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Done ¶
func (cmd *AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Name ¶
func (cmd *AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Name() string
func (*AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Params ¶
func (cmd *AsyncDeviceOrientationClearDeviceOrientationOverrideCommand) Params() interface{}
type AsyncDeviceOrientationSetDeviceOrientationOverrideCommand ¶
type AsyncDeviceOrientationSetDeviceOrientationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDeviceOrientationSetDeviceOrientationOverrideCommand ¶
func NewAsyncDeviceOrientationSetDeviceOrientationOverrideCommand(params *DeviceOrientationSetDeviceOrientationOverrideParams, cb DeviceOrientationSetDeviceOrientationOverrideCB) *AsyncDeviceOrientationSetDeviceOrientationOverrideCommand
func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Done ¶
func (cmd *AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Name ¶
func (cmd *AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Name() string
func (*AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Params ¶
func (cmd *AsyncDeviceOrientationSetDeviceOrientationOverrideCommand) Params() interface{}
type AsyncDiscardConsoleEntriesCommand ¶
type AsyncDiscardConsoleEntriesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDiscardConsoleEntriesCommand ¶
func NewAsyncDiscardConsoleEntriesCommand(cb DiscardConsoleEntriesCB) *AsyncDiscardConsoleEntriesCommand
func (*AsyncDiscardConsoleEntriesCommand) Done ¶
func (cmd *AsyncDiscardConsoleEntriesCommand) Done(data []byte, err error)
func (*AsyncDiscardConsoleEntriesCommand) Name ¶
func (cmd *AsyncDiscardConsoleEntriesCommand) Name() string
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 NewAsyncDiscardSearchResultsCommand ¶
func NewAsyncDiscardSearchResultsCommand(params *DiscardSearchResultsParams, cb DiscardSearchResultsCB) *AsyncDiscardSearchResultsCommand
func (*AsyncDiscardSearchResultsCommand) Done ¶
func (cmd *AsyncDiscardSearchResultsCommand) Done(data []byte, err error)
func (*AsyncDiscardSearchResultsCommand) Name ¶
func (cmd *AsyncDiscardSearchResultsCommand) Name() string
func (*AsyncDiscardSearchResultsCommand) Params ¶
func (cmd *AsyncDiscardSearchResultsCommand) Params() interface{}
type AsyncDispatchKeyEventCommand ¶
type AsyncDispatchKeyEventCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDispatchKeyEventCommand ¶
func NewAsyncDispatchKeyEventCommand(params *DispatchKeyEventParams, cb DispatchKeyEventCB) *AsyncDispatchKeyEventCommand
func (*AsyncDispatchKeyEventCommand) Done ¶
func (cmd *AsyncDispatchKeyEventCommand) Done(data []byte, err error)
func (*AsyncDispatchKeyEventCommand) Name ¶
func (cmd *AsyncDispatchKeyEventCommand) Name() string
func (*AsyncDispatchKeyEventCommand) Params ¶
func (cmd *AsyncDispatchKeyEventCommand) Params() interface{}
type AsyncDispatchMouseEventCommand ¶
type AsyncDispatchMouseEventCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDispatchMouseEventCommand ¶
func NewAsyncDispatchMouseEventCommand(params *DispatchMouseEventParams, cb DispatchMouseEventCB) *AsyncDispatchMouseEventCommand
func (*AsyncDispatchMouseEventCommand) Done ¶
func (cmd *AsyncDispatchMouseEventCommand) Done(data []byte, err error)
func (*AsyncDispatchMouseEventCommand) Name ¶
func (cmd *AsyncDispatchMouseEventCommand) Name() string
func (*AsyncDispatchMouseEventCommand) Params ¶
func (cmd *AsyncDispatchMouseEventCommand) Params() interface{}
type AsyncDispatchSyncEventCommand ¶
type AsyncDispatchSyncEventCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDispatchSyncEventCommand ¶
func NewAsyncDispatchSyncEventCommand(params *DispatchSyncEventParams, cb DispatchSyncEventCB) *AsyncDispatchSyncEventCommand
func (*AsyncDispatchSyncEventCommand) Done ¶
func (cmd *AsyncDispatchSyncEventCommand) Done(data []byte, err error)
func (*AsyncDispatchSyncEventCommand) Name ¶
func (cmd *AsyncDispatchSyncEventCommand) Name() string
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 NewAsyncDispatchTouchEventCommand ¶
func NewAsyncDispatchTouchEventCommand(params *DispatchTouchEventParams, cb DispatchTouchEventCB) *AsyncDispatchTouchEventCommand
func (*AsyncDispatchTouchEventCommand) Done ¶
func (cmd *AsyncDispatchTouchEventCommand) Done(data []byte, err error)
func (*AsyncDispatchTouchEventCommand) Name ¶
func (cmd *AsyncDispatchTouchEventCommand) Name() string
func (*AsyncDispatchTouchEventCommand) Params ¶
func (cmd *AsyncDispatchTouchEventCommand) Params() interface{}
type AsyncDisposeBrowserContextCommand ¶
type AsyncDisposeBrowserContextCommand struct {
// contains filtered or unexported fields
}
func NewAsyncDisposeBrowserContextCommand ¶
func NewAsyncDisposeBrowserContextCommand(params *DisposeBrowserContextParams, cb DisposeBrowserContextCB) *AsyncDisposeBrowserContextCommand
func (*AsyncDisposeBrowserContextCommand) Done ¶
func (cmd *AsyncDisposeBrowserContextCommand) Done(data []byte, err error)
func (*AsyncDisposeBrowserContextCommand) Name ¶
func (cmd *AsyncDisposeBrowserContextCommand) Name() string
func (*AsyncDisposeBrowserContextCommand) Params ¶
func (cmd *AsyncDisposeBrowserContextCommand) Params() interface{}
type AsyncEmulateNetworkConditionsCommand ¶
type AsyncEmulateNetworkConditionsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncEmulateNetworkConditionsCommand ¶
func NewAsyncEmulateNetworkConditionsCommand(params *EmulateNetworkConditionsParams, cb EmulateNetworkConditionsCB) *AsyncEmulateNetworkConditionsCommand
func (*AsyncEmulateNetworkConditionsCommand) Done ¶
func (cmd *AsyncEmulateNetworkConditionsCommand) Done(data []byte, err error)
func (*AsyncEmulateNetworkConditionsCommand) Name ¶
func (cmd *AsyncEmulateNetworkConditionsCommand) Name() string
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 NewAsyncEmulateTouchFromMouseEventCommand ¶
func NewAsyncEmulateTouchFromMouseEventCommand(params *EmulateTouchFromMouseEventParams, cb EmulateTouchFromMouseEventCB) *AsyncEmulateTouchFromMouseEventCommand
func (*AsyncEmulateTouchFromMouseEventCommand) Done ¶
func (cmd *AsyncEmulateTouchFromMouseEventCommand) Done(data []byte, err error)
func (*AsyncEmulateTouchFromMouseEventCommand) Name ¶
func (cmd *AsyncEmulateTouchFromMouseEventCommand) Name() string
func (*AsyncEmulateTouchFromMouseEventCommand) Params ¶
func (cmd *AsyncEmulateTouchFromMouseEventCommand) Params() interface{}
type AsyncEmulationClearDeviceMetricsOverrideCommand ¶
type AsyncEmulationClearDeviceMetricsOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncEmulationClearDeviceMetricsOverrideCommand ¶
func NewAsyncEmulationClearDeviceMetricsOverrideCommand(cb EmulationClearDeviceMetricsOverrideCB) *AsyncEmulationClearDeviceMetricsOverrideCommand
func (*AsyncEmulationClearDeviceMetricsOverrideCommand) Done ¶
func (cmd *AsyncEmulationClearDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*AsyncEmulationClearDeviceMetricsOverrideCommand) Name ¶
func (cmd *AsyncEmulationClearDeviceMetricsOverrideCommand) Name() string
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 NewAsyncEmulationClearGeolocationOverrideCommand ¶
func NewAsyncEmulationClearGeolocationOverrideCommand(cb EmulationClearGeolocationOverrideCB) *AsyncEmulationClearGeolocationOverrideCommand
func (*AsyncEmulationClearGeolocationOverrideCommand) Done ¶
func (cmd *AsyncEmulationClearGeolocationOverrideCommand) Done(data []byte, err error)
func (*AsyncEmulationClearGeolocationOverrideCommand) Name ¶
func (cmd *AsyncEmulationClearGeolocationOverrideCommand) Name() string
func (*AsyncEmulationClearGeolocationOverrideCommand) Params ¶
func (cmd *AsyncEmulationClearGeolocationOverrideCommand) Params() interface{}
type AsyncEmulationSetDeviceMetricsOverrideCommand ¶
type AsyncEmulationSetDeviceMetricsOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncEmulationSetDeviceMetricsOverrideCommand ¶
func NewAsyncEmulationSetDeviceMetricsOverrideCommand(params *EmulationSetDeviceMetricsOverrideParams, cb EmulationSetDeviceMetricsOverrideCB) *AsyncEmulationSetDeviceMetricsOverrideCommand
func (*AsyncEmulationSetDeviceMetricsOverrideCommand) Done ¶
func (cmd *AsyncEmulationSetDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*AsyncEmulationSetDeviceMetricsOverrideCommand) Name ¶
func (cmd *AsyncEmulationSetDeviceMetricsOverrideCommand) Name() string
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 NewAsyncEmulationSetGeolocationOverrideCommand ¶
func NewAsyncEmulationSetGeolocationOverrideCommand(params *EmulationSetGeolocationOverrideParams, cb EmulationSetGeolocationOverrideCB) *AsyncEmulationSetGeolocationOverrideCommand
func (*AsyncEmulationSetGeolocationOverrideCommand) Done ¶
func (cmd *AsyncEmulationSetGeolocationOverrideCommand) Done(data []byte, err error)
func (*AsyncEmulationSetGeolocationOverrideCommand) Name ¶
func (cmd *AsyncEmulationSetGeolocationOverrideCommand) Name() string
func (*AsyncEmulationSetGeolocationOverrideCommand) Params ¶
func (cmd *AsyncEmulationSetGeolocationOverrideCommand) Params() interface{}
type AsyncEmulationSetTouchEmulationEnabledCommand ¶
type AsyncEmulationSetTouchEmulationEnabledCommand struct {
// contains filtered or unexported fields
}
func NewAsyncEmulationSetTouchEmulationEnabledCommand ¶
func NewAsyncEmulationSetTouchEmulationEnabledCommand(params *EmulationSetTouchEmulationEnabledParams, cb EmulationSetTouchEmulationEnabledCB) *AsyncEmulationSetTouchEmulationEnabledCommand
func (*AsyncEmulationSetTouchEmulationEnabledCommand) Done ¶
func (cmd *AsyncEmulationSetTouchEmulationEnabledCommand) Done(data []byte, err error)
func (*AsyncEmulationSetTouchEmulationEnabledCommand) Name ¶
func (cmd *AsyncEmulationSetTouchEmulationEnabledCommand) Name() string
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 NewAsyncEvaluateOnCallFrameCommand ¶
func NewAsyncEvaluateOnCallFrameCommand(params *EvaluateOnCallFrameParams, cb EvaluateOnCallFrameCB) *AsyncEvaluateOnCallFrameCommand
func (*AsyncEvaluateOnCallFrameCommand) Done ¶
func (cmd *AsyncEvaluateOnCallFrameCommand) Done(data []byte, err error)
func (*AsyncEvaluateOnCallFrameCommand) Name ¶
func (cmd *AsyncEvaluateOnCallFrameCommand) Name() string
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 NewAsyncForcePseudoStateCommand ¶
func NewAsyncForcePseudoStateCommand(params *ForcePseudoStateParams, cb ForcePseudoStateCB) *AsyncForcePseudoStateCommand
func (*AsyncForcePseudoStateCommand) Done ¶
func (cmd *AsyncForcePseudoStateCommand) Done(data []byte, err error)
func (*AsyncForcePseudoStateCommand) Name ¶
func (cmd *AsyncForcePseudoStateCommand) Name() string
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 NewAsyncForceViewportCommand ¶
func NewAsyncForceViewportCommand(params *ForceViewportParams, cb ForceViewportCB) *AsyncForceViewportCommand
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 NewAsyncGetApplicationCacheForFrameCommand ¶
func NewAsyncGetApplicationCacheForFrameCommand(params *GetApplicationCacheForFrameParams, cb GetApplicationCacheForFrameCB) *AsyncGetApplicationCacheForFrameCommand
func (*AsyncGetApplicationCacheForFrameCommand) Done ¶
func (cmd *AsyncGetApplicationCacheForFrameCommand) Done(data []byte, err error)
func (*AsyncGetApplicationCacheForFrameCommand) Name ¶
func (cmd *AsyncGetApplicationCacheForFrameCommand) Name() string
func (*AsyncGetApplicationCacheForFrameCommand) Params ¶
func (cmd *AsyncGetApplicationCacheForFrameCommand) Params() interface{}
type AsyncGetAttributesCommand ¶
type AsyncGetAttributesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetAttributesCommand ¶
func NewAsyncGetAttributesCommand(params *GetAttributesParams, cb GetAttributesCB) *AsyncGetAttributesCommand
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 NewAsyncGetBackgroundColorsCommand ¶
func NewAsyncGetBackgroundColorsCommand(params *GetBackgroundColorsParams, cb GetBackgroundColorsCB) *AsyncGetBackgroundColorsCommand
func (*AsyncGetBackgroundColorsCommand) Done ¶
func (cmd *AsyncGetBackgroundColorsCommand) Done(data []byte, err error)
func (*AsyncGetBackgroundColorsCommand) Name ¶
func (cmd *AsyncGetBackgroundColorsCommand) Name() string
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 NewAsyncGetCertificateCommand ¶
func NewAsyncGetCertificateCommand(params *GetCertificateParams, cb GetCertificateCB) *AsyncGetCertificateCommand
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 NewAsyncGetComputedStyleForNodeCommand ¶
func NewAsyncGetComputedStyleForNodeCommand(params *GetComputedStyleForNodeParams, cb GetComputedStyleForNodeCB) *AsyncGetComputedStyleForNodeCommand
func (*AsyncGetComputedStyleForNodeCommand) Done ¶
func (cmd *AsyncGetComputedStyleForNodeCommand) Done(data []byte, err error)
func (*AsyncGetComputedStyleForNodeCommand) Name ¶
func (cmd *AsyncGetComputedStyleForNodeCommand) Name() string
func (*AsyncGetComputedStyleForNodeCommand) Params ¶
func (cmd *AsyncGetComputedStyleForNodeCommand) Params() interface{}
type AsyncGetCurrentTimeCommand ¶
type AsyncGetCurrentTimeCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetCurrentTimeCommand ¶
func NewAsyncGetCurrentTimeCommand(params *GetCurrentTimeParams, cb GetCurrentTimeCB) *AsyncGetCurrentTimeCommand
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 NewAsyncGetDOMStorageItemsCommand ¶
func NewAsyncGetDOMStorageItemsCommand(params *GetDOMStorageItemsParams, cb GetDOMStorageItemsCB) *AsyncGetDOMStorageItemsCommand
func (*AsyncGetDOMStorageItemsCommand) Done ¶
func (cmd *AsyncGetDOMStorageItemsCommand) Done(data []byte, err error)
func (*AsyncGetDOMStorageItemsCommand) Name ¶
func (cmd *AsyncGetDOMStorageItemsCommand) Name() string
func (*AsyncGetDOMStorageItemsCommand) Params ¶
func (cmd *AsyncGetDOMStorageItemsCommand) Params() interface{}
type AsyncGetDatabaseTableNamesCommand ¶
type AsyncGetDatabaseTableNamesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetDatabaseTableNamesCommand ¶
func NewAsyncGetDatabaseTableNamesCommand(params *GetDatabaseTableNamesParams, cb GetDatabaseTableNamesCB) *AsyncGetDatabaseTableNamesCommand
func (*AsyncGetDatabaseTableNamesCommand) Done ¶
func (cmd *AsyncGetDatabaseTableNamesCommand) Done(data []byte, err error)
func (*AsyncGetDatabaseTableNamesCommand) Name ¶
func (cmd *AsyncGetDatabaseTableNamesCommand) Name() string
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 NewAsyncGetEventListenersCommand ¶
func NewAsyncGetEventListenersCommand(params *GetEventListenersParams, cb GetEventListenersCB) *AsyncGetEventListenersCommand
func (*AsyncGetEventListenersCommand) Done ¶
func (cmd *AsyncGetEventListenersCommand) Done(data []byte, err error)
func (*AsyncGetEventListenersCommand) Name ¶
func (cmd *AsyncGetEventListenersCommand) Name() string
func (*AsyncGetEventListenersCommand) Params ¶
func (cmd *AsyncGetEventListenersCommand) Params() interface{}
type AsyncGetFramesWithManifestsCommand ¶
type AsyncGetFramesWithManifestsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetFramesWithManifestsCommand ¶
func NewAsyncGetFramesWithManifestsCommand(cb GetFramesWithManifestsCB) *AsyncGetFramesWithManifestsCommand
func (*AsyncGetFramesWithManifestsCommand) Done ¶
func (cmd *AsyncGetFramesWithManifestsCommand) Done(data []byte, err error)
func (*AsyncGetFramesWithManifestsCommand) Name ¶
func (cmd *AsyncGetFramesWithManifestsCommand) Name() string
func (*AsyncGetFramesWithManifestsCommand) Params ¶
func (cmd *AsyncGetFramesWithManifestsCommand) Params() interface{}
type AsyncGetHeapObjectIdCommand ¶
type AsyncGetHeapObjectIdCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetHeapObjectIdCommand ¶
func NewAsyncGetHeapObjectIdCommand(params *GetHeapObjectIdParams, cb GetHeapObjectIdCB) *AsyncGetHeapObjectIdCommand
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 NewAsyncGetHighlightObjectForTestCommand ¶
func NewAsyncGetHighlightObjectForTestCommand(params *GetHighlightObjectForTestParams, cb GetHighlightObjectForTestCB) *AsyncGetHighlightObjectForTestCommand
func (*AsyncGetHighlightObjectForTestCommand) Done ¶
func (cmd *AsyncGetHighlightObjectForTestCommand) Done(data []byte, err error)
func (*AsyncGetHighlightObjectForTestCommand) Name ¶
func (cmd *AsyncGetHighlightObjectForTestCommand) Name() string
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 NewAsyncGetInlineStylesForNodeCommand ¶
func NewAsyncGetInlineStylesForNodeCommand(params *GetInlineStylesForNodeParams, cb GetInlineStylesForNodeCB) *AsyncGetInlineStylesForNodeCommand
func (*AsyncGetInlineStylesForNodeCommand) Done ¶
func (cmd *AsyncGetInlineStylesForNodeCommand) Done(data []byte, err error)
func (*AsyncGetInlineStylesForNodeCommand) Name ¶
func (cmd *AsyncGetInlineStylesForNodeCommand) Name() string
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 NewAsyncGetLayoutMetricsCommand ¶
func NewAsyncGetLayoutMetricsCommand(cb GetLayoutMetricsCB) *AsyncGetLayoutMetricsCommand
func (*AsyncGetLayoutMetricsCommand) Done ¶
func (cmd *AsyncGetLayoutMetricsCommand) Done(data []byte, err error)
func (*AsyncGetLayoutMetricsCommand) Name ¶
func (cmd *AsyncGetLayoutMetricsCommand) Name() string
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 NewAsyncGetLayoutTreeAndStylesCommand ¶
func NewAsyncGetLayoutTreeAndStylesCommand(params *GetLayoutTreeAndStylesParams, cb GetLayoutTreeAndStylesCB) *AsyncGetLayoutTreeAndStylesCommand
func (*AsyncGetLayoutTreeAndStylesCommand) Done ¶
func (cmd *AsyncGetLayoutTreeAndStylesCommand) Done(data []byte, err error)
func (*AsyncGetLayoutTreeAndStylesCommand) Name ¶
func (cmd *AsyncGetLayoutTreeAndStylesCommand) Name() string
func (*AsyncGetLayoutTreeAndStylesCommand) Params ¶
func (cmd *AsyncGetLayoutTreeAndStylesCommand) Params() interface{}
type AsyncGetManifestForFrameCommand ¶
type AsyncGetManifestForFrameCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetManifestForFrameCommand ¶
func NewAsyncGetManifestForFrameCommand(params *GetManifestForFrameParams, cb GetManifestForFrameCB) *AsyncGetManifestForFrameCommand
func (*AsyncGetManifestForFrameCommand) Done ¶
func (cmd *AsyncGetManifestForFrameCommand) Done(data []byte, err error)
func (*AsyncGetManifestForFrameCommand) Name ¶
func (cmd *AsyncGetManifestForFrameCommand) Name() string
func (*AsyncGetManifestForFrameCommand) Params ¶
func (cmd *AsyncGetManifestForFrameCommand) Params() interface{}
type AsyncGetMatchedStylesForNodeCommand ¶
type AsyncGetMatchedStylesForNodeCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetMatchedStylesForNodeCommand ¶
func NewAsyncGetMatchedStylesForNodeCommand(params *GetMatchedStylesForNodeParams, cb GetMatchedStylesForNodeCB) *AsyncGetMatchedStylesForNodeCommand
func (*AsyncGetMatchedStylesForNodeCommand) Done ¶
func (cmd *AsyncGetMatchedStylesForNodeCommand) Done(data []byte, err error)
func (*AsyncGetMatchedStylesForNodeCommand) Name ¶
func (cmd *AsyncGetMatchedStylesForNodeCommand) Name() string
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 NewAsyncGetNavigationHistoryCommand ¶
func NewAsyncGetNavigationHistoryCommand(cb GetNavigationHistoryCB) *AsyncGetNavigationHistoryCommand
func (*AsyncGetNavigationHistoryCommand) Done ¶
func (cmd *AsyncGetNavigationHistoryCommand) Done(data []byte, err error)
func (*AsyncGetNavigationHistoryCommand) Name ¶
func (cmd *AsyncGetNavigationHistoryCommand) Name() string
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 NewAsyncGetNodeForLocationCommand ¶
func NewAsyncGetNodeForLocationCommand(params *GetNodeForLocationParams, cb GetNodeForLocationCB) *AsyncGetNodeForLocationCommand
func (*AsyncGetNodeForLocationCommand) Done ¶
func (cmd *AsyncGetNodeForLocationCommand) Done(data []byte, err error)
func (*AsyncGetNodeForLocationCommand) Name ¶
func (cmd *AsyncGetNodeForLocationCommand) Name() string
func (*AsyncGetNodeForLocationCommand) Params ¶
func (cmd *AsyncGetNodeForLocationCommand) Params() interface{}
type AsyncGetObjectByHeapObjectIdCommand ¶
type AsyncGetObjectByHeapObjectIdCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetObjectByHeapObjectIdCommand ¶
func NewAsyncGetObjectByHeapObjectIdCommand(params *GetObjectByHeapObjectIdParams, cb GetObjectByHeapObjectIdCB) *AsyncGetObjectByHeapObjectIdCommand
func (*AsyncGetObjectByHeapObjectIdCommand) Done ¶
func (cmd *AsyncGetObjectByHeapObjectIdCommand) Done(data []byte, err error)
func (*AsyncGetObjectByHeapObjectIdCommand) Name ¶
func (cmd *AsyncGetObjectByHeapObjectIdCommand) Name() string
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 NewAsyncGetPartialAXTreeCommand ¶
func NewAsyncGetPartialAXTreeCommand(params *GetPartialAXTreeParams, cb GetPartialAXTreeCB) *AsyncGetPartialAXTreeCommand
func (*AsyncGetPartialAXTreeCommand) Done ¶
func (cmd *AsyncGetPartialAXTreeCommand) Done(data []byte, err error)
func (*AsyncGetPartialAXTreeCommand) Name ¶
func (cmd *AsyncGetPartialAXTreeCommand) Name() string
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 NewAsyncGetPlatformFontsForNodeCommand ¶
func NewAsyncGetPlatformFontsForNodeCommand(params *GetPlatformFontsForNodeParams, cb GetPlatformFontsForNodeCB) *AsyncGetPlatformFontsForNodeCommand
func (*AsyncGetPlatformFontsForNodeCommand) Done ¶
func (cmd *AsyncGetPlatformFontsForNodeCommand) Done(data []byte, err error)
func (*AsyncGetPlatformFontsForNodeCommand) Name ¶
func (cmd *AsyncGetPlatformFontsForNodeCommand) Name() string
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 NewAsyncGetPossibleBreakpointsCommand ¶
func NewAsyncGetPossibleBreakpointsCommand(params *GetPossibleBreakpointsParams, cb GetPossibleBreakpointsCB) *AsyncGetPossibleBreakpointsCommand
func (*AsyncGetPossibleBreakpointsCommand) Done ¶
func (cmd *AsyncGetPossibleBreakpointsCommand) Done(data []byte, err error)
func (*AsyncGetPossibleBreakpointsCommand) Name ¶
func (cmd *AsyncGetPossibleBreakpointsCommand) Name() string
func (*AsyncGetPossibleBreakpointsCommand) Params ¶
func (cmd *AsyncGetPossibleBreakpointsCommand) Params() interface{}
type AsyncGetPropertiesCommand ¶
type AsyncGetPropertiesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetPropertiesCommand ¶
func NewAsyncGetPropertiesCommand(params *GetPropertiesParams, cb GetPropertiesCB) *AsyncGetPropertiesCommand
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 NewAsyncGetRelayoutBoundaryCommand ¶
func NewAsyncGetRelayoutBoundaryCommand(params *GetRelayoutBoundaryParams, cb GetRelayoutBoundaryCB) *AsyncGetRelayoutBoundaryCommand
func (*AsyncGetRelayoutBoundaryCommand) Done ¶
func (cmd *AsyncGetRelayoutBoundaryCommand) Done(data []byte, err error)
func (*AsyncGetRelayoutBoundaryCommand) Name ¶
func (cmd *AsyncGetRelayoutBoundaryCommand) Name() string
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 NewAsyncGetResourceContentCommand ¶
func NewAsyncGetResourceContentCommand(params *GetResourceContentParams, cb GetResourceContentCB) *AsyncGetResourceContentCommand
func (*AsyncGetResourceContentCommand) Done ¶
func (cmd *AsyncGetResourceContentCommand) Done(data []byte, err error)
func (*AsyncGetResourceContentCommand) Name ¶
func (cmd *AsyncGetResourceContentCommand) Name() string
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 NewAsyncGetResponseBodyCommand ¶
func NewAsyncGetResponseBodyCommand(params *GetResponseBodyParams, cb GetResponseBodyCB) *AsyncGetResponseBodyCommand
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 NewAsyncGetScriptSourceCommand ¶
func NewAsyncGetScriptSourceCommand(params *GetScriptSourceParams, cb GetScriptSourceCB) *AsyncGetScriptSourceCommand
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 NewAsyncGetSearchResultsCommand ¶
func NewAsyncGetSearchResultsCommand(params *GetSearchResultsParams, cb GetSearchResultsCB) *AsyncGetSearchResultsCommand
func (*AsyncGetSearchResultsCommand) Done ¶
func (cmd *AsyncGetSearchResultsCommand) Done(data []byte, err error)
func (*AsyncGetSearchResultsCommand) Name ¶
func (cmd *AsyncGetSearchResultsCommand) Name() string
func (*AsyncGetSearchResultsCommand) Params ¶
func (cmd *AsyncGetSearchResultsCommand) Params() interface{}
type AsyncGetStyleSheetTextCommand ¶
type AsyncGetStyleSheetTextCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetStyleSheetTextCommand ¶
func NewAsyncGetStyleSheetTextCommand(params *GetStyleSheetTextParams, cb GetStyleSheetTextCB) *AsyncGetStyleSheetTextCommand
func (*AsyncGetStyleSheetTextCommand) Done ¶
func (cmd *AsyncGetStyleSheetTextCommand) Done(data []byte, err error)
func (*AsyncGetStyleSheetTextCommand) Name ¶
func (cmd *AsyncGetStyleSheetTextCommand) Name() string
func (*AsyncGetStyleSheetTextCommand) Params ¶
func (cmd *AsyncGetStyleSheetTextCommand) Params() interface{}
type AsyncGetTargetInfoCommand ¶
type AsyncGetTargetInfoCommand struct {
// contains filtered or unexported fields
}
func NewAsyncGetTargetInfoCommand ¶
func NewAsyncGetTargetInfoCommand(params *GetTargetInfoParams, cb GetTargetInfoCB) *AsyncGetTargetInfoCommand
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 NewAsyncHandleJavaScriptDialogCommand ¶
func NewAsyncHandleJavaScriptDialogCommand(params *HandleJavaScriptDialogParams, cb HandleJavaScriptDialogCB) *AsyncHandleJavaScriptDialogCommand
func (*AsyncHandleJavaScriptDialogCommand) Done ¶
func (cmd *AsyncHandleJavaScriptDialogCommand) Done(data []byte, err error)
func (*AsyncHandleJavaScriptDialogCommand) Name ¶
func (cmd *AsyncHandleJavaScriptDialogCommand) Name() string
func (*AsyncHandleJavaScriptDialogCommand) Params ¶
func (cmd *AsyncHandleJavaScriptDialogCommand) Params() interface{}
type AsyncHeapProfilerDisableCommand ¶
type AsyncHeapProfilerDisableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncHeapProfilerDisableCommand ¶
func NewAsyncHeapProfilerDisableCommand(cb HeapProfilerDisableCB) *AsyncHeapProfilerDisableCommand
func (*AsyncHeapProfilerDisableCommand) Done ¶
func (cmd *AsyncHeapProfilerDisableCommand) Done(data []byte, err error)
func (*AsyncHeapProfilerDisableCommand) Name ¶
func (cmd *AsyncHeapProfilerDisableCommand) Name() string
func (*AsyncHeapProfilerDisableCommand) Params ¶
func (cmd *AsyncHeapProfilerDisableCommand) Params() interface{}
type AsyncHeapProfilerEnableCommand ¶
type AsyncHeapProfilerEnableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncHeapProfilerEnableCommand ¶
func NewAsyncHeapProfilerEnableCommand(cb HeapProfilerEnableCB) *AsyncHeapProfilerEnableCommand
func (*AsyncHeapProfilerEnableCommand) Done ¶
func (cmd *AsyncHeapProfilerEnableCommand) Done(data []byte, err error)
func (*AsyncHeapProfilerEnableCommand) Name ¶
func (cmd *AsyncHeapProfilerEnableCommand) Name() string
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 NewAsyncHighlightFrameCommand ¶
func NewAsyncHighlightFrameCommand(params *HighlightFrameParams, cb HighlightFrameCB) *AsyncHighlightFrameCommand
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 NewAsyncHighlightNodeCommand ¶
func NewAsyncHighlightNodeCommand(params *HighlightNodeParams, cb HighlightNodeCB) *AsyncHighlightNodeCommand
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 NewAsyncHighlightQuadCommand ¶
func NewAsyncHighlightQuadCommand(params *HighlightQuadParams, cb HighlightQuadCB) *AsyncHighlightQuadCommand
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 NewAsyncHighlightRectCommand ¶
func NewAsyncHighlightRectCommand(params *HighlightRectParams, cb HighlightRectCB) *AsyncHighlightRectCommand
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 NewAsyncIndexedDBDisableCommand ¶
func NewAsyncIndexedDBDisableCommand(cb IndexedDBDisableCB) *AsyncIndexedDBDisableCommand
func (*AsyncIndexedDBDisableCommand) Done ¶
func (cmd *AsyncIndexedDBDisableCommand) Done(data []byte, err error)
func (*AsyncIndexedDBDisableCommand) Name ¶
func (cmd *AsyncIndexedDBDisableCommand) Name() string
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 NewAsyncInspectWorkerCommand ¶
func NewAsyncInspectWorkerCommand(params *InspectWorkerParams, cb InspectWorkerCB) *AsyncInspectWorkerCommand
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 NewAsyncInspectorDisableCommand ¶
func NewAsyncInspectorDisableCommand(cb InspectorDisableCB) *AsyncInspectorDisableCommand
func (*AsyncInspectorDisableCommand) Done ¶
func (cmd *AsyncInspectorDisableCommand) Done(data []byte, err error)
func (*AsyncInspectorDisableCommand) Name ¶
func (cmd *AsyncInspectorDisableCommand) Name() string
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 NewAsyncLayerTreeDisableCommand ¶
func NewAsyncLayerTreeDisableCommand(cb LayerTreeDisableCB) *AsyncLayerTreeDisableCommand
func (*AsyncLayerTreeDisableCommand) Done ¶
func (cmd *AsyncLayerTreeDisableCommand) Done(data []byte, err error)
func (*AsyncLayerTreeDisableCommand) Name ¶
func (cmd *AsyncLayerTreeDisableCommand) Name() string
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 NewAsyncMarkUndoableStateCommand ¶
func NewAsyncMarkUndoableStateCommand(cb MarkUndoableStateCB) *AsyncMarkUndoableStateCommand
func (*AsyncMarkUndoableStateCommand) Done ¶
func (cmd *AsyncMarkUndoableStateCommand) Done(data []byte, err error)
func (*AsyncMarkUndoableStateCommand) Name ¶
func (cmd *AsyncMarkUndoableStateCommand) Name() string
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 NewAsyncNavigateToHistoryEntryCommand ¶
func NewAsyncNavigateToHistoryEntryCommand(params *NavigateToHistoryEntryParams, cb NavigateToHistoryEntryCB) *AsyncNavigateToHistoryEntryCommand
func (*AsyncNavigateToHistoryEntryCommand) Done ¶
func (cmd *AsyncNavigateToHistoryEntryCommand) Done(data []byte, err error)
func (*AsyncNavigateToHistoryEntryCommand) Name ¶
func (cmd *AsyncNavigateToHistoryEntryCommand) Name() string
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 NewAsyncNetworkDeleteCookieCommand ¶
func NewAsyncNetworkDeleteCookieCommand(params *NetworkDeleteCookieParams, cb NetworkDeleteCookieCB) *AsyncNetworkDeleteCookieCommand
func (*AsyncNetworkDeleteCookieCommand) Done ¶
func (cmd *AsyncNetworkDeleteCookieCommand) Done(data []byte, err error)
func (*AsyncNetworkDeleteCookieCommand) Name ¶
func (cmd *AsyncNetworkDeleteCookieCommand) Name() string
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 NewAsyncNetworkEnableCommand ¶
func NewAsyncNetworkEnableCommand(params *NetworkEnableParams, cb NetworkEnableCB) *AsyncNetworkEnableCommand
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 NewAsyncNetworkGetCookiesCommand ¶
func NewAsyncNetworkGetCookiesCommand(cb NetworkGetCookiesCB) *AsyncNetworkGetCookiesCommand
func (*AsyncNetworkGetCookiesCommand) Done ¶
func (cmd *AsyncNetworkGetCookiesCommand) Done(data []byte, err error)
func (*AsyncNetworkGetCookiesCommand) Name ¶
func (cmd *AsyncNetworkGetCookiesCommand) Name() string
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 NewAsyncPageClearDeviceMetricsOverrideCommand ¶
func NewAsyncPageClearDeviceMetricsOverrideCommand(cb PageClearDeviceMetricsOverrideCB) *AsyncPageClearDeviceMetricsOverrideCommand
func (*AsyncPageClearDeviceMetricsOverrideCommand) Done ¶
func (cmd *AsyncPageClearDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*AsyncPageClearDeviceMetricsOverrideCommand) Name ¶
func (cmd *AsyncPageClearDeviceMetricsOverrideCommand) Name() string
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 NewAsyncPageClearDeviceOrientationOverrideCommand ¶
func NewAsyncPageClearDeviceOrientationOverrideCommand(cb PageClearDeviceOrientationOverrideCB) *AsyncPageClearDeviceOrientationOverrideCommand
func (*AsyncPageClearDeviceOrientationOverrideCommand) Done ¶
func (cmd *AsyncPageClearDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*AsyncPageClearDeviceOrientationOverrideCommand) Name ¶
func (cmd *AsyncPageClearDeviceOrientationOverrideCommand) Name() string
func (*AsyncPageClearDeviceOrientationOverrideCommand) Params ¶
func (cmd *AsyncPageClearDeviceOrientationOverrideCommand) Params() interface{}
type AsyncPageClearGeolocationOverrideCommand ¶
type AsyncPageClearGeolocationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncPageClearGeolocationOverrideCommand ¶
func NewAsyncPageClearGeolocationOverrideCommand(cb PageClearGeolocationOverrideCB) *AsyncPageClearGeolocationOverrideCommand
func (*AsyncPageClearGeolocationOverrideCommand) Done ¶
func (cmd *AsyncPageClearGeolocationOverrideCommand) Done(data []byte, err error)
func (*AsyncPageClearGeolocationOverrideCommand) Name ¶
func (cmd *AsyncPageClearGeolocationOverrideCommand) Name() string
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 NewAsyncPageDeleteCookieCommand ¶
func NewAsyncPageDeleteCookieCommand(params *PageDeleteCookieParams, cb PageDeleteCookieCB) *AsyncPageDeleteCookieCommand
func (*AsyncPageDeleteCookieCommand) Done ¶
func (cmd *AsyncPageDeleteCookieCommand) Done(data []byte, err error)
func (*AsyncPageDeleteCookieCommand) Name ¶
func (cmd *AsyncPageDeleteCookieCommand) Name() string
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 NewAsyncPageSetDeviceMetricsOverrideCommand ¶
func NewAsyncPageSetDeviceMetricsOverrideCommand(params *PageSetDeviceMetricsOverrideParams, cb PageSetDeviceMetricsOverrideCB) *AsyncPageSetDeviceMetricsOverrideCommand
func (*AsyncPageSetDeviceMetricsOverrideCommand) Done ¶
func (cmd *AsyncPageSetDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*AsyncPageSetDeviceMetricsOverrideCommand) Name ¶
func (cmd *AsyncPageSetDeviceMetricsOverrideCommand) Name() string
func (*AsyncPageSetDeviceMetricsOverrideCommand) Params ¶
func (cmd *AsyncPageSetDeviceMetricsOverrideCommand) Params() interface{}
type AsyncPageSetDeviceOrientationOverrideCommand ¶
type AsyncPageSetDeviceOrientationOverrideCommand struct {
// contains filtered or unexported fields
}
Overrides the Device Orientation. @experimental
func NewAsyncPageSetDeviceOrientationOverrideCommand ¶
func NewAsyncPageSetDeviceOrientationOverrideCommand(params *PageSetDeviceOrientationOverrideParams, cb PageSetDeviceOrientationOverrideCB) *AsyncPageSetDeviceOrientationOverrideCommand
func (*AsyncPageSetDeviceOrientationOverrideCommand) Done ¶
func (cmd *AsyncPageSetDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*AsyncPageSetDeviceOrientationOverrideCommand) Name ¶
func (cmd *AsyncPageSetDeviceOrientationOverrideCommand) Name() string
func (*AsyncPageSetDeviceOrientationOverrideCommand) Params ¶
func (cmd *AsyncPageSetDeviceOrientationOverrideCommand) Params() interface{}
type AsyncPageSetGeolocationOverrideCommand ¶
type AsyncPageSetGeolocationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewAsyncPageSetGeolocationOverrideCommand ¶
func NewAsyncPageSetGeolocationOverrideCommand(params *PageSetGeolocationOverrideParams, cb PageSetGeolocationOverrideCB) *AsyncPageSetGeolocationOverrideCommand
func (*AsyncPageSetGeolocationOverrideCommand) Done ¶
func (cmd *AsyncPageSetGeolocationOverrideCommand) Done(data []byte, err error)
func (*AsyncPageSetGeolocationOverrideCommand) Name ¶
func (cmd *AsyncPageSetGeolocationOverrideCommand) Name() string
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 NewAsyncPageSetTouchEmulationEnabledCommand ¶
func NewAsyncPageSetTouchEmulationEnabledCommand(params *PageSetTouchEmulationEnabledParams, cb PageSetTouchEmulationEnabledCB) *AsyncPageSetTouchEmulationEnabledCommand
func (*AsyncPageSetTouchEmulationEnabledCommand) Done ¶
func (cmd *AsyncPageSetTouchEmulationEnabledCommand) Done(data []byte, err error)
func (*AsyncPageSetTouchEmulationEnabledCommand) Name ¶
func (cmd *AsyncPageSetTouchEmulationEnabledCommand) Name() string
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 NewAsyncPerformSearchCommand ¶
func NewAsyncPerformSearchCommand(params *PerformSearchParams, cb PerformSearchCB) *AsyncPerformSearchCommand
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 NewAsyncProcessNavigationCommand ¶
func NewAsyncProcessNavigationCommand(params *ProcessNavigationParams, cb ProcessNavigationCB) *AsyncProcessNavigationCommand
func (*AsyncProcessNavigationCommand) Done ¶
func (cmd *AsyncProcessNavigationCommand) Done(data []byte, err error)
func (*AsyncProcessNavigationCommand) Name ¶
func (cmd *AsyncProcessNavigationCommand) Name() string
func (*AsyncProcessNavigationCommand) Params ¶
func (cmd *AsyncProcessNavigationCommand) Params() interface{}
type AsyncProfileSnapshotCommand ¶
type AsyncProfileSnapshotCommand struct {
// contains filtered or unexported fields
}
func NewAsyncProfileSnapshotCommand ¶
func NewAsyncProfileSnapshotCommand(params *ProfileSnapshotParams, cb ProfileSnapshotCB) *AsyncProfileSnapshotCommand
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 NewAsyncPushNodeByPathToFrontendCommand ¶
func NewAsyncPushNodeByPathToFrontendCommand(params *PushNodeByPathToFrontendParams, cb PushNodeByPathToFrontendCB) *AsyncPushNodeByPathToFrontendCommand
func (*AsyncPushNodeByPathToFrontendCommand) Done ¶
func (cmd *AsyncPushNodeByPathToFrontendCommand) Done(data []byte, err error)
func (*AsyncPushNodeByPathToFrontendCommand) Name ¶
func (cmd *AsyncPushNodeByPathToFrontendCommand) Name() string
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 NewAsyncPushNodesByBackendIdsToFrontendCommand ¶
func NewAsyncPushNodesByBackendIdsToFrontendCommand(params *PushNodesByBackendIdsToFrontendParams, cb PushNodesByBackendIdsToFrontendCB) *AsyncPushNodesByBackendIdsToFrontendCommand
func (*AsyncPushNodesByBackendIdsToFrontendCommand) Done ¶
func (cmd *AsyncPushNodesByBackendIdsToFrontendCommand) Done(data []byte, err error)
func (*AsyncPushNodesByBackendIdsToFrontendCommand) Name ¶
func (cmd *AsyncPushNodesByBackendIdsToFrontendCommand) Name() string
func (*AsyncPushNodesByBackendIdsToFrontendCommand) Params ¶
func (cmd *AsyncPushNodesByBackendIdsToFrontendCommand) Params() interface{}
type AsyncQuerySelectorAllCommand ¶
type AsyncQuerySelectorAllCommand struct {
// contains filtered or unexported fields
}
func NewAsyncQuerySelectorAllCommand ¶
func NewAsyncQuerySelectorAllCommand(params *QuerySelectorAllParams, cb QuerySelectorAllCB) *AsyncQuerySelectorAllCommand
func (*AsyncQuerySelectorAllCommand) Done ¶
func (cmd *AsyncQuerySelectorAllCommand) Done(data []byte, err error)
func (*AsyncQuerySelectorAllCommand) Name ¶
func (cmd *AsyncQuerySelectorAllCommand) Name() string
func (*AsyncQuerySelectorAllCommand) Params ¶
func (cmd *AsyncQuerySelectorAllCommand) Params() interface{}
type AsyncQuerySelectorCommand ¶
type AsyncQuerySelectorCommand struct {
// contains filtered or unexported fields
}
func NewAsyncQuerySelectorCommand ¶
func NewAsyncQuerySelectorCommand(params *QuerySelectorParams, cb QuerySelectorCB) *AsyncQuerySelectorCommand
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 NewAsyncRecordClockSyncMarkerCommand ¶
func NewAsyncRecordClockSyncMarkerCommand(params *RecordClockSyncMarkerParams, cb RecordClockSyncMarkerCB) *AsyncRecordClockSyncMarkerCommand
func (*AsyncRecordClockSyncMarkerCommand) Done ¶
func (cmd *AsyncRecordClockSyncMarkerCommand) Done(data []byte, err error)
func (*AsyncRecordClockSyncMarkerCommand) Name ¶
func (cmd *AsyncRecordClockSyncMarkerCommand) Name() string
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 NewAsyncReleaseAnimationsCommand ¶
func NewAsyncReleaseAnimationsCommand(params *ReleaseAnimationsParams, cb ReleaseAnimationsCB) *AsyncReleaseAnimationsCommand
func (*AsyncReleaseAnimationsCommand) Done ¶
func (cmd *AsyncReleaseAnimationsCommand) Done(data []byte, err error)
func (*AsyncReleaseAnimationsCommand) Name ¶
func (cmd *AsyncReleaseAnimationsCommand) Name() string
func (*AsyncReleaseAnimationsCommand) Params ¶
func (cmd *AsyncReleaseAnimationsCommand) Params() interface{}
type AsyncReleaseObjectCommand ¶
type AsyncReleaseObjectCommand struct {
// contains filtered or unexported fields
}
func NewAsyncReleaseObjectCommand ¶
func NewAsyncReleaseObjectCommand(params *ReleaseObjectParams, cb ReleaseObjectCB) *AsyncReleaseObjectCommand
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 NewAsyncReleaseObjectGroupCommand ¶
func NewAsyncReleaseObjectGroupCommand(params *ReleaseObjectGroupParams, cb ReleaseObjectGroupCB) *AsyncReleaseObjectGroupCommand
func (*AsyncReleaseObjectGroupCommand) Done ¶
func (cmd *AsyncReleaseObjectGroupCommand) Done(data []byte, err error)
func (*AsyncReleaseObjectGroupCommand) Name ¶
func (cmd *AsyncReleaseObjectGroupCommand) Name() string
func (*AsyncReleaseObjectGroupCommand) Params ¶
func (cmd *AsyncReleaseObjectGroupCommand) Params() interface{}
type AsyncReleaseSnapshotCommand ¶
type AsyncReleaseSnapshotCommand struct {
// contains filtered or unexported fields
}
func NewAsyncReleaseSnapshotCommand ¶
func NewAsyncReleaseSnapshotCommand(params *ReleaseSnapshotParams, cb ReleaseSnapshotCB) *AsyncReleaseSnapshotCommand
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 NewAsyncRemoveAttributeCommand ¶
func NewAsyncRemoveAttributeCommand(params *RemoveAttributeParams, cb RemoveAttributeCB) *AsyncRemoveAttributeCommand
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 NewAsyncRemoveBlockedURLCommand ¶
func NewAsyncRemoveBlockedURLCommand(params *RemoveBlockedURLParams, cb RemoveBlockedURLCB) *AsyncRemoveBlockedURLCommand
func (*AsyncRemoveBlockedURLCommand) Done ¶
func (cmd *AsyncRemoveBlockedURLCommand) Done(data []byte, err error)
func (*AsyncRemoveBlockedURLCommand) Name ¶
func (cmd *AsyncRemoveBlockedURLCommand) Name() string
func (*AsyncRemoveBlockedURLCommand) Params ¶
func (cmd *AsyncRemoveBlockedURLCommand) Params() interface{}
type AsyncRemoveBreakpointCommand ¶
type AsyncRemoveBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRemoveBreakpointCommand ¶
func NewAsyncRemoveBreakpointCommand(params *RemoveBreakpointParams, cb RemoveBreakpointCB) *AsyncRemoveBreakpointCommand
func (*AsyncRemoveBreakpointCommand) Done ¶
func (cmd *AsyncRemoveBreakpointCommand) Done(data []byte, err error)
func (*AsyncRemoveBreakpointCommand) Name ¶
func (cmd *AsyncRemoveBreakpointCommand) Name() string
func (*AsyncRemoveBreakpointCommand) Params ¶
func (cmd *AsyncRemoveBreakpointCommand) Params() interface{}
type AsyncRemoveDOMBreakpointCommand ¶
type AsyncRemoveDOMBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRemoveDOMBreakpointCommand ¶
func NewAsyncRemoveDOMBreakpointCommand(params *RemoveDOMBreakpointParams, cb RemoveDOMBreakpointCB) *AsyncRemoveDOMBreakpointCommand
func (*AsyncRemoveDOMBreakpointCommand) Done ¶
func (cmd *AsyncRemoveDOMBreakpointCommand) Done(data []byte, err error)
func (*AsyncRemoveDOMBreakpointCommand) Name ¶
func (cmd *AsyncRemoveDOMBreakpointCommand) Name() string
func (*AsyncRemoveDOMBreakpointCommand) Params ¶
func (cmd *AsyncRemoveDOMBreakpointCommand) Params() interface{}
type AsyncRemoveDOMStorageItemCommand ¶
type AsyncRemoveDOMStorageItemCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRemoveDOMStorageItemCommand ¶
func NewAsyncRemoveDOMStorageItemCommand(params *RemoveDOMStorageItemParams, cb RemoveDOMStorageItemCB) *AsyncRemoveDOMStorageItemCommand
func (*AsyncRemoveDOMStorageItemCommand) Done ¶
func (cmd *AsyncRemoveDOMStorageItemCommand) Done(data []byte, err error)
func (*AsyncRemoveDOMStorageItemCommand) Name ¶
func (cmd *AsyncRemoveDOMStorageItemCommand) Name() string
func (*AsyncRemoveDOMStorageItemCommand) Params ¶
func (cmd *AsyncRemoveDOMStorageItemCommand) Params() interface{}
type AsyncRemoveEventListenerBreakpointCommand ¶
type AsyncRemoveEventListenerBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRemoveEventListenerBreakpointCommand ¶
func NewAsyncRemoveEventListenerBreakpointCommand(params *RemoveEventListenerBreakpointParams, cb RemoveEventListenerBreakpointCB) *AsyncRemoveEventListenerBreakpointCommand
func (*AsyncRemoveEventListenerBreakpointCommand) Done ¶
func (cmd *AsyncRemoveEventListenerBreakpointCommand) Done(data []byte, err error)
func (*AsyncRemoveEventListenerBreakpointCommand) Name ¶
func (cmd *AsyncRemoveEventListenerBreakpointCommand) Name() string
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 NewAsyncRemoveInstrumentationBreakpointCommand ¶
func NewAsyncRemoveInstrumentationBreakpointCommand(params *RemoveInstrumentationBreakpointParams, cb RemoveInstrumentationBreakpointCB) *AsyncRemoveInstrumentationBreakpointCommand
func (*AsyncRemoveInstrumentationBreakpointCommand) Done ¶
func (cmd *AsyncRemoveInstrumentationBreakpointCommand) Done(data []byte, err error)
func (*AsyncRemoveInstrumentationBreakpointCommand) Name ¶
func (cmd *AsyncRemoveInstrumentationBreakpointCommand) Name() string
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 NewAsyncRemoveScriptToEvaluateOnLoadCommand ¶
func NewAsyncRemoveScriptToEvaluateOnLoadCommand(params *RemoveScriptToEvaluateOnLoadParams, cb RemoveScriptToEvaluateOnLoadCB) *AsyncRemoveScriptToEvaluateOnLoadCommand
func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Done ¶
func (cmd *AsyncRemoveScriptToEvaluateOnLoadCommand) Done(data []byte, err error)
func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Name ¶
func (cmd *AsyncRemoveScriptToEvaluateOnLoadCommand) Name() string
func (*AsyncRemoveScriptToEvaluateOnLoadCommand) Params ¶
func (cmd *AsyncRemoveScriptToEvaluateOnLoadCommand) Params() interface{}
type AsyncRemoveXHRBreakpointCommand ¶
type AsyncRemoveXHRBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRemoveXHRBreakpointCommand ¶
func NewAsyncRemoveXHRBreakpointCommand(params *RemoveXHRBreakpointParams, cb RemoveXHRBreakpointCB) *AsyncRemoveXHRBreakpointCommand
func (*AsyncRemoveXHRBreakpointCommand) Done ¶
func (cmd *AsyncRemoveXHRBreakpointCommand) Done(data []byte, err error)
func (*AsyncRemoveXHRBreakpointCommand) Name ¶
func (cmd *AsyncRemoveXHRBreakpointCommand) Name() string
func (*AsyncRemoveXHRBreakpointCommand) Params ¶
func (cmd *AsyncRemoveXHRBreakpointCommand) Params() interface{}
type AsyncReplaySnapshotCommand ¶
type AsyncReplaySnapshotCommand struct {
// contains filtered or unexported fields
}
func NewAsyncReplaySnapshotCommand ¶
func NewAsyncReplaySnapshotCommand(params *ReplaySnapshotParams, cb ReplaySnapshotCB) *AsyncReplaySnapshotCommand
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 NewAsyncRequestAppBannerCommand ¶
func NewAsyncRequestAppBannerCommand(cb RequestAppBannerCB) *AsyncRequestAppBannerCommand
func (*AsyncRequestAppBannerCommand) Done ¶
func (cmd *AsyncRequestAppBannerCommand) Done(data []byte, err error)
func (*AsyncRequestAppBannerCommand) Name ¶
func (cmd *AsyncRequestAppBannerCommand) Name() string
func (*AsyncRequestAppBannerCommand) Params ¶
func (cmd *AsyncRequestAppBannerCommand) Params() interface{}
type AsyncRequestCacheNamesCommand ¶
type AsyncRequestCacheNamesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRequestCacheNamesCommand ¶
func NewAsyncRequestCacheNamesCommand(params *RequestCacheNamesParams, cb RequestCacheNamesCB) *AsyncRequestCacheNamesCommand
func (*AsyncRequestCacheNamesCommand) Done ¶
func (cmd *AsyncRequestCacheNamesCommand) Done(data []byte, err error)
func (*AsyncRequestCacheNamesCommand) Name ¶
func (cmd *AsyncRequestCacheNamesCommand) Name() string
func (*AsyncRequestCacheNamesCommand) Params ¶
func (cmd *AsyncRequestCacheNamesCommand) Params() interface{}
type AsyncRequestChildNodesCommand ¶
type AsyncRequestChildNodesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRequestChildNodesCommand ¶
func NewAsyncRequestChildNodesCommand(params *RequestChildNodesParams, cb RequestChildNodesCB) *AsyncRequestChildNodesCommand
func (*AsyncRequestChildNodesCommand) Done ¶
func (cmd *AsyncRequestChildNodesCommand) Done(data []byte, err error)
func (*AsyncRequestChildNodesCommand) Name ¶
func (cmd *AsyncRequestChildNodesCommand) Name() string
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 NewAsyncRequestDatabaseCommand ¶
func NewAsyncRequestDatabaseCommand(params *RequestDatabaseParams, cb RequestDatabaseCB) *AsyncRequestDatabaseCommand
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 NewAsyncRequestDatabaseNamesCommand ¶
func NewAsyncRequestDatabaseNamesCommand(params *RequestDatabaseNamesParams, cb RequestDatabaseNamesCB) *AsyncRequestDatabaseNamesCommand
func (*AsyncRequestDatabaseNamesCommand) Done ¶
func (cmd *AsyncRequestDatabaseNamesCommand) Done(data []byte, err error)
func (*AsyncRequestDatabaseNamesCommand) Name ¶
func (cmd *AsyncRequestDatabaseNamesCommand) Name() string
func (*AsyncRequestDatabaseNamesCommand) Params ¶
func (cmd *AsyncRequestDatabaseNamesCommand) Params() interface{}
type AsyncRequestEntriesCommand ¶
type AsyncRequestEntriesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncRequestEntriesCommand ¶
func NewAsyncRequestEntriesCommand(params *RequestEntriesParams, cb RequestEntriesCB) *AsyncRequestEntriesCommand
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 NewAsyncRequestMemoryDumpCommand ¶
func NewAsyncRequestMemoryDumpCommand(cb RequestMemoryDumpCB) *AsyncRequestMemoryDumpCommand
func (*AsyncRequestMemoryDumpCommand) Done ¶
func (cmd *AsyncRequestMemoryDumpCommand) Done(data []byte, err error)
func (*AsyncRequestMemoryDumpCommand) Name ¶
func (cmd *AsyncRequestMemoryDumpCommand) Name() string
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 NewAsyncResetPageScaleFactorCommand ¶
func NewAsyncResetPageScaleFactorCommand(cb ResetPageScaleFactorCB) *AsyncResetPageScaleFactorCommand
func (*AsyncResetPageScaleFactorCommand) Done ¶
func (cmd *AsyncResetPageScaleFactorCommand) Done(data []byte, err error)
func (*AsyncResetPageScaleFactorCommand) Name ¶
func (cmd *AsyncResetPageScaleFactorCommand) Name() string
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 NewAsyncResolveAnimationCommand ¶
func NewAsyncResolveAnimationCommand(params *ResolveAnimationParams, cb ResolveAnimationCB) *AsyncResolveAnimationCommand
func (*AsyncResolveAnimationCommand) Done ¶
func (cmd *AsyncResolveAnimationCommand) Done(data []byte, err error)
func (*AsyncResolveAnimationCommand) Name ¶
func (cmd *AsyncResolveAnimationCommand) Name() string
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 NewAsyncRunIfWaitingForDebuggerCommand ¶
func NewAsyncRunIfWaitingForDebuggerCommand(cb RunIfWaitingForDebuggerCB) *AsyncRunIfWaitingForDebuggerCommand
func (*AsyncRunIfWaitingForDebuggerCommand) Done ¶
func (cmd *AsyncRunIfWaitingForDebuggerCommand) Done(data []byte, err error)
func (*AsyncRunIfWaitingForDebuggerCommand) Name ¶
func (cmd *AsyncRunIfWaitingForDebuggerCommand) Name() string
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 NewAsyncScreencastFrameAckCommand ¶
func NewAsyncScreencastFrameAckCommand(params *ScreencastFrameAckParams, cb ScreencastFrameAckCB) *AsyncScreencastFrameAckCommand
func (*AsyncScreencastFrameAckCommand) Done ¶
func (cmd *AsyncScreencastFrameAckCommand) Done(data []byte, err error)
func (*AsyncScreencastFrameAckCommand) Name ¶
func (cmd *AsyncScreencastFrameAckCommand) Name() string
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 NewAsyncSearchInContentCommand ¶
func NewAsyncSearchInContentCommand(params *SearchInContentParams, cb SearchInContentCB) *AsyncSearchInContentCommand
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 NewAsyncSearchInResourceCommand ¶
func NewAsyncSearchInResourceCommand(params *SearchInResourceParams, cb SearchInResourceCB) *AsyncSearchInResourceCommand
func (*AsyncSearchInResourceCommand) Done ¶
func (cmd *AsyncSearchInResourceCommand) Done(data []byte, err error)
func (*AsyncSearchInResourceCommand) Name ¶
func (cmd *AsyncSearchInResourceCommand) Name() string
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 NewAsyncSeekAnimationsCommand ¶
func NewAsyncSeekAnimationsCommand(params *SeekAnimationsParams, cb SeekAnimationsCB) *AsyncSeekAnimationsCommand
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 NewAsyncSendMessageToTargetCommand ¶
func NewAsyncSendMessageToTargetCommand(params *SendMessageToTargetParams, cb SendMessageToTargetCB) *AsyncSendMessageToTargetCommand
func (*AsyncSendMessageToTargetCommand) Done ¶
func (cmd *AsyncSendMessageToTargetCommand) Done(data []byte, err error)
func (*AsyncSendMessageToTargetCommand) Name ¶
func (cmd *AsyncSendMessageToTargetCommand) Name() string
func (*AsyncSendMessageToTargetCommand) Params ¶
func (cmd *AsyncSendMessageToTargetCommand) Params() interface{}
type AsyncServiceWorkerDisableCommand ¶
type AsyncServiceWorkerDisableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncServiceWorkerDisableCommand ¶
func NewAsyncServiceWorkerDisableCommand(cb ServiceWorkerDisableCB) *AsyncServiceWorkerDisableCommand
func (*AsyncServiceWorkerDisableCommand) Done ¶
func (cmd *AsyncServiceWorkerDisableCommand) Done(data []byte, err error)
func (*AsyncServiceWorkerDisableCommand) Name ¶
func (cmd *AsyncServiceWorkerDisableCommand) Name() string
func (*AsyncServiceWorkerDisableCommand) Params ¶
func (cmd *AsyncServiceWorkerDisableCommand) Params() interface{}
type AsyncServiceWorkerEnableCommand ¶
type AsyncServiceWorkerEnableCommand struct {
// contains filtered or unexported fields
}
func NewAsyncServiceWorkerEnableCommand ¶
func NewAsyncServiceWorkerEnableCommand(cb ServiceWorkerEnableCB) *AsyncServiceWorkerEnableCommand
func (*AsyncServiceWorkerEnableCommand) Done ¶
func (cmd *AsyncServiceWorkerEnableCommand) Done(data []byte, err error)
func (*AsyncServiceWorkerEnableCommand) Name ¶
func (cmd *AsyncServiceWorkerEnableCommand) Name() string
func (*AsyncServiceWorkerEnableCommand) Params ¶
func (cmd *AsyncServiceWorkerEnableCommand) Params() interface{}
type AsyncSetAsyncCallStackDepthCommand ¶
type AsyncSetAsyncCallStackDepthCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetAsyncCallStackDepthCommand ¶
func NewAsyncSetAsyncCallStackDepthCommand(params *SetAsyncCallStackDepthParams, cb SetAsyncCallStackDepthCB) *AsyncSetAsyncCallStackDepthCommand
func (*AsyncSetAsyncCallStackDepthCommand) Done ¶
func (cmd *AsyncSetAsyncCallStackDepthCommand) Done(data []byte, err error)
func (*AsyncSetAsyncCallStackDepthCommand) Name ¶
func (cmd *AsyncSetAsyncCallStackDepthCommand) Name() string
func (*AsyncSetAsyncCallStackDepthCommand) Params ¶
func (cmd *AsyncSetAsyncCallStackDepthCommand) Params() interface{}
type AsyncSetAttachToFramesCommand ¶
type AsyncSetAttachToFramesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetAttachToFramesCommand ¶
func NewAsyncSetAttachToFramesCommand(params *SetAttachToFramesParams, cb SetAttachToFramesCB) *AsyncSetAttachToFramesCommand
func (*AsyncSetAttachToFramesCommand) Done ¶
func (cmd *AsyncSetAttachToFramesCommand) Done(data []byte, err error)
func (*AsyncSetAttachToFramesCommand) Name ¶
func (cmd *AsyncSetAttachToFramesCommand) Name() string
func (*AsyncSetAttachToFramesCommand) Params ¶
func (cmd *AsyncSetAttachToFramesCommand) Params() interface{}
type AsyncSetAttributeValueCommand ¶
type AsyncSetAttributeValueCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetAttributeValueCommand ¶
func NewAsyncSetAttributeValueCommand(params *SetAttributeValueParams, cb SetAttributeValueCB) *AsyncSetAttributeValueCommand
func (*AsyncSetAttributeValueCommand) Done ¶
func (cmd *AsyncSetAttributeValueCommand) Done(data []byte, err error)
func (*AsyncSetAttributeValueCommand) Name ¶
func (cmd *AsyncSetAttributeValueCommand) Name() string
func (*AsyncSetAttributeValueCommand) Params ¶
func (cmd *AsyncSetAttributeValueCommand) Params() interface{}
type AsyncSetAttributesAsTextCommand ¶
type AsyncSetAttributesAsTextCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetAttributesAsTextCommand ¶
func NewAsyncSetAttributesAsTextCommand(params *SetAttributesAsTextParams, cb SetAttributesAsTextCB) *AsyncSetAttributesAsTextCommand
func (*AsyncSetAttributesAsTextCommand) Done ¶
func (cmd *AsyncSetAttributesAsTextCommand) Done(data []byte, err error)
func (*AsyncSetAttributesAsTextCommand) Name ¶
func (cmd *AsyncSetAttributesAsTextCommand) Name() string
func (*AsyncSetAttributesAsTextCommand) Params ¶
func (cmd *AsyncSetAttributesAsTextCommand) Params() interface{}
type AsyncSetAutoAttachCommand ¶
type AsyncSetAutoAttachCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetAutoAttachCommand ¶
func NewAsyncSetAutoAttachCommand(params *SetAutoAttachParams, cb SetAutoAttachCB) *AsyncSetAutoAttachCommand
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 NewAsyncSetAutoAttachToCreatedPagesCommand ¶
func NewAsyncSetAutoAttachToCreatedPagesCommand(params *SetAutoAttachToCreatedPagesParams, cb SetAutoAttachToCreatedPagesCB) *AsyncSetAutoAttachToCreatedPagesCommand
func (*AsyncSetAutoAttachToCreatedPagesCommand) Done ¶
func (cmd *AsyncSetAutoAttachToCreatedPagesCommand) Done(data []byte, err error)
func (*AsyncSetAutoAttachToCreatedPagesCommand) Name ¶
func (cmd *AsyncSetAutoAttachToCreatedPagesCommand) Name() string
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 NewAsyncSetBlackboxPatternsCommand ¶
func NewAsyncSetBlackboxPatternsCommand(params *SetBlackboxPatternsParams, cb SetBlackboxPatternsCB) *AsyncSetBlackboxPatternsCommand
func (*AsyncSetBlackboxPatternsCommand) Done ¶
func (cmd *AsyncSetBlackboxPatternsCommand) Done(data []byte, err error)
func (*AsyncSetBlackboxPatternsCommand) Name ¶
func (cmd *AsyncSetBlackboxPatternsCommand) Name() string
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 NewAsyncSetBlackboxedRangesCommand ¶
func NewAsyncSetBlackboxedRangesCommand(params *SetBlackboxedRangesParams, cb SetBlackboxedRangesCB) *AsyncSetBlackboxedRangesCommand
func (*AsyncSetBlackboxedRangesCommand) Done ¶
func (cmd *AsyncSetBlackboxedRangesCommand) Done(data []byte, err error)
func (*AsyncSetBlackboxedRangesCommand) Name ¶
func (cmd *AsyncSetBlackboxedRangesCommand) Name() string
func (*AsyncSetBlackboxedRangesCommand) Params ¶
func (cmd *AsyncSetBlackboxedRangesCommand) Params() interface{}
type AsyncSetBreakpointByUrlCommand ¶
type AsyncSetBreakpointByUrlCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetBreakpointByUrlCommand ¶
func NewAsyncSetBreakpointByUrlCommand(params *SetBreakpointByUrlParams, cb SetBreakpointByUrlCB) *AsyncSetBreakpointByUrlCommand
func (*AsyncSetBreakpointByUrlCommand) Done ¶
func (cmd *AsyncSetBreakpointByUrlCommand) Done(data []byte, err error)
func (*AsyncSetBreakpointByUrlCommand) Name ¶
func (cmd *AsyncSetBreakpointByUrlCommand) Name() string
func (*AsyncSetBreakpointByUrlCommand) Params ¶
func (cmd *AsyncSetBreakpointByUrlCommand) Params() interface{}
type AsyncSetBreakpointCommand ¶
type AsyncSetBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetBreakpointCommand ¶
func NewAsyncSetBreakpointCommand(params *SetBreakpointParams, cb SetBreakpointCB) *AsyncSetBreakpointCommand
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 NewAsyncSetBreakpointsActiveCommand ¶
func NewAsyncSetBreakpointsActiveCommand(params *SetBreakpointsActiveParams, cb SetBreakpointsActiveCB) *AsyncSetBreakpointsActiveCommand
func (*AsyncSetBreakpointsActiveCommand) Done ¶
func (cmd *AsyncSetBreakpointsActiveCommand) Done(data []byte, err error)
func (*AsyncSetBreakpointsActiveCommand) Name ¶
func (cmd *AsyncSetBreakpointsActiveCommand) Name() string
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 NewAsyncSetBypassServiceWorkerCommand ¶
func NewAsyncSetBypassServiceWorkerCommand(params *SetBypassServiceWorkerParams, cb SetBypassServiceWorkerCB) *AsyncSetBypassServiceWorkerCommand
func (*AsyncSetBypassServiceWorkerCommand) Done ¶
func (cmd *AsyncSetBypassServiceWorkerCommand) Done(data []byte, err error)
func (*AsyncSetBypassServiceWorkerCommand) Name ¶
func (cmd *AsyncSetBypassServiceWorkerCommand) Name() string
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 NewAsyncSetCPUThrottlingRateCommand ¶
func NewAsyncSetCPUThrottlingRateCommand(params *SetCPUThrottlingRateParams, cb SetCPUThrottlingRateCB) *AsyncSetCPUThrottlingRateCommand
func (*AsyncSetCPUThrottlingRateCommand) Done ¶
func (cmd *AsyncSetCPUThrottlingRateCommand) Done(data []byte, err error)
func (*AsyncSetCPUThrottlingRateCommand) Name ¶
func (cmd *AsyncSetCPUThrottlingRateCommand) Name() string
func (*AsyncSetCPUThrottlingRateCommand) Params ¶
func (cmd *AsyncSetCPUThrottlingRateCommand) Params() interface{}
type AsyncSetCacheDisabledCommand ¶
type AsyncSetCacheDisabledCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetCacheDisabledCommand ¶
func NewAsyncSetCacheDisabledCommand(params *SetCacheDisabledParams, cb SetCacheDisabledCB) *AsyncSetCacheDisabledCommand
func (*AsyncSetCacheDisabledCommand) Done ¶
func (cmd *AsyncSetCacheDisabledCommand) Done(data []byte, err error)
func (*AsyncSetCacheDisabledCommand) Name ¶
func (cmd *AsyncSetCacheDisabledCommand) Name() string
func (*AsyncSetCacheDisabledCommand) Params ¶
func (cmd *AsyncSetCacheDisabledCommand) Params() interface{}
type AsyncSetColorPickerEnabledCommand ¶
type AsyncSetColorPickerEnabledCommand struct {
// contains filtered or unexported fields
}
Shows / hides color picker @experimental
func NewAsyncSetColorPickerEnabledCommand ¶
func NewAsyncSetColorPickerEnabledCommand(params *SetColorPickerEnabledParams, cb SetColorPickerEnabledCB) *AsyncSetColorPickerEnabledCommand
func (*AsyncSetColorPickerEnabledCommand) Done ¶
func (cmd *AsyncSetColorPickerEnabledCommand) Done(data []byte, err error)
func (*AsyncSetColorPickerEnabledCommand) Name ¶
func (cmd *AsyncSetColorPickerEnabledCommand) Name() string
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 NewAsyncSetControlNavigationsCommand ¶
func NewAsyncSetControlNavigationsCommand(params *SetControlNavigationsParams, cb SetControlNavigationsCB) *AsyncSetControlNavigationsCommand
func (*AsyncSetControlNavigationsCommand) Done ¶
func (cmd *AsyncSetControlNavigationsCommand) Done(data []byte, err error)
func (*AsyncSetControlNavigationsCommand) Name ¶
func (cmd *AsyncSetControlNavigationsCommand) Name() string
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 NewAsyncSetCustomObjectFormatterEnabledCommand ¶
func NewAsyncSetCustomObjectFormatterEnabledCommand(params *SetCustomObjectFormatterEnabledParams, cb SetCustomObjectFormatterEnabledCB) *AsyncSetCustomObjectFormatterEnabledCommand
func (*AsyncSetCustomObjectFormatterEnabledCommand) Done ¶
func (cmd *AsyncSetCustomObjectFormatterEnabledCommand) Done(data []byte, err error)
func (*AsyncSetCustomObjectFormatterEnabledCommand) Name ¶
func (cmd *AsyncSetCustomObjectFormatterEnabledCommand) Name() string
func (*AsyncSetCustomObjectFormatterEnabledCommand) Params ¶
func (cmd *AsyncSetCustomObjectFormatterEnabledCommand) Params() interface{}
type AsyncSetDOMBreakpointCommand ¶
type AsyncSetDOMBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetDOMBreakpointCommand ¶
func NewAsyncSetDOMBreakpointCommand(params *SetDOMBreakpointParams, cb SetDOMBreakpointCB) *AsyncSetDOMBreakpointCommand
func (*AsyncSetDOMBreakpointCommand) Done ¶
func (cmd *AsyncSetDOMBreakpointCommand) Done(data []byte, err error)
func (*AsyncSetDOMBreakpointCommand) Name ¶
func (cmd *AsyncSetDOMBreakpointCommand) Name() string
func (*AsyncSetDOMBreakpointCommand) Params ¶
func (cmd *AsyncSetDOMBreakpointCommand) Params() interface{}
type AsyncSetDOMStorageItemCommand ¶
type AsyncSetDOMStorageItemCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetDOMStorageItemCommand ¶
func NewAsyncSetDOMStorageItemCommand(params *SetDOMStorageItemParams, cb SetDOMStorageItemCB) *AsyncSetDOMStorageItemCommand
func (*AsyncSetDOMStorageItemCommand) Done ¶
func (cmd *AsyncSetDOMStorageItemCommand) Done(data []byte, err error)
func (*AsyncSetDOMStorageItemCommand) Name ¶
func (cmd *AsyncSetDOMStorageItemCommand) Name() string
func (*AsyncSetDOMStorageItemCommand) Params ¶
func (cmd *AsyncSetDOMStorageItemCommand) Params() interface{}
type AsyncSetDataSizeLimitsForTestCommand ¶
type AsyncSetDataSizeLimitsForTestCommand struct {
// contains filtered or unexported fields
}
For testing. @experimental
func NewAsyncSetDataSizeLimitsForTestCommand ¶
func NewAsyncSetDataSizeLimitsForTestCommand(params *SetDataSizeLimitsForTestParams, cb SetDataSizeLimitsForTestCB) *AsyncSetDataSizeLimitsForTestCommand
func (*AsyncSetDataSizeLimitsForTestCommand) Done ¶
func (cmd *AsyncSetDataSizeLimitsForTestCommand) Done(data []byte, err error)
func (*AsyncSetDataSizeLimitsForTestCommand) Name ¶
func (cmd *AsyncSetDataSizeLimitsForTestCommand) Name() string
func (*AsyncSetDataSizeLimitsForTestCommand) Params ¶
func (cmd *AsyncSetDataSizeLimitsForTestCommand) Params() interface{}
type AsyncSetDiscoverTargetsCommand ¶
type AsyncSetDiscoverTargetsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetDiscoverTargetsCommand ¶
func NewAsyncSetDiscoverTargetsCommand(params *SetDiscoverTargetsParams, cb SetDiscoverTargetsCB) *AsyncSetDiscoverTargetsCommand
func (*AsyncSetDiscoverTargetsCommand) Done ¶
func (cmd *AsyncSetDiscoverTargetsCommand) Done(data []byte, err error)
func (*AsyncSetDiscoverTargetsCommand) Name ¶
func (cmd *AsyncSetDiscoverTargetsCommand) Name() string
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 NewAsyncSetDocumentContentCommand ¶
func NewAsyncSetDocumentContentCommand(params *SetDocumentContentParams, cb SetDocumentContentCB) *AsyncSetDocumentContentCommand
func (*AsyncSetDocumentContentCommand) Done ¶
func (cmd *AsyncSetDocumentContentCommand) Done(data []byte, err error)
func (*AsyncSetDocumentContentCommand) Name ¶
func (cmd *AsyncSetDocumentContentCommand) Name() string
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 NewAsyncSetEffectivePropertyValueForNodeCommand ¶
func NewAsyncSetEffectivePropertyValueForNodeCommand(params *SetEffectivePropertyValueForNodeParams, cb SetEffectivePropertyValueForNodeCB) *AsyncSetEffectivePropertyValueForNodeCommand
func (*AsyncSetEffectivePropertyValueForNodeCommand) Done ¶
func (cmd *AsyncSetEffectivePropertyValueForNodeCommand) Done(data []byte, err error)
func (*AsyncSetEffectivePropertyValueForNodeCommand) Name ¶
func (cmd *AsyncSetEffectivePropertyValueForNodeCommand) Name() string
func (*AsyncSetEffectivePropertyValueForNodeCommand) Params ¶
func (cmd *AsyncSetEffectivePropertyValueForNodeCommand) Params() interface{}
type AsyncSetEmulatedMediaCommand ¶
type AsyncSetEmulatedMediaCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetEmulatedMediaCommand ¶
func NewAsyncSetEmulatedMediaCommand(params *SetEmulatedMediaParams, cb SetEmulatedMediaCB) *AsyncSetEmulatedMediaCommand
func (*AsyncSetEmulatedMediaCommand) Done ¶
func (cmd *AsyncSetEmulatedMediaCommand) Done(data []byte, err error)
func (*AsyncSetEmulatedMediaCommand) Name ¶
func (cmd *AsyncSetEmulatedMediaCommand) Name() string
func (*AsyncSetEmulatedMediaCommand) Params ¶
func (cmd *AsyncSetEmulatedMediaCommand) Params() interface{}
type AsyncSetEventListenerBreakpointCommand ¶
type AsyncSetEventListenerBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetEventListenerBreakpointCommand ¶
func NewAsyncSetEventListenerBreakpointCommand(params *SetEventListenerBreakpointParams, cb SetEventListenerBreakpointCB) *AsyncSetEventListenerBreakpointCommand
func (*AsyncSetEventListenerBreakpointCommand) Done ¶
func (cmd *AsyncSetEventListenerBreakpointCommand) Done(data []byte, err error)
func (*AsyncSetEventListenerBreakpointCommand) Name ¶
func (cmd *AsyncSetEventListenerBreakpointCommand) Name() string
func (*AsyncSetEventListenerBreakpointCommand) Params ¶
func (cmd *AsyncSetEventListenerBreakpointCommand) Params() interface{}
type AsyncSetExtraHTTPHeadersCommand ¶
type AsyncSetExtraHTTPHeadersCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetExtraHTTPHeadersCommand ¶
func NewAsyncSetExtraHTTPHeadersCommand(params *SetExtraHTTPHeadersParams, cb SetExtraHTTPHeadersCB) *AsyncSetExtraHTTPHeadersCommand
func (*AsyncSetExtraHTTPHeadersCommand) Done ¶
func (cmd *AsyncSetExtraHTTPHeadersCommand) Done(data []byte, err error)
func (*AsyncSetExtraHTTPHeadersCommand) Name ¶
func (cmd *AsyncSetExtraHTTPHeadersCommand) Name() string
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 NewAsyncSetFileInputFilesCommand ¶
func NewAsyncSetFileInputFilesCommand(params *SetFileInputFilesParams, cb SetFileInputFilesCB) *AsyncSetFileInputFilesCommand
func (*AsyncSetFileInputFilesCommand) Done ¶
func (cmd *AsyncSetFileInputFilesCommand) Done(data []byte, err error)
func (*AsyncSetFileInputFilesCommand) Name ¶
func (cmd *AsyncSetFileInputFilesCommand) Name() string
func (*AsyncSetFileInputFilesCommand) Params ¶
func (cmd *AsyncSetFileInputFilesCommand) Params() interface{}
type AsyncSetForceUpdateOnPageLoadCommand ¶
type AsyncSetForceUpdateOnPageLoadCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetForceUpdateOnPageLoadCommand ¶
func NewAsyncSetForceUpdateOnPageLoadCommand(params *SetForceUpdateOnPageLoadParams, cb SetForceUpdateOnPageLoadCB) *AsyncSetForceUpdateOnPageLoadCommand
func (*AsyncSetForceUpdateOnPageLoadCommand) Done ¶
func (cmd *AsyncSetForceUpdateOnPageLoadCommand) Done(data []byte, err error)
func (*AsyncSetForceUpdateOnPageLoadCommand) Name ¶
func (cmd *AsyncSetForceUpdateOnPageLoadCommand) Name() string
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 NewAsyncSetInspectModeCommand ¶
func NewAsyncSetInspectModeCommand(params *SetInspectModeParams, cb SetInspectModeCB) *AsyncSetInspectModeCommand
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 NewAsyncSetInspectedNodeCommand ¶
func NewAsyncSetInspectedNodeCommand(params *SetInspectedNodeParams, cb SetInspectedNodeCB) *AsyncSetInspectedNodeCommand
func (*AsyncSetInspectedNodeCommand) Done ¶
func (cmd *AsyncSetInspectedNodeCommand) Done(data []byte, err error)
func (*AsyncSetInspectedNodeCommand) Name ¶
func (cmd *AsyncSetInspectedNodeCommand) Name() string
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 NewAsyncSetInstrumentationBreakpointCommand ¶
func NewAsyncSetInstrumentationBreakpointCommand(params *SetInstrumentationBreakpointParams, cb SetInstrumentationBreakpointCB) *AsyncSetInstrumentationBreakpointCommand
func (*AsyncSetInstrumentationBreakpointCommand) Done ¶
func (cmd *AsyncSetInstrumentationBreakpointCommand) Done(data []byte, err error)
func (*AsyncSetInstrumentationBreakpointCommand) Name ¶
func (cmd *AsyncSetInstrumentationBreakpointCommand) Name() string
func (*AsyncSetInstrumentationBreakpointCommand) Params ¶
func (cmd *AsyncSetInstrumentationBreakpointCommand) Params() interface{}
type AsyncSetKeyframeKeyCommand ¶
type AsyncSetKeyframeKeyCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetKeyframeKeyCommand ¶
func NewAsyncSetKeyframeKeyCommand(params *SetKeyframeKeyParams, cb SetKeyframeKeyCB) *AsyncSetKeyframeKeyCommand
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 NewAsyncSetMonitoringXHREnabledCommand ¶
func NewAsyncSetMonitoringXHREnabledCommand(params *SetMonitoringXHREnabledParams, cb SetMonitoringXHREnabledCB) *AsyncSetMonitoringXHREnabledCommand
func (*AsyncSetMonitoringXHREnabledCommand) Done ¶
func (cmd *AsyncSetMonitoringXHREnabledCommand) Done(data []byte, err error)
func (*AsyncSetMonitoringXHREnabledCommand) Name ¶
func (cmd *AsyncSetMonitoringXHREnabledCommand) Name() string
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 NewAsyncSetPageScaleFactorCommand ¶
func NewAsyncSetPageScaleFactorCommand(params *SetPageScaleFactorParams, cb SetPageScaleFactorCB) *AsyncSetPageScaleFactorCommand
func (*AsyncSetPageScaleFactorCommand) Done ¶
func (cmd *AsyncSetPageScaleFactorCommand) Done(data []byte, err error)
func (*AsyncSetPageScaleFactorCommand) Name ¶
func (cmd *AsyncSetPageScaleFactorCommand) Name() string
func (*AsyncSetPageScaleFactorCommand) Params ¶
func (cmd *AsyncSetPageScaleFactorCommand) Params() interface{}
type AsyncSetPauseOnExceptionsCommand ¶
type AsyncSetPauseOnExceptionsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetPauseOnExceptionsCommand ¶
func NewAsyncSetPauseOnExceptionsCommand(params *SetPauseOnExceptionsParams, cb SetPauseOnExceptionsCB) *AsyncSetPauseOnExceptionsCommand
func (*AsyncSetPauseOnExceptionsCommand) Done ¶
func (cmd *AsyncSetPauseOnExceptionsCommand) Done(data []byte, err error)
func (*AsyncSetPauseOnExceptionsCommand) Name ¶
func (cmd *AsyncSetPauseOnExceptionsCommand) Name() string
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 NewAsyncSetPlaybackRateCommand ¶
func NewAsyncSetPlaybackRateCommand(params *SetPlaybackRateParams, cb SetPlaybackRateCB) *AsyncSetPlaybackRateCommand
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 NewAsyncSetPressureNotificationsSuppressedCommand ¶
func NewAsyncSetPressureNotificationsSuppressedCommand(params *SetPressureNotificationsSuppressedParams, cb SetPressureNotificationsSuppressedCB) *AsyncSetPressureNotificationsSuppressedCommand
func (*AsyncSetPressureNotificationsSuppressedCommand) Done ¶
func (cmd *AsyncSetPressureNotificationsSuppressedCommand) Done(data []byte, err error)
func (*AsyncSetPressureNotificationsSuppressedCommand) Name ¶
func (cmd *AsyncSetPressureNotificationsSuppressedCommand) Name() string
func (*AsyncSetPressureNotificationsSuppressedCommand) Params ¶
func (cmd *AsyncSetPressureNotificationsSuppressedCommand) Params() interface{}
type AsyncSetRemoteLocationsCommand ¶
type AsyncSetRemoteLocationsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetRemoteLocationsCommand ¶
func NewAsyncSetRemoteLocationsCommand(params *SetRemoteLocationsParams, cb SetRemoteLocationsCB) *AsyncSetRemoteLocationsCommand
func (*AsyncSetRemoteLocationsCommand) Done ¶
func (cmd *AsyncSetRemoteLocationsCommand) Done(data []byte, err error)
func (*AsyncSetRemoteLocationsCommand) Name ¶
func (cmd *AsyncSetRemoteLocationsCommand) Name() string
func (*AsyncSetRemoteLocationsCommand) Params ¶
func (cmd *AsyncSetRemoteLocationsCommand) Params() interface{}
type AsyncSetRuleSelectorCommand ¶
type AsyncSetRuleSelectorCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetRuleSelectorCommand ¶
func NewAsyncSetRuleSelectorCommand(params *SetRuleSelectorParams, cb SetRuleSelectorCB) *AsyncSetRuleSelectorCommand
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 NewAsyncSetSamplingIntervalCommand ¶
func NewAsyncSetSamplingIntervalCommand(params *SetSamplingIntervalParams, cb SetSamplingIntervalCB) *AsyncSetSamplingIntervalCommand
func (*AsyncSetSamplingIntervalCommand) Done ¶
func (cmd *AsyncSetSamplingIntervalCommand) Done(data []byte, err error)
func (*AsyncSetSamplingIntervalCommand) Name ¶
func (cmd *AsyncSetSamplingIntervalCommand) Name() string
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 NewAsyncSetScriptExecutionDisabledCommand ¶
func NewAsyncSetScriptExecutionDisabledCommand(params *SetScriptExecutionDisabledParams, cb SetScriptExecutionDisabledCB) *AsyncSetScriptExecutionDisabledCommand
func (*AsyncSetScriptExecutionDisabledCommand) Done ¶
func (cmd *AsyncSetScriptExecutionDisabledCommand) Done(data []byte, err error)
func (*AsyncSetScriptExecutionDisabledCommand) Name ¶
func (cmd *AsyncSetScriptExecutionDisabledCommand) Name() string
func (*AsyncSetScriptExecutionDisabledCommand) Params ¶
func (cmd *AsyncSetScriptExecutionDisabledCommand) Params() interface{}
type AsyncSetScriptSourceCommand ¶
type AsyncSetScriptSourceCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetScriptSourceCommand ¶
func NewAsyncSetScriptSourceCommand(params *SetScriptSourceParams, cb SetScriptSourceCB) *AsyncSetScriptSourceCommand
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 NewAsyncSetShowDebugBordersCommand ¶
func NewAsyncSetShowDebugBordersCommand(params *SetShowDebugBordersParams, cb SetShowDebugBordersCB) *AsyncSetShowDebugBordersCommand
func (*AsyncSetShowDebugBordersCommand) Done ¶
func (cmd *AsyncSetShowDebugBordersCommand) Done(data []byte, err error)
func (*AsyncSetShowDebugBordersCommand) Name ¶
func (cmd *AsyncSetShowDebugBordersCommand) Name() string
func (*AsyncSetShowDebugBordersCommand) Params ¶
func (cmd *AsyncSetShowDebugBordersCommand) Params() interface{}
type AsyncSetShowFPSCounterCommand ¶
type AsyncSetShowFPSCounterCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetShowFPSCounterCommand ¶
func NewAsyncSetShowFPSCounterCommand(params *SetShowFPSCounterParams, cb SetShowFPSCounterCB) *AsyncSetShowFPSCounterCommand
func (*AsyncSetShowFPSCounterCommand) Done ¶
func (cmd *AsyncSetShowFPSCounterCommand) Done(data []byte, err error)
func (*AsyncSetShowFPSCounterCommand) Name ¶
func (cmd *AsyncSetShowFPSCounterCommand) Name() string
func (*AsyncSetShowFPSCounterCommand) Params ¶
func (cmd *AsyncSetShowFPSCounterCommand) Params() interface{}
type AsyncSetShowPaintRectsCommand ¶
type AsyncSetShowPaintRectsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetShowPaintRectsCommand ¶
func NewAsyncSetShowPaintRectsCommand(params *SetShowPaintRectsParams, cb SetShowPaintRectsCB) *AsyncSetShowPaintRectsCommand
func (*AsyncSetShowPaintRectsCommand) Done ¶
func (cmd *AsyncSetShowPaintRectsCommand) Done(data []byte, err error)
func (*AsyncSetShowPaintRectsCommand) Name ¶
func (cmd *AsyncSetShowPaintRectsCommand) Name() string
func (*AsyncSetShowPaintRectsCommand) Params ¶
func (cmd *AsyncSetShowPaintRectsCommand) Params() interface{}
type AsyncSetShowScrollBottleneckRectsCommand ¶
type AsyncSetShowScrollBottleneckRectsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetShowScrollBottleneckRectsCommand ¶
func NewAsyncSetShowScrollBottleneckRectsCommand(params *SetShowScrollBottleneckRectsParams, cb SetShowScrollBottleneckRectsCB) *AsyncSetShowScrollBottleneckRectsCommand
func (*AsyncSetShowScrollBottleneckRectsCommand) Done ¶
func (cmd *AsyncSetShowScrollBottleneckRectsCommand) Done(data []byte, err error)
func (*AsyncSetShowScrollBottleneckRectsCommand) Name ¶
func (cmd *AsyncSetShowScrollBottleneckRectsCommand) Name() string
func (*AsyncSetShowScrollBottleneckRectsCommand) Params ¶
func (cmd *AsyncSetShowScrollBottleneckRectsCommand) Params() interface{}
type AsyncSetShowViewportSizeOnResizeCommand ¶
type AsyncSetShowViewportSizeOnResizeCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetShowViewportSizeOnResizeCommand ¶
func NewAsyncSetShowViewportSizeOnResizeCommand(params *SetShowViewportSizeOnResizeParams, cb SetShowViewportSizeOnResizeCB) *AsyncSetShowViewportSizeOnResizeCommand
func (*AsyncSetShowViewportSizeOnResizeCommand) Done ¶
func (cmd *AsyncSetShowViewportSizeOnResizeCommand) Done(data []byte, err error)
func (*AsyncSetShowViewportSizeOnResizeCommand) Name ¶
func (cmd *AsyncSetShowViewportSizeOnResizeCommand) Name() string
func (*AsyncSetShowViewportSizeOnResizeCommand) Params ¶
func (cmd *AsyncSetShowViewportSizeOnResizeCommand) Params() interface{}
type AsyncSetSkipAllPausesCommand ¶
type AsyncSetSkipAllPausesCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetSkipAllPausesCommand ¶
func NewAsyncSetSkipAllPausesCommand(params *SetSkipAllPausesParams, cb SetSkipAllPausesCB) *AsyncSetSkipAllPausesCommand
func (*AsyncSetSkipAllPausesCommand) Done ¶
func (cmd *AsyncSetSkipAllPausesCommand) Done(data []byte, err error)
func (*AsyncSetSkipAllPausesCommand) Name ¶
func (cmd *AsyncSetSkipAllPausesCommand) Name() string
func (*AsyncSetSkipAllPausesCommand) Params ¶
func (cmd *AsyncSetSkipAllPausesCommand) Params() interface{}
type AsyncSetStyleSheetTextCommand ¶
type AsyncSetStyleSheetTextCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetStyleSheetTextCommand ¶
func NewAsyncSetStyleSheetTextCommand(params *SetStyleSheetTextParams, cb SetStyleSheetTextCB) *AsyncSetStyleSheetTextCommand
func (*AsyncSetStyleSheetTextCommand) Done ¶
func (cmd *AsyncSetStyleSheetTextCommand) Done(data []byte, err error)
func (*AsyncSetStyleSheetTextCommand) Name ¶
func (cmd *AsyncSetStyleSheetTextCommand) Name() string
func (*AsyncSetStyleSheetTextCommand) Params ¶
func (cmd *AsyncSetStyleSheetTextCommand) Params() interface{}
type AsyncSetStyleTextsCommand ¶
type AsyncSetStyleTextsCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetStyleTextsCommand ¶
func NewAsyncSetStyleTextsCommand(params *SetStyleTextsParams, cb SetStyleTextsCB) *AsyncSetStyleTextsCommand
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 NewAsyncSetUserAgentOverrideCommand ¶
func NewAsyncSetUserAgentOverrideCommand(params *SetUserAgentOverrideParams, cb SetUserAgentOverrideCB) *AsyncSetUserAgentOverrideCommand
func (*AsyncSetUserAgentOverrideCommand) Done ¶
func (cmd *AsyncSetUserAgentOverrideCommand) Done(data []byte, err error)
func (*AsyncSetUserAgentOverrideCommand) Name ¶
func (cmd *AsyncSetUserAgentOverrideCommand) Name() string
func (*AsyncSetUserAgentOverrideCommand) Params ¶
func (cmd *AsyncSetUserAgentOverrideCommand) Params() interface{}
type AsyncSetVariableValueCommand ¶
type AsyncSetVariableValueCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSetVariableValueCommand ¶
func NewAsyncSetVariableValueCommand(params *SetVariableValueParams, cb SetVariableValueCB) *AsyncSetVariableValueCommand
func (*AsyncSetVariableValueCommand) Done ¶
func (cmd *AsyncSetVariableValueCommand) Done(data []byte, err error)
func (*AsyncSetVariableValueCommand) Name ¶
func (cmd *AsyncSetVariableValueCommand) Name() string
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 NewAsyncSetVirtualTimePolicyCommand ¶
func NewAsyncSetVirtualTimePolicyCommand(params *SetVirtualTimePolicyParams, cb SetVirtualTimePolicyCB) *AsyncSetVirtualTimePolicyCommand
func (*AsyncSetVirtualTimePolicyCommand) Done ¶
func (cmd *AsyncSetVirtualTimePolicyCommand) Done(data []byte, err error)
func (*AsyncSetVirtualTimePolicyCommand) Name ¶
func (cmd *AsyncSetVirtualTimePolicyCommand) Name() string
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 NewAsyncSetVisibleSizeCommand ¶
func NewAsyncSetVisibleSizeCommand(params *SetVisibleSizeParams, cb SetVisibleSizeCB) *AsyncSetVisibleSizeCommand
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 NewAsyncSetXHRBreakpointCommand ¶
func NewAsyncSetXHRBreakpointCommand(params *SetXHRBreakpointParams, cb SetXHRBreakpointCB) *AsyncSetXHRBreakpointCommand
func (*AsyncSetXHRBreakpointCommand) Done ¶
func (cmd *AsyncSetXHRBreakpointCommand) Done(data []byte, err error)
func (*AsyncSetXHRBreakpointCommand) Name ¶
func (cmd *AsyncSetXHRBreakpointCommand) Name() string
func (*AsyncSetXHRBreakpointCommand) Params ¶
func (cmd *AsyncSetXHRBreakpointCommand) Params() interface{}
type AsyncShowCertificateViewerCommand ¶
type AsyncShowCertificateViewerCommand struct {
// contains filtered or unexported fields
}
func NewAsyncShowCertificateViewerCommand ¶
func NewAsyncShowCertificateViewerCommand(cb ShowCertificateViewerCB) *AsyncShowCertificateViewerCommand
func (*AsyncShowCertificateViewerCommand) Done ¶
func (cmd *AsyncShowCertificateViewerCommand) Done(data []byte, err error)
func (*AsyncShowCertificateViewerCommand) Name ¶
func (cmd *AsyncShowCertificateViewerCommand) Name() string
func (*AsyncShowCertificateViewerCommand) Params ¶
func (cmd *AsyncShowCertificateViewerCommand) Params() interface{}
type AsyncSimulatePressureNotificationCommand ¶
type AsyncSimulatePressureNotificationCommand struct {
// contains filtered or unexported fields
}
func NewAsyncSimulatePressureNotificationCommand ¶
func NewAsyncSimulatePressureNotificationCommand(params *SimulatePressureNotificationParams, cb SimulatePressureNotificationCB) *AsyncSimulatePressureNotificationCommand
func (*AsyncSimulatePressureNotificationCommand) Done ¶
func (cmd *AsyncSimulatePressureNotificationCommand) Done(data []byte, err error)
func (*AsyncSimulatePressureNotificationCommand) Name ¶
func (cmd *AsyncSimulatePressureNotificationCommand) Name() string
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 NewAsyncSnapshotCommandLogCommand ¶
func NewAsyncSnapshotCommandLogCommand(params *SnapshotCommandLogParams, cb SnapshotCommandLogCB) *AsyncSnapshotCommandLogCommand
func (*AsyncSnapshotCommandLogCommand) Done ¶
func (cmd *AsyncSnapshotCommandLogCommand) Done(data []byte, err error)
func (*AsyncSnapshotCommandLogCommand) Name ¶
func (cmd *AsyncSnapshotCommandLogCommand) Name() string
func (*AsyncSnapshotCommandLogCommand) Params ¶
func (cmd *AsyncSnapshotCommandLogCommand) Params() interface{}
type AsyncStartRuleUsageTrackingCommand ¶
type AsyncStartRuleUsageTrackingCommand struct {
// contains filtered or unexported fields
}
Enables the selector recording. @experimental
func NewAsyncStartRuleUsageTrackingCommand ¶
func NewAsyncStartRuleUsageTrackingCommand(cb StartRuleUsageTrackingCB) *AsyncStartRuleUsageTrackingCommand
func (*AsyncStartRuleUsageTrackingCommand) Done ¶
func (cmd *AsyncStartRuleUsageTrackingCommand) Done(data []byte, err error)
func (*AsyncStartRuleUsageTrackingCommand) Name ¶
func (cmd *AsyncStartRuleUsageTrackingCommand) Name() string
func (*AsyncStartRuleUsageTrackingCommand) Params ¶
func (cmd *AsyncStartRuleUsageTrackingCommand) Params() interface{}
type AsyncStartSamplingCommand ¶
type AsyncStartSamplingCommand struct {
// contains filtered or unexported fields
}
func NewAsyncStartSamplingCommand ¶
func NewAsyncStartSamplingCommand(params *StartSamplingParams, cb StartSamplingCB) *AsyncStartSamplingCommand
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 NewAsyncStartScreencastCommand ¶
func NewAsyncStartScreencastCommand(params *StartScreencastParams, cb StartScreencastCB) *AsyncStartScreencastCommand
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 NewAsyncStartTrackingHeapObjectsCommand ¶
func NewAsyncStartTrackingHeapObjectsCommand(params *StartTrackingHeapObjectsParams, cb StartTrackingHeapObjectsCB) *AsyncStartTrackingHeapObjectsCommand
func (*AsyncStartTrackingHeapObjectsCommand) Done ¶
func (cmd *AsyncStartTrackingHeapObjectsCommand) Done(data []byte, err error)
func (*AsyncStartTrackingHeapObjectsCommand) Name ¶
func (cmd *AsyncStartTrackingHeapObjectsCommand) Name() string
func (*AsyncStartTrackingHeapObjectsCommand) Params ¶
func (cmd *AsyncStartTrackingHeapObjectsCommand) Params() interface{}
type AsyncStartViolationsReportCommand ¶
type AsyncStartViolationsReportCommand struct {
// contains filtered or unexported fields
}
func NewAsyncStartViolationsReportCommand ¶
func NewAsyncStartViolationsReportCommand(params *StartViolationsReportParams, cb StartViolationsReportCB) *AsyncStartViolationsReportCommand
func (*AsyncStartViolationsReportCommand) Done ¶
func (cmd *AsyncStartViolationsReportCommand) Done(data []byte, err error)
func (*AsyncStartViolationsReportCommand) Name ¶
func (cmd *AsyncStartViolationsReportCommand) Name() string
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 NewAsyncStopRuleUsageTrackingCommand ¶
func NewAsyncStopRuleUsageTrackingCommand(cb StopRuleUsageTrackingCB) *AsyncStopRuleUsageTrackingCommand
func (*AsyncStopRuleUsageTrackingCommand) Done ¶
func (cmd *AsyncStopRuleUsageTrackingCommand) Done(data []byte, err error)
func (*AsyncStopRuleUsageTrackingCommand) Name ¶
func (cmd *AsyncStopRuleUsageTrackingCommand) Name() string
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 NewAsyncStopTrackingHeapObjectsCommand ¶
func NewAsyncStopTrackingHeapObjectsCommand(params *StopTrackingHeapObjectsParams, cb StopTrackingHeapObjectsCB) *AsyncStopTrackingHeapObjectsCommand
func (*AsyncStopTrackingHeapObjectsCommand) Done ¶
func (cmd *AsyncStopTrackingHeapObjectsCommand) Done(data []byte, err error)
func (*AsyncStopTrackingHeapObjectsCommand) Name ¶
func (cmd *AsyncStopTrackingHeapObjectsCommand) Name() string
func (*AsyncStopTrackingHeapObjectsCommand) Params ¶
func (cmd *AsyncStopTrackingHeapObjectsCommand) Params() interface{}
type AsyncStopViolationsReportCommand ¶
type AsyncStopViolationsReportCommand struct {
// contains filtered or unexported fields
}
func NewAsyncStopViolationsReportCommand ¶
func NewAsyncStopViolationsReportCommand(cb StopViolationsReportCB) *AsyncStopViolationsReportCommand
func (*AsyncStopViolationsReportCommand) Done ¶
func (cmd *AsyncStopViolationsReportCommand) Done(data []byte, err error)
func (*AsyncStopViolationsReportCommand) Name ¶
func (cmd *AsyncStopViolationsReportCommand) Name() string
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 NewAsyncSynthesizePinchGestureCommand ¶
func NewAsyncSynthesizePinchGestureCommand(params *SynthesizePinchGestureParams, cb SynthesizePinchGestureCB) *AsyncSynthesizePinchGestureCommand
func (*AsyncSynthesizePinchGestureCommand) Done ¶
func (cmd *AsyncSynthesizePinchGestureCommand) Done(data []byte, err error)
func (*AsyncSynthesizePinchGestureCommand) Name ¶
func (cmd *AsyncSynthesizePinchGestureCommand) Name() string
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 NewAsyncSynthesizeScrollGestureCommand ¶
func NewAsyncSynthesizeScrollGestureCommand(params *SynthesizeScrollGestureParams, cb SynthesizeScrollGestureCB) *AsyncSynthesizeScrollGestureCommand
func (*AsyncSynthesizeScrollGestureCommand) Done ¶
func (cmd *AsyncSynthesizeScrollGestureCommand) Done(data []byte, err error)
func (*AsyncSynthesizeScrollGestureCommand) Name ¶
func (cmd *AsyncSynthesizeScrollGestureCommand) Name() string
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 NewAsyncSynthesizeTapGestureCommand ¶
func NewAsyncSynthesizeTapGestureCommand(params *SynthesizeTapGestureParams, cb SynthesizeTapGestureCB) *AsyncSynthesizeTapGestureCommand
func (*AsyncSynthesizeTapGestureCommand) Done ¶
func (cmd *AsyncSynthesizeTapGestureCommand) Done(data []byte, err error)
func (*AsyncSynthesizeTapGestureCommand) Name ¶
func (cmd *AsyncSynthesizeTapGestureCommand) Name() string
func (*AsyncSynthesizeTapGestureCommand) Params ¶
func (cmd *AsyncSynthesizeTapGestureCommand) Params() interface{}
type AsyncTakeHeapSnapshotCommand ¶
type AsyncTakeHeapSnapshotCommand struct {
// contains filtered or unexported fields
}
func NewAsyncTakeHeapSnapshotCommand ¶
func NewAsyncTakeHeapSnapshotCommand(params *TakeHeapSnapshotParams, cb TakeHeapSnapshotCB) *AsyncTakeHeapSnapshotCommand
func (*AsyncTakeHeapSnapshotCommand) Done ¶
func (cmd *AsyncTakeHeapSnapshotCommand) Done(data []byte, err error)
func (*AsyncTakeHeapSnapshotCommand) Name ¶
func (cmd *AsyncTakeHeapSnapshotCommand) Name() string
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 NewAsyncUpdateRegistrationCommand ¶
func NewAsyncUpdateRegistrationCommand(params *UpdateRegistrationParams, cb UpdateRegistrationCB) *AsyncUpdateRegistrationCommand
func (*AsyncUpdateRegistrationCommand) Done ¶
func (cmd *AsyncUpdateRegistrationCommand) Done(data []byte, err error)
func (*AsyncUpdateRegistrationCommand) Name ¶
func (cmd *AsyncUpdateRegistrationCommand) Name() string
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 (cmd *AttachToTargetCommand) Result() *AttachToTargetResult
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 AttributeRemovedEvent ¶
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
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 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{}
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 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 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{}
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{}
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 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 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 (cmd *CallFunctionOnCommand) Result() *CallFunctionOnResult
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 (cmd *CanClearBrowserCacheCommand) Result() *CanClearBrowserCacheResult
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 (cmd *CanClearBrowserCookiesCommand) Name() string
func (*CanClearBrowserCookiesCommand) Params ¶
func (cmd *CanClearBrowserCookiesCommand) Params() interface{}
func (*CanClearBrowserCookiesCommand) Result ¶
func (cmd *CanClearBrowserCookiesCommand) Result() *CanClearBrowserCookiesResult
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
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 (cmd *CanEmulateNetworkConditionsCommand) Name() string
func (*CanEmulateNetworkConditionsCommand) Params ¶
func (cmd *CanEmulateNetworkConditionsCommand) Params() interface{}
func (*CanEmulateNetworkConditionsCommand) Result ¶
func (cmd *CanEmulateNetworkConditionsCommand) Result() *CanEmulateNetworkConditionsResult
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 (cmd *CaptureScreenshotCommand) Result() *CaptureScreenshotResult
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 ChildNodeInsertedEvent ¶
type ChildNodeRemovedEvent ¶
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{}
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{}
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{}
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{}
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{}
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{}
type ClearObjectStoreParams ¶
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{}
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
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 (cmd *CollectClassNamesCommand) Result() *CollectClassNamesResult
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 NewCollectClassNamesFromSubtreeCommand ¶
func NewCollectClassNamesFromSubtreeCommand(params *CollectClassNamesFromSubtreeParams) *CollectClassNamesFromSubtreeCommand
func (*CollectClassNamesFromSubtreeCommand) Done ¶
func (cmd *CollectClassNamesFromSubtreeCommand) Done(data []byte, err error)
func (*CollectClassNamesFromSubtreeCommand) Name ¶
func (cmd *CollectClassNamesFromSubtreeCommand) Name() string
func (*CollectClassNamesFromSubtreeCommand) Params ¶
func (cmd *CollectClassNamesFromSubtreeCommand) Params() interface{}
func (*CollectClassNamesFromSubtreeCommand) Result ¶
func (cmd *CollectClassNamesFromSubtreeCommand) Result() *CollectClassNamesFromSubtreeResult
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{}
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 (cmd *CompileScriptCommand) Result() *CompileScriptResult
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 (cmd *CompositingReasonsCommand) Result() *CompositingReasonsResult
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{}
type ConfigureOverlayParams ¶
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{}
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{}
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 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{}
type ContinueToLocationParams ¶
type ContinueToLocationParams struct {
Location *Location `json:"location"` // Location to continue to.
}
type Cookie ¶
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
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 (cmd *CreateBrowserContextCommand) Result() *CreateBrowserContextResult
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 (cmd *CreateStyleSheetCommand) Result() *CreateStyleSheetResult
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
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{}
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{}
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{}
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{}
type DataCollectedEvent ¶
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{}
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{}
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{}
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{}
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{}
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{}
type DeleteEntryParams ¶
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{}
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{}
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 NewDeviceOrientationClearDeviceOrientationOverrideCommand ¶
func NewDeviceOrientationClearDeviceOrientationOverrideCommand() *DeviceOrientationClearDeviceOrientationOverrideCommand
func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Done ¶
func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Name ¶
func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Name() string
func (*DeviceOrientationClearDeviceOrientationOverrideCommand) Params ¶
func (cmd *DeviceOrientationClearDeviceOrientationOverrideCommand) Params() interface{}
type DeviceOrientationSetDeviceOrientationOverrideCB ¶
type DeviceOrientationSetDeviceOrientationOverrideCB func(err error)
type DeviceOrientationSetDeviceOrientationOverrideCommand ¶
type DeviceOrientationSetDeviceOrientationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewDeviceOrientationSetDeviceOrientationOverrideCommand ¶
func NewDeviceOrientationSetDeviceOrientationOverrideCommand(params *DeviceOrientationSetDeviceOrientationOverrideParams) *DeviceOrientationSetDeviceOrientationOverrideCommand
func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Done ¶
func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Name ¶
func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Name() string
func (*DeviceOrientationSetDeviceOrientationOverrideCommand) Params ¶
func (cmd *DeviceOrientationSetDeviceOrientationOverrideCommand) Params() interface{}
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 (cmd *DiscardConsoleEntriesCommand) Name() string
func (*DiscardConsoleEntriesCommand) Params ¶
func (cmd *DiscardConsoleEntriesCommand) Params() interface{}
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 NewDiscardSearchResultsCommand ¶
func NewDiscardSearchResultsCommand(params *DiscardSearchResultsParams) *DiscardSearchResultsCommand
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{}
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{}
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{}
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{}
type DispatchSyncEventParams ¶
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{}
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 NewDisposeBrowserContextCommand ¶
func NewDisposeBrowserContextCommand(params *DisposeBrowserContextParams) *DisposeBrowserContextCommand
func (*DisposeBrowserContextCommand) Done ¶
func (cmd *DisposeBrowserContextCommand) Done(data []byte, err error)
func (*DisposeBrowserContextCommand) Name ¶
func (cmd *DisposeBrowserContextCommand) Name() string
func (*DisposeBrowserContextCommand) Params ¶
func (cmd *DisposeBrowserContextCommand) Params() interface{}
func (*DisposeBrowserContextCommand) Result ¶
func (cmd *DisposeBrowserContextCommand) Result() *DisposeBrowserContextResult
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 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 NewEmulateNetworkConditionsCommand ¶
func NewEmulateNetworkConditionsCommand(params *EmulateNetworkConditionsParams) *EmulateNetworkConditionsCommand
func (*EmulateNetworkConditionsCommand) Done ¶
func (cmd *EmulateNetworkConditionsCommand) Done(data []byte, err error)
func (*EmulateNetworkConditionsCommand) Name ¶
func (cmd *EmulateNetworkConditionsCommand) Name() string
func (*EmulateNetworkConditionsCommand) Params ¶
func (cmd *EmulateNetworkConditionsCommand) Params() interface{}
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 NewEmulateTouchFromMouseEventCommand ¶
func NewEmulateTouchFromMouseEventCommand(params *EmulateTouchFromMouseEventParams) *EmulateTouchFromMouseEventCommand
func (*EmulateTouchFromMouseEventCommand) Done ¶
func (cmd *EmulateTouchFromMouseEventCommand) Done(data []byte, err error)
func (*EmulateTouchFromMouseEventCommand) Name ¶
func (cmd *EmulateTouchFromMouseEventCommand) Name() string
func (*EmulateTouchFromMouseEventCommand) Params ¶
func (cmd *EmulateTouchFromMouseEventCommand) Params() interface{}
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 (cmd *EmulationClearDeviceMetricsOverrideCommand) Name() string
func (*EmulationClearDeviceMetricsOverrideCommand) Params ¶
func (cmd *EmulationClearDeviceMetricsOverrideCommand) Params() interface{}
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 (cmd *EmulationClearGeolocationOverrideCommand) Name() string
func (*EmulationClearGeolocationOverrideCommand) Params ¶
func (cmd *EmulationClearGeolocationOverrideCommand) Params() interface{}
type EmulationSetDeviceMetricsOverrideCB ¶
type EmulationSetDeviceMetricsOverrideCB func(err error)
type EmulationSetDeviceMetricsOverrideCommand ¶
type EmulationSetDeviceMetricsOverrideCommand struct {
// contains filtered or unexported fields
}
func NewEmulationSetDeviceMetricsOverrideCommand ¶
func NewEmulationSetDeviceMetricsOverrideCommand(params *EmulationSetDeviceMetricsOverrideParams) *EmulationSetDeviceMetricsOverrideCommand
func (*EmulationSetDeviceMetricsOverrideCommand) Done ¶
func (cmd *EmulationSetDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*EmulationSetDeviceMetricsOverrideCommand) Name ¶
func (cmd *EmulationSetDeviceMetricsOverrideCommand) Name() string
func (*EmulationSetDeviceMetricsOverrideCommand) Params ¶
func (cmd *EmulationSetDeviceMetricsOverrideCommand) Params() interface{}
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 NewEmulationSetGeolocationOverrideCommand ¶
func NewEmulationSetGeolocationOverrideCommand(params *EmulationSetGeolocationOverrideParams) *EmulationSetGeolocationOverrideCommand
func (*EmulationSetGeolocationOverrideCommand) Done ¶
func (cmd *EmulationSetGeolocationOverrideCommand) Done(data []byte, err error)
func (*EmulationSetGeolocationOverrideCommand) Name ¶
func (cmd *EmulationSetGeolocationOverrideCommand) Name() string
func (*EmulationSetGeolocationOverrideCommand) Params ¶
func (cmd *EmulationSetGeolocationOverrideCommand) Params() interface{}
type EmulationSetTouchEmulationEnabledCB ¶
type EmulationSetTouchEmulationEnabledCB func(err error)
type EmulationSetTouchEmulationEnabledCommand ¶
type EmulationSetTouchEmulationEnabledCommand struct {
// contains filtered or unexported fields
}
func NewEmulationSetTouchEmulationEnabledCommand ¶
func NewEmulationSetTouchEmulationEnabledCommand(params *EmulationSetTouchEmulationEnabledParams) *EmulationSetTouchEmulationEnabledCommand
func (*EmulationSetTouchEmulationEnabledCommand) Done ¶
func (cmd *EmulationSetTouchEmulationEnabledCommand) Done(data []byte, err error)
func (*EmulationSetTouchEmulationEnabledCommand) Name ¶
func (cmd *EmulationSetTouchEmulationEnabledCommand) Name() string
func (*EmulationSetTouchEmulationEnabledCommand) Params ¶
func (cmd *EmulationSetTouchEmulationEnabledCommand) Params() interface{}
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{}
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
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 (cmd *EvaluateOnCallFrameCommand) Result() *EvaluateOnCallFrameResult
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 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
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 ExecutionContextsClearedEvent ¶
type ExecutionContextsClearedEvent struct { }
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{}
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{}
type ForcePseudoStateParams ¶
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{}
type ForceViewportParams ¶
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 FrameClearedScheduledNavigationEvent ¶
type FrameClearedScheduledNavigationEvent struct {
}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 FrameNavigatedEvent ¶
type FrameNavigatedEvent struct {
}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 {}
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 (cmd *GetAllCookiesCommand) Result() *GetAllCookiesResult
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 (cmd *GetAppManifestCommand) Result() *GetAppManifestResult
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 NewGetApplicationCacheForFrameCommand ¶
func NewGetApplicationCacheForFrameCommand(params *GetApplicationCacheForFrameParams) *GetApplicationCacheForFrameCommand
func (*GetApplicationCacheForFrameCommand) Done ¶
func (cmd *GetApplicationCacheForFrameCommand) Done(data []byte, err error)
func (*GetApplicationCacheForFrameCommand) Name ¶
func (cmd *GetApplicationCacheForFrameCommand) Name() string
func (*GetApplicationCacheForFrameCommand) Params ¶
func (cmd *GetApplicationCacheForFrameCommand) Params() interface{}
func (*GetApplicationCacheForFrameCommand) Result ¶
func (cmd *GetApplicationCacheForFrameCommand) Result() *GetApplicationCacheForFrameResult
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 (cmd *GetAttributesCommand) Result() *GetAttributesResult
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 (cmd *GetBackgroundColorsCommand) Result() *GetBackgroundColorsResult
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
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 (cmd *GetCategoriesCommand) Result() *GetCategoriesResult
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 (cmd *GetCertificateCommand) Result() *GetCertificateResult
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 NewGetComputedStyleForNodeCommand ¶
func NewGetComputedStyleForNodeCommand(params *GetComputedStyleForNodeParams) *GetComputedStyleForNodeCommand
func (*GetComputedStyleForNodeCommand) Done ¶
func (cmd *GetComputedStyleForNodeCommand) Done(data []byte, err error)
func (*GetComputedStyleForNodeCommand) Name ¶
func (cmd *GetComputedStyleForNodeCommand) Name() string
func (*GetComputedStyleForNodeCommand) Params ¶
func (cmd *GetComputedStyleForNodeCommand) Params() interface{}
func (*GetComputedStyleForNodeCommand) Result ¶
func (cmd *GetComputedStyleForNodeCommand) Result() *GetComputedStyleForNodeResult
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 (cmd *GetCurrentTimeCommand) Result() *GetCurrentTimeResult
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 (cmd *GetDOMCountersCommand) Result() *GetDOMCountersResult
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 (cmd *GetDOMStorageItemsCommand) Result() *GetDOMStorageItemsResult
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 NewGetDatabaseTableNamesCommand ¶
func NewGetDatabaseTableNamesCommand(params *GetDatabaseTableNamesParams) *GetDatabaseTableNamesCommand
func (*GetDatabaseTableNamesCommand) Done ¶
func (cmd *GetDatabaseTableNamesCommand) Done(data []byte, err error)
func (*GetDatabaseTableNamesCommand) Name ¶
func (cmd *GetDatabaseTableNamesCommand) Name() string
func (*GetDatabaseTableNamesCommand) Params ¶
func (cmd *GetDatabaseTableNamesCommand) Params() interface{}
func (*GetDatabaseTableNamesCommand) Result ¶
func (cmd *GetDatabaseTableNamesCommand) Result() *GetDatabaseTableNamesResult
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
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
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 (cmd *GetEventListenersCommand) Result() *GetEventListenersResult
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 (cmd *GetFramesWithManifestsCommand) Name() string
func (*GetFramesWithManifestsCommand) Params ¶
func (cmd *GetFramesWithManifestsCommand) Params() interface{}
func (*GetFramesWithManifestsCommand) Result ¶
func (cmd *GetFramesWithManifestsCommand) Result() *GetFramesWithManifestsResult
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 (cmd *GetHeapObjectIdCommand) Result() *GetHeapObjectIdResult
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 NewGetHighlightObjectForTestCommand ¶
func NewGetHighlightObjectForTestCommand(params *GetHighlightObjectForTestParams) *GetHighlightObjectForTestCommand
func (*GetHighlightObjectForTestCommand) Done ¶
func (cmd *GetHighlightObjectForTestCommand) Done(data []byte, err error)
func (*GetHighlightObjectForTestCommand) Name ¶
func (cmd *GetHighlightObjectForTestCommand) Name() string
func (*GetHighlightObjectForTestCommand) Params ¶
func (cmd *GetHighlightObjectForTestCommand) Params() interface{}
func (*GetHighlightObjectForTestCommand) Result ¶
func (cmd *GetHighlightObjectForTestCommand) Result() *GetHighlightObjectForTestResult
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
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. }
type GetInlineStylesForNodeCB ¶
type GetInlineStylesForNodeCB func(result *GetInlineStylesForNodeResult, err error)
type GetInlineStylesForNodeCommand ¶
type GetInlineStylesForNodeCommand struct {
// contains filtered or unexported fields
}
func NewGetInlineStylesForNodeCommand ¶
func NewGetInlineStylesForNodeCommand(params *GetInlineStylesForNodeParams) *GetInlineStylesForNodeCommand
func (*GetInlineStylesForNodeCommand) Done ¶
func (cmd *GetInlineStylesForNodeCommand) Done(data []byte, err error)
func (*GetInlineStylesForNodeCommand) Name ¶
func (cmd *GetInlineStylesForNodeCommand) Name() string
func (*GetInlineStylesForNodeCommand) Params ¶
func (cmd *GetInlineStylesForNodeCommand) Params() interface{}
func (*GetInlineStylesForNodeCommand) Result ¶
func (cmd *GetInlineStylesForNodeCommand) Result() *GetInlineStylesForNodeResult
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 (cmd *GetLayoutMetricsCommand) Result() *GetLayoutMetricsResult
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 NewGetLayoutTreeAndStylesCommand ¶
func NewGetLayoutTreeAndStylesCommand(params *GetLayoutTreeAndStylesParams) *GetLayoutTreeAndStylesCommand
func (*GetLayoutTreeAndStylesCommand) Done ¶
func (cmd *GetLayoutTreeAndStylesCommand) Done(data []byte, err error)
func (*GetLayoutTreeAndStylesCommand) Name ¶
func (cmd *GetLayoutTreeAndStylesCommand) Name() string
func (*GetLayoutTreeAndStylesCommand) Params ¶
func (cmd *GetLayoutTreeAndStylesCommand) Params() interface{}
func (*GetLayoutTreeAndStylesCommand) Result ¶
func (cmd *GetLayoutTreeAndStylesCommand) Result() *GetLayoutTreeAndStylesResult
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 (cmd *GetManifestForFrameCommand) Result() *GetManifestForFrameResult
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 NewGetMatchedStylesForNodeCommand ¶
func NewGetMatchedStylesForNodeCommand(params *GetMatchedStylesForNodeParams) *GetMatchedStylesForNodeCommand
func (*GetMatchedStylesForNodeCommand) Done ¶
func (cmd *GetMatchedStylesForNodeCommand) Done(data []byte, err error)
func (*GetMatchedStylesForNodeCommand) Name ¶
func (cmd *GetMatchedStylesForNodeCommand) Name() string
func (*GetMatchedStylesForNodeCommand) Params ¶
func (cmd *GetMatchedStylesForNodeCommand) Params() interface{}
func (*GetMatchedStylesForNodeCommand) Result ¶
func (cmd *GetMatchedStylesForNodeCommand) Result() *GetMatchedStylesForNodeResult
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 (cmd *GetMediaQueriesCommand) Result() *GetMediaQueriesResult
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 (cmd *GetNavigationHistoryCommand) Result() *GetNavigationHistoryResult
type GetNavigationHistoryResult ¶
type GetNavigationHistoryResult struct {}
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 (cmd *GetNodeForLocationCommand) Result() *GetNodeForLocationResult
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 NewGetObjectByHeapObjectIdCommand ¶
func NewGetObjectByHeapObjectIdCommand(params *GetObjectByHeapObjectIdParams) *GetObjectByHeapObjectIdCommand
func (*GetObjectByHeapObjectIdCommand) Done ¶
func (cmd *GetObjectByHeapObjectIdCommand) Done(data []byte, err error)
func (*GetObjectByHeapObjectIdCommand) Name ¶
func (cmd *GetObjectByHeapObjectIdCommand) Name() string
func (*GetObjectByHeapObjectIdCommand) Params ¶
func (cmd *GetObjectByHeapObjectIdCommand) Params() interface{}
func (*GetObjectByHeapObjectIdCommand) Result ¶
func (cmd *GetObjectByHeapObjectIdCommand) Result() *GetObjectByHeapObjectIdResult
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
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 (cmd *GetPartialAXTreeCommand) Result() *GetPartialAXTreeResult
type GetPartialAXTreeParams ¶
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 NewGetPlatformFontsForNodeCommand ¶
func NewGetPlatformFontsForNodeCommand(params *GetPlatformFontsForNodeParams) *GetPlatformFontsForNodeCommand
func (*GetPlatformFontsForNodeCommand) Done ¶
func (cmd *GetPlatformFontsForNodeCommand) Done(data []byte, err error)
func (*GetPlatformFontsForNodeCommand) Name ¶
func (cmd *GetPlatformFontsForNodeCommand) Name() string
func (*GetPlatformFontsForNodeCommand) Params ¶
func (cmd *GetPlatformFontsForNodeCommand) Params() interface{}
func (*GetPlatformFontsForNodeCommand) Result ¶
func (cmd *GetPlatformFontsForNodeCommand) Result() *GetPlatformFontsForNodeResult
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 (cmd *GetPlaybackRateCommand) Result() *GetPlaybackRateResult
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 NewGetPossibleBreakpointsCommand ¶
func NewGetPossibleBreakpointsCommand(params *GetPossibleBreakpointsParams) *GetPossibleBreakpointsCommand
func (*GetPossibleBreakpointsCommand) Done ¶
func (cmd *GetPossibleBreakpointsCommand) Done(data []byte, err error)
func (*GetPossibleBreakpointsCommand) Name ¶
func (cmd *GetPossibleBreakpointsCommand) Name() string
func (*GetPossibleBreakpointsCommand) Params ¶
func (cmd *GetPossibleBreakpointsCommand) Params() interface{}
func (*GetPossibleBreakpointsCommand) Result ¶
func (cmd *GetPossibleBreakpointsCommand) Result() *GetPossibleBreakpointsResult
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 (cmd *GetPropertiesCommand) Result() *GetPropertiesResult
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 (cmd *GetRelayoutBoundaryCommand) Result() *GetRelayoutBoundaryResult
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 (cmd *GetResourceContentCommand) Result() *GetResourceContentResult
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 (cmd *GetResourceTreeCommand) Result() *GetResourceTreeResult
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 (cmd *GetResponseBodyCommand) Result() *GetResponseBodyResult
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 (cmd *GetScriptSourceCommand) Result() *GetScriptSourceResult
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 (cmd *GetSearchResultsCommand) Result() *GetSearchResultsResult
type GetSearchResultsParams ¶
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 (cmd *GetStyleSheetTextCommand) Result() *GetStyleSheetTextResult
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 (cmd *GetTargetInfoCommand) Result() *GetTargetInfoResult
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
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 NewHandleJavaScriptDialogCommand ¶
func NewHandleJavaScriptDialogCommand(params *HandleJavaScriptDialogParams) *HandleJavaScriptDialogCommand
func (*HandleJavaScriptDialogCommand) Done ¶
func (cmd *HandleJavaScriptDialogCommand) Done(data []byte, err error)
func (*HandleJavaScriptDialogCommand) Name ¶
func (cmd *HandleJavaScriptDialogCommand) Name() string
func (*HandleJavaScriptDialogCommand) Params ¶
func (cmd *HandleJavaScriptDialogCommand) Params() interface{}
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{}
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{}
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{}
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{}
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{}
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{}
type HighlightQuadParams ¶
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{}
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{}
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{}
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{}
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{}
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{}
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 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 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 LayerPaintedEvent ¶
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{}
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{}
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
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 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{}
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{}
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
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{}
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
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 ¶
type NavigateCB func(result *NavigateResult, err error)
type NavigateCommand ¶
type NavigateCommand struct {
// contains filtered or unexported fields
}
func NewNavigateCommand ¶
func NewNavigateCommand(params *NavigateParams) *NavigateCommand
func (*NavigateCommand) Done ¶
func (cmd *NavigateCommand) Done(data []byte, err error)
func (*NavigateCommand) Name ¶
func (cmd *NavigateCommand) Name() string
func (*NavigateCommand) Params ¶
func (cmd *NavigateCommand) Params() interface{}
func (*NavigateCommand) Result ¶
func (cmd *NavigateCommand) Result() *NavigateResult
type NavigateParams ¶
type NavigateParams struct {
}type NavigateResult ¶
type NavigateResult struct {
}func Navigate ¶
func Navigate(params *NavigateParams, conn *hc.Conn) (result *NavigateResult, err error)
type NavigateToHistoryEntryCB ¶
type NavigateToHistoryEntryCB func(err error)
type NavigateToHistoryEntryCommand ¶
type NavigateToHistoryEntryCommand struct {
// contains filtered or unexported fields
}
Navigates current page to the given history entry. @experimental
func NewNavigateToHistoryEntryCommand ¶
func NewNavigateToHistoryEntryCommand(params *NavigateToHistoryEntryParams) *NavigateToHistoryEntryCommand
func (*NavigateToHistoryEntryCommand) Done ¶
func (cmd *NavigateToHistoryEntryCommand) Done(data []byte, err error)
func (*NavigateToHistoryEntryCommand) Name ¶
func (cmd *NavigateToHistoryEntryCommand) Name() string
func (*NavigateToHistoryEntryCommand) Params ¶
func (cmd *NavigateToHistoryEntryCommand) Params() interface{}
type NavigateToHistoryEntryParams ¶
type NavigateToHistoryEntryParams struct {
}type NavigationRequestedEvent ¶
type NavigationRequestedEvent struct {}
type NavigationResponse ¶
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
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{}
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{}
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{}
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 (cmd *NetworkGetCookiesCommand) Result() *NetworkGetCookiesResult
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 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 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 (cmd *PageClearDeviceMetricsOverrideCommand) Name() string
func (*PageClearDeviceMetricsOverrideCommand) Params ¶
func (cmd *PageClearDeviceMetricsOverrideCommand) Params() interface{}
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 (cmd *PageClearDeviceOrientationOverrideCommand) Name() string
func (*PageClearDeviceOrientationOverrideCommand) Params ¶
func (cmd *PageClearDeviceOrientationOverrideCommand) Params() interface{}
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 (cmd *PageClearGeolocationOverrideCommand) Name() string
func (*PageClearGeolocationOverrideCommand) Params ¶
func (cmd *PageClearGeolocationOverrideCommand) Params() interface{}
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{}
type PageDeleteCookieParams ¶
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{}
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{}
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 (cmd *PageGetCookiesCommand) Result() *PageGetCookiesResult
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 NewPageSetDeviceMetricsOverrideCommand ¶
func NewPageSetDeviceMetricsOverrideCommand(params *PageSetDeviceMetricsOverrideParams) *PageSetDeviceMetricsOverrideCommand
func (*PageSetDeviceMetricsOverrideCommand) Done ¶
func (cmd *PageSetDeviceMetricsOverrideCommand) Done(data []byte, err error)
func (*PageSetDeviceMetricsOverrideCommand) Name ¶
func (cmd *PageSetDeviceMetricsOverrideCommand) Name() string
func (*PageSetDeviceMetricsOverrideCommand) Params ¶
func (cmd *PageSetDeviceMetricsOverrideCommand) Params() interface{}
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 NewPageSetDeviceOrientationOverrideCommand ¶
func NewPageSetDeviceOrientationOverrideCommand(params *PageSetDeviceOrientationOverrideParams) *PageSetDeviceOrientationOverrideCommand
func (*PageSetDeviceOrientationOverrideCommand) Done ¶
func (cmd *PageSetDeviceOrientationOverrideCommand) Done(data []byte, err error)
func (*PageSetDeviceOrientationOverrideCommand) Name ¶
func (cmd *PageSetDeviceOrientationOverrideCommand) Name() string
func (*PageSetDeviceOrientationOverrideCommand) Params ¶
func (cmd *PageSetDeviceOrientationOverrideCommand) Params() interface{}
type PageSetGeolocationOverrideCB ¶
type PageSetGeolocationOverrideCB func(err error)
type PageSetGeolocationOverrideCommand ¶
type PageSetGeolocationOverrideCommand struct {
// contains filtered or unexported fields
}
func NewPageSetGeolocationOverrideCommand ¶
func NewPageSetGeolocationOverrideCommand(params *PageSetGeolocationOverrideParams) *PageSetGeolocationOverrideCommand
func (*PageSetGeolocationOverrideCommand) Done ¶
func (cmd *PageSetGeolocationOverrideCommand) Done(data []byte, err error)
func (*PageSetGeolocationOverrideCommand) Name ¶
func (cmd *PageSetGeolocationOverrideCommand) Name() string
func (*PageSetGeolocationOverrideCommand) Params ¶
func (cmd *PageSetGeolocationOverrideCommand) Params() interface{}
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 NewPageSetTouchEmulationEnabledCommand ¶
func NewPageSetTouchEmulationEnabledCommand(params *PageSetTouchEmulationEnabledParams) *PageSetTouchEmulationEnabledCommand
func (*PageSetTouchEmulationEnabledCommand) Done ¶
func (cmd *PageSetTouchEmulationEnabledCommand) Done(data []byte, err error)
func (*PageSetTouchEmulationEnabledCommand) Name ¶
func (cmd *PageSetTouchEmulationEnabledCommand) Name() string
func (*PageSetTouchEmulationEnabledCommand) Params ¶
func (cmd *PageSetTouchEmulationEnabledCommand) Params() interface{}
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{}
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 (cmd *PerformSearchCommand) Result() *PerformSearchResult
type PerformSearchParams ¶
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{}
type ProcessNavigationParams ¶
type ProcessNavigationParams struct {}
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 (cmd *ProfileSnapshotCommand) Result() *ProfileSnapshotResult
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{}
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{}
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{}
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 NewPushNodeByPathToFrontendCommand ¶
func NewPushNodeByPathToFrontendCommand(params *PushNodeByPathToFrontendParams) *PushNodeByPathToFrontendCommand
func (*PushNodeByPathToFrontendCommand) Done ¶
func (cmd *PushNodeByPathToFrontendCommand) Done(data []byte, err error)
func (*PushNodeByPathToFrontendCommand) Name ¶
func (cmd *PushNodeByPathToFrontendCommand) Name() string
func (*PushNodeByPathToFrontendCommand) Params ¶
func (cmd *PushNodeByPathToFrontendCommand) Params() interface{}
func (*PushNodeByPathToFrontendCommand) Result ¶
func (cmd *PushNodeByPathToFrontendCommand) Result() *PushNodeByPathToFrontendResult
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 NewPushNodesByBackendIdsToFrontendCommand ¶
func NewPushNodesByBackendIdsToFrontendCommand(params *PushNodesByBackendIdsToFrontendParams) *PushNodesByBackendIdsToFrontendCommand
func (*PushNodesByBackendIdsToFrontendCommand) Done ¶
func (cmd *PushNodesByBackendIdsToFrontendCommand) Done(data []byte, err error)
func (*PushNodesByBackendIdsToFrontendCommand) Name ¶
func (cmd *PushNodesByBackendIdsToFrontendCommand) Name() string
func (*PushNodesByBackendIdsToFrontendCommand) Params ¶
func (cmd *PushNodesByBackendIdsToFrontendCommand) Params() interface{}
func (*PushNodesByBackendIdsToFrontendCommand) Result ¶
func (cmd *PushNodesByBackendIdsToFrontendCommand) Result() *PushNodesByBackendIdsToFrontendResult
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 (cmd *QuerySelectorAllCommand) Result() *QuerySelectorAllResult
type QuerySelectorAllParams ¶
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 (cmd *QuerySelectorCommand) Result() *QuerySelectorResult
type QuerySelectorParams ¶
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
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 RecordClockSyncMarkerCB ¶
type RecordClockSyncMarkerCB func(err error)
type RecordClockSyncMarkerCommand ¶
type RecordClockSyncMarkerCommand struct {
// contains filtered or unexported fields
}
func NewRecordClockSyncMarkerCommand ¶
func NewRecordClockSyncMarkerCommand(params *RecordClockSyncMarkerParams) *RecordClockSyncMarkerCommand
func (*RecordClockSyncMarkerCommand) Done ¶
func (cmd *RecordClockSyncMarkerCommand) Done(data []byte, err error)
func (*RecordClockSyncMarkerCommand) Name ¶
func (cmd *RecordClockSyncMarkerCommand) Name() string
func (*RecordClockSyncMarkerCommand) Params ¶
func (cmd *RecordClockSyncMarkerCommand) Params() interface{}
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 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{}
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{}
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{}
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{}
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{}
type ReleaseSnapshotParams ¶
type ReleaseSnapshotParams struct {
SnapshotId SnapshotId `json:"snapshotId"` // The id of the layer snapshot.
}
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{}
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 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 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{}
type RemoveAttributeParams ¶
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{}
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{}
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{}
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 NewRemoveDOMStorageItemCommand ¶
func NewRemoveDOMStorageItemCommand(params *RemoveDOMStorageItemParams) *RemoveDOMStorageItemCommand
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{}
type RemoveEventListenerBreakpointCB ¶
type RemoveEventListenerBreakpointCB func(err error)
type RemoveEventListenerBreakpointCommand ¶
type RemoveEventListenerBreakpointCommand struct {
// contains filtered or unexported fields
}
func NewRemoveEventListenerBreakpointCommand ¶
func NewRemoveEventListenerBreakpointCommand(params *RemoveEventListenerBreakpointParams) *RemoveEventListenerBreakpointCommand
func (*RemoveEventListenerBreakpointCommand) Done ¶
func (cmd *RemoveEventListenerBreakpointCommand) Done(data []byte, err error)
func (*RemoveEventListenerBreakpointCommand) Name ¶
func (cmd *RemoveEventListenerBreakpointCommand) Name() string
func (*RemoveEventListenerBreakpointCommand) Params ¶
func (cmd *RemoveEventListenerBreakpointCommand) Params() interface{}
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 NewRemoveInstrumentationBreakpointCommand ¶
func NewRemoveInstrumentationBreakpointCommand(params *RemoveInstrumentationBreakpointParams) *RemoveInstrumentationBreakpointCommand
func (*RemoveInstrumentationBreakpointCommand) Done ¶
func (cmd *RemoveInstrumentationBreakpointCommand) Done(data []byte, err error)
func (*RemoveInstrumentationBreakpointCommand) Name ¶
func (cmd *RemoveInstrumentationBreakpointCommand) Name() string
func (*RemoveInstrumentationBreakpointCommand) Params ¶
func (cmd *RemoveInstrumentationBreakpointCommand) Params() interface{}
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{}
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 NewRemoveScriptToEvaluateOnLoadCommand ¶
func NewRemoveScriptToEvaluateOnLoadCommand(params *RemoveScriptToEvaluateOnLoadParams) *RemoveScriptToEvaluateOnLoadCommand
func (*RemoveScriptToEvaluateOnLoadCommand) Done ¶
func (cmd *RemoveScriptToEvaluateOnLoadCommand) Done(data []byte, err error)
func (*RemoveScriptToEvaluateOnLoadCommand) Name ¶
func (cmd *RemoveScriptToEvaluateOnLoadCommand) Name() string
func (*RemoveScriptToEvaluateOnLoadCommand) Params ¶
func (cmd *RemoveScriptToEvaluateOnLoadCommand) Params() interface{}
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{}
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 (cmd *ReplaySnapshotCommand) Result() *ReplaySnapshotResult
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{}
type ReplayXHRParams ¶
type ReplayXHRParams struct {
RequestId RequestId `json:"requestId"` // Identifier of XHR to replay.
}
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{}
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 (cmd *RequestCacheNamesCommand) Result() *RequestCacheNamesResult
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{}
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
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 (cmd *RequestDatabaseCommand) Result() *RequestDatabaseResult
type RequestDatabaseNamesCB ¶
type RequestDatabaseNamesCB func(result *RequestDatabaseNamesResult, err error)
type RequestDatabaseNamesCommand ¶
type RequestDatabaseNamesCommand struct {
// contains filtered or unexported fields
}
func NewRequestDatabaseNamesCommand ¶
func NewRequestDatabaseNamesCommand(params *RequestDatabaseNamesParams) *RequestDatabaseNamesCommand
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 (cmd *RequestDatabaseNamesCommand) Result() *RequestDatabaseNamesResult
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 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 (cmd *RequestEntriesCommand) Result() *RequestEntriesResult
type RequestEntriesParams ¶
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 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 (cmd *RequestMemoryDumpCommand) Result() *RequestMemoryDumpResult
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
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{}
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{}
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 (cmd *ResolveAnimationCommand) Result() *ResolveAnimationResult
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
type ResolveNodeParams ¶
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
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 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{}
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 (cmd *RunIfWaitingForDebuggerCommand) Name() string
func (*RunIfWaitingForDebuggerCommand) Params ¶
func (cmd *RunIfWaitingForDebuggerCommand) Params() interface{}
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
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{}
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{}
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{}
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 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 (cmd *SearchInContentCommand) Result() *SearchInContentResult
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 (cmd *SearchInResourceCommand) Result() *SearchInResourceResult
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{}
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{}
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{}
type SeekAnimationsParams ¶
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{}
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{}
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{}
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 NewSetAsyncCallStackDepthCommand ¶
func NewSetAsyncCallStackDepthCommand(params *SetAsyncCallStackDepthParams) *SetAsyncCallStackDepthCommand
func (*SetAsyncCallStackDepthCommand) Done ¶
func (cmd *SetAsyncCallStackDepthCommand) Done(data []byte, err error)
func (*SetAsyncCallStackDepthCommand) Name ¶
func (cmd *SetAsyncCallStackDepthCommand) Name() string
func (*SetAsyncCallStackDepthCommand) Params ¶
func (cmd *SetAsyncCallStackDepthCommand) Params() interface{}
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{}
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{}
type SetAttributeValueParams ¶
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{}
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{}
type SetAutoAttachParams ¶
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 NewSetAutoAttachToCreatedPagesCommand ¶
func NewSetAutoAttachToCreatedPagesCommand(params *SetAutoAttachToCreatedPagesParams) *SetAutoAttachToCreatedPagesCommand
func (*SetAutoAttachToCreatedPagesCommand) Done ¶
func (cmd *SetAutoAttachToCreatedPagesCommand) Done(data []byte, err error)
func (*SetAutoAttachToCreatedPagesCommand) Name ¶
func (cmd *SetAutoAttachToCreatedPagesCommand) Name() string
func (*SetAutoAttachToCreatedPagesCommand) Params ¶
func (cmd *SetAutoAttachToCreatedPagesCommand) Params() interface{}
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{}
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{}
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 (cmd *SetBreakpointByUrlCommand) Result() *SetBreakpointByUrlResult
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 (cmd *SetBreakpointCommand) Result() *SetBreakpointResult
type SetBreakpointParams ¶
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 NewSetBreakpointsActiveCommand ¶
func NewSetBreakpointsActiveCommand(params *SetBreakpointsActiveParams) *SetBreakpointsActiveCommand
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{}
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 NewSetBypassServiceWorkerCommand ¶
func NewSetBypassServiceWorkerCommand(params *SetBypassServiceWorkerParams) *SetBypassServiceWorkerCommand
func (*SetBypassServiceWorkerCommand) Done ¶
func (cmd *SetBypassServiceWorkerCommand) Done(data []byte, err error)
func (*SetBypassServiceWorkerCommand) Name ¶
func (cmd *SetBypassServiceWorkerCommand) Name() string
func (*SetBypassServiceWorkerCommand) Params ¶
func (cmd *SetBypassServiceWorkerCommand) Params() interface{}
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 NewSetCPUThrottlingRateCommand ¶
func NewSetCPUThrottlingRateCommand(params *SetCPUThrottlingRateParams) *SetCPUThrottlingRateCommand
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{}
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{}
type SetCacheDisabledParams ¶
type SetCacheDisabledParams struct {
CacheDisabled bool `json:"cacheDisabled"` // Cache disabled state.
}
type SetChildNodesEvent ¶
type SetColorPickerEnabledCB ¶
type SetColorPickerEnabledCB func(err error)
type SetColorPickerEnabledCommand ¶
type SetColorPickerEnabledCommand struct {
// contains filtered or unexported fields
}
Shows / hides color picker @experimental
func NewSetColorPickerEnabledCommand ¶
func NewSetColorPickerEnabledCommand(params *SetColorPickerEnabledParams) *SetColorPickerEnabledCommand
func (*SetColorPickerEnabledCommand) Done ¶
func (cmd *SetColorPickerEnabledCommand) Done(data []byte, err error)
func (*SetColorPickerEnabledCommand) Name ¶
func (cmd *SetColorPickerEnabledCommand) Name() string
func (*SetColorPickerEnabledCommand) Params ¶
func (cmd *SetColorPickerEnabledCommand) Params() interface{}
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 NewSetControlNavigationsCommand ¶
func NewSetControlNavigationsCommand(params *SetControlNavigationsParams) *SetControlNavigationsCommand
func (*SetControlNavigationsCommand) Done ¶
func (cmd *SetControlNavigationsCommand) Done(data []byte, err error)
func (*SetControlNavigationsCommand) Name ¶
func (cmd *SetControlNavigationsCommand) Name() string
func (*SetControlNavigationsCommand) Params ¶
func (cmd *SetControlNavigationsCommand) Params() interface{}
type SetControlNavigationsParams ¶
type SetControlNavigationsParams struct {
}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
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 NewSetCustomObjectFormatterEnabledCommand ¶
func NewSetCustomObjectFormatterEnabledCommand(params *SetCustomObjectFormatterEnabledParams) *SetCustomObjectFormatterEnabledCommand
func (*SetCustomObjectFormatterEnabledCommand) Done ¶
func (cmd *SetCustomObjectFormatterEnabledCommand) Done(data []byte, err error)
func (*SetCustomObjectFormatterEnabledCommand) Name ¶
func (cmd *SetCustomObjectFormatterEnabledCommand) Name() string
func (*SetCustomObjectFormatterEnabledCommand) Params ¶
func (cmd *SetCustomObjectFormatterEnabledCommand) Params() interface{}
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{}
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{}
type SetDOMStorageItemParams ¶
type SetDataSizeLimitsForTestCB ¶
type SetDataSizeLimitsForTestCB func(err error)
type SetDataSizeLimitsForTestCommand ¶
type SetDataSizeLimitsForTestCommand struct {
// contains filtered or unexported fields
}
For testing. @experimental
func NewSetDataSizeLimitsForTestCommand ¶
func NewSetDataSizeLimitsForTestCommand(params *SetDataSizeLimitsForTestParams) *SetDataSizeLimitsForTestCommand
func (*SetDataSizeLimitsForTestCommand) Done ¶
func (cmd *SetDataSizeLimitsForTestCommand) Done(data []byte, err error)
func (*SetDataSizeLimitsForTestCommand) Name ¶
func (cmd *SetDataSizeLimitsForTestCommand) Name() string
func (*SetDataSizeLimitsForTestCommand) Params ¶
func (cmd *SetDataSizeLimitsForTestCommand) Params() interface{}
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{}
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{}
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 NewSetEffectivePropertyValueForNodeCommand ¶
func NewSetEffectivePropertyValueForNodeCommand(params *SetEffectivePropertyValueForNodeParams) *SetEffectivePropertyValueForNodeCommand
func (*SetEffectivePropertyValueForNodeCommand) Done ¶
func (cmd *SetEffectivePropertyValueForNodeCommand) Done(data []byte, err error)
func (*SetEffectivePropertyValueForNodeCommand) Name ¶
func (cmd *SetEffectivePropertyValueForNodeCommand) Name() string
func (*SetEffectivePropertyValueForNodeCommand) Params ¶
func (cmd *SetEffectivePropertyValueForNodeCommand) Params() interface{}
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{}
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 NewSetEventListenerBreakpointCommand ¶
func NewSetEventListenerBreakpointCommand(params *SetEventListenerBreakpointParams) *SetEventListenerBreakpointCommand
func (*SetEventListenerBreakpointCommand) Done ¶
func (cmd *SetEventListenerBreakpointCommand) Done(data []byte, err error)
func (*SetEventListenerBreakpointCommand) Name ¶
func (cmd *SetEventListenerBreakpointCommand) Name() string
func (*SetEventListenerBreakpointCommand) Params ¶
func (cmd *SetEventListenerBreakpointCommand) Params() interface{}
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{}
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{}
type SetFileInputFilesParams ¶
type SetForceUpdateOnPageLoadCB ¶
type SetForceUpdateOnPageLoadCB func(err error)
type SetForceUpdateOnPageLoadCommand ¶
type SetForceUpdateOnPageLoadCommand struct {
// contains filtered or unexported fields
}
func NewSetForceUpdateOnPageLoadCommand ¶
func NewSetForceUpdateOnPageLoadCommand(params *SetForceUpdateOnPageLoadParams) *SetForceUpdateOnPageLoadCommand
func (*SetForceUpdateOnPageLoadCommand) Done ¶
func (cmd *SetForceUpdateOnPageLoadCommand) Done(data []byte, err error)
func (*SetForceUpdateOnPageLoadCommand) Name ¶
func (cmd *SetForceUpdateOnPageLoadCommand) Name() string
func (*SetForceUpdateOnPageLoadCommand) Params ¶
func (cmd *SetForceUpdateOnPageLoadCommand) Params() interface{}
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{}
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{}
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 NewSetInstrumentationBreakpointCommand ¶
func NewSetInstrumentationBreakpointCommand(params *SetInstrumentationBreakpointParams) *SetInstrumentationBreakpointCommand
func (*SetInstrumentationBreakpointCommand) Done ¶
func (cmd *SetInstrumentationBreakpointCommand) Done(data []byte, err error)
func (*SetInstrumentationBreakpointCommand) Name ¶
func (cmd *SetInstrumentationBreakpointCommand) Name() string
func (*SetInstrumentationBreakpointCommand) Params ¶
func (cmd *SetInstrumentationBreakpointCommand) Params() interface{}
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 (cmd *SetKeyframeKeyCommand) Result() *SetKeyframeKeyResult
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
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 NewSetMonitoringXHREnabledCommand ¶
func NewSetMonitoringXHREnabledCommand(params *SetMonitoringXHREnabledParams) *SetMonitoringXHREnabledCommand
func (*SetMonitoringXHREnabledCommand) Done ¶
func (cmd *SetMonitoringXHREnabledCommand) Done(data []byte, err error)
func (*SetMonitoringXHREnabledCommand) Name ¶
func (cmd *SetMonitoringXHREnabledCommand) Name() string
func (*SetMonitoringXHREnabledCommand) Params ¶
func (cmd *SetMonitoringXHREnabledCommand) Params() interface{}
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
type SetNodeNameParams ¶
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{}
type SetNodeValueParams ¶
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{}
type SetOuterHTMLParams ¶
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{}
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 NewSetPauseOnExceptionsCommand ¶
func NewSetPauseOnExceptionsCommand(params *SetPauseOnExceptionsParams) *SetPauseOnExceptionsCommand
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{}
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{}
type SetPausedParams ¶
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{}
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 NewSetPressureNotificationsSuppressedCommand ¶
func NewSetPressureNotificationsSuppressedCommand(params *SetPressureNotificationsSuppressedParams) *SetPressureNotificationsSuppressedCommand
func (*SetPressureNotificationsSuppressedCommand) Done ¶
func (cmd *SetPressureNotificationsSuppressedCommand) Done(data []byte, err error)
func (*SetPressureNotificationsSuppressedCommand) Name ¶
func (cmd *SetPressureNotificationsSuppressedCommand) Name() string
func (*SetPressureNotificationsSuppressedCommand) Params ¶
func (cmd *SetPressureNotificationsSuppressedCommand) Params() interface{}
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{}
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 (cmd *SetRuleSelectorCommand) Result() *SetRuleSelectorResult
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{}
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 NewSetScriptExecutionDisabledCommand ¶
func NewSetScriptExecutionDisabledCommand(params *SetScriptExecutionDisabledParams) *SetScriptExecutionDisabledCommand
func (*SetScriptExecutionDisabledCommand) Done ¶
func (cmd *SetScriptExecutionDisabledCommand) Done(data []byte, err error)
func (*SetScriptExecutionDisabledCommand) Name ¶
func (cmd *SetScriptExecutionDisabledCommand) Name() string
func (*SetScriptExecutionDisabledCommand) Params ¶
func (cmd *SetScriptExecutionDisabledCommand) Params() interface{}
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 (cmd *SetScriptSourceCommand) Result() *SetScriptSourceResult
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{}
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{}
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{}
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 NewSetShowScrollBottleneckRectsCommand ¶
func NewSetShowScrollBottleneckRectsCommand(params *SetShowScrollBottleneckRectsParams) *SetShowScrollBottleneckRectsCommand
func (*SetShowScrollBottleneckRectsCommand) Done ¶
func (cmd *SetShowScrollBottleneckRectsCommand) Done(data []byte, err error)
func (*SetShowScrollBottleneckRectsCommand) Name ¶
func (cmd *SetShowScrollBottleneckRectsCommand) Name() string
func (*SetShowScrollBottleneckRectsCommand) Params ¶
func (cmd *SetShowScrollBottleneckRectsCommand) Params() interface{}
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 NewSetShowViewportSizeOnResizeCommand ¶
func NewSetShowViewportSizeOnResizeCommand(params *SetShowViewportSizeOnResizeParams) *SetShowViewportSizeOnResizeCommand
func (*SetShowViewportSizeOnResizeCommand) Done ¶
func (cmd *SetShowViewportSizeOnResizeCommand) Done(data []byte, err error)
func (*SetShowViewportSizeOnResizeCommand) Name ¶
func (cmd *SetShowViewportSizeOnResizeCommand) Name() string
func (*SetShowViewportSizeOnResizeCommand) Params ¶
func (cmd *SetShowViewportSizeOnResizeCommand) Params() interface{}
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{}
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 (cmd *SetStyleSheetTextCommand) Result() *SetStyleSheetTextResult
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 (cmd *SetStyleTextsCommand) Result() *SetStyleTextsResult
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{}
type SetTimingParams ¶
type SetUserAgentOverrideCB ¶
type SetUserAgentOverrideCB func(err error)
type SetUserAgentOverrideCommand ¶
type SetUserAgentOverrideCommand struct {
// contains filtered or unexported fields
}
func NewSetUserAgentOverrideCommand ¶
func NewSetUserAgentOverrideCommand(params *SetUserAgentOverrideParams) *SetUserAgentOverrideCommand
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{}
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{}
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 NewSetVirtualTimePolicyCommand ¶
func NewSetVirtualTimePolicyCommand(params *SetVirtualTimePolicyParams) *SetVirtualTimePolicyCommand
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{}
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{}
type SetVisibleSizeParams ¶
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{}
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 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 (cmd *ShowCertificateViewerCommand) Name() string
func (*ShowCertificateViewerCommand) Params ¶
func (cmd *ShowCertificateViewerCommand) Params() interface{}
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 NewSimulatePressureNotificationCommand ¶
func NewSimulatePressureNotificationCommand(params *SimulatePressureNotificationParams) *SimulatePressureNotificationCommand
func (*SimulatePressureNotificationCommand) Done ¶
func (cmd *SimulatePressureNotificationCommand) Done(data []byte, err error)
func (*SimulatePressureNotificationCommand) Name ¶
func (cmd *SimulatePressureNotificationCommand) Name() string
func (*SimulatePressureNotificationCommand) Params ¶
func (cmd *SimulatePressureNotificationCommand) Params() interface{}
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{}
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 (cmd *SnapshotCommandLogCommand) Result() *SnapshotCommandLogResult
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 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 (cmd *StartRuleUsageTrackingCommand) Name() string
func (*StartRuleUsageTrackingCommand) Params ¶
func (cmd *StartRuleUsageTrackingCommand) Params() interface{}
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{}
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{}
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 NewStartTrackingHeapObjectsCommand ¶
func NewStartTrackingHeapObjectsCommand(params *StartTrackingHeapObjectsParams) *StartTrackingHeapObjectsCommand
func (*StartTrackingHeapObjectsCommand) Done ¶
func (cmd *StartTrackingHeapObjectsCommand) Done(data []byte, err error)
func (*StartTrackingHeapObjectsCommand) Name ¶
func (cmd *StartTrackingHeapObjectsCommand) Name() string
func (*StartTrackingHeapObjectsCommand) Params ¶
func (cmd *StartTrackingHeapObjectsCommand) Params() interface{}
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 NewStartViolationsReportCommand ¶
func NewStartViolationsReportCommand(params *StartViolationsReportParams) *StartViolationsReportCommand
func (*StartViolationsReportCommand) Done ¶
func (cmd *StartViolationsReportCommand) Done(data []byte, err error)
func (*StartViolationsReportCommand) Name ¶
func (cmd *StartViolationsReportCommand) Name() string
func (*StartViolationsReportCommand) Params ¶
func (cmd *StartViolationsReportCommand) Params() interface{}
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{}
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{}
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{}
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{}
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
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{}
type StopResult ¶
type StopResult struct {
Profile *Profile `json:"profile"` // Recorded profile.
}
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 (cmd *StopRuleUsageTrackingCommand) Name() string
func (*StopRuleUsageTrackingCommand) Params ¶
func (cmd *StopRuleUsageTrackingCommand) Params() interface{}
func (*StopRuleUsageTrackingCommand) Result ¶
func (cmd *StopRuleUsageTrackingCommand) Result() *StopRuleUsageTrackingResult
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
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{}
type StopTrackingHeapObjectsCB ¶
type StopTrackingHeapObjectsCB func(err error)
type StopTrackingHeapObjectsCommand ¶
type StopTrackingHeapObjectsCommand struct {
// contains filtered or unexported fields
}
func NewStopTrackingHeapObjectsCommand ¶
func NewStopTrackingHeapObjectsCommand(params *StopTrackingHeapObjectsParams) *StopTrackingHeapObjectsCommand
func (*StopTrackingHeapObjectsCommand) Done ¶
func (cmd *StopTrackingHeapObjectsCommand) Done(data []byte, err error)
func (*StopTrackingHeapObjectsCommand) Name ¶
func (cmd *StopTrackingHeapObjectsCommand) Name() string
func (*StopTrackingHeapObjectsCommand) Params ¶
func (cmd *StopTrackingHeapObjectsCommand) Params() interface{}
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{}
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{}
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 NewSynthesizePinchGestureCommand ¶
func NewSynthesizePinchGestureCommand(params *SynthesizePinchGestureParams) *SynthesizePinchGestureCommand
func (*SynthesizePinchGestureCommand) Done ¶
func (cmd *SynthesizePinchGestureCommand) Done(data []byte, err error)
func (*SynthesizePinchGestureCommand) Name ¶
func (cmd *SynthesizePinchGestureCommand) Name() string
func (*SynthesizePinchGestureCommand) Params ¶
func (cmd *SynthesizePinchGestureCommand) Params() interface{}
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 NewSynthesizeScrollGestureCommand ¶
func NewSynthesizeScrollGestureCommand(params *SynthesizeScrollGestureParams) *SynthesizeScrollGestureCommand
func (*SynthesizeScrollGestureCommand) Done ¶
func (cmd *SynthesizeScrollGestureCommand) Done(data []byte, err error)
func (*SynthesizeScrollGestureCommand) Name ¶
func (cmd *SynthesizeScrollGestureCommand) Name() string
func (*SynthesizeScrollGestureCommand) Params ¶
func (cmd *SynthesizeScrollGestureCommand) Params() interface{}
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 NewSynthesizeTapGestureCommand ¶
func NewSynthesizeTapGestureCommand(params *SynthesizeTapGestureParams) *SynthesizeTapGestureCommand
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{}
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{}
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 TargetInfo ¶
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{}
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 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{}
type UnbindParams ¶
type UnbindParams struct {
Port int `json:"port"` // Port number to unbind.
}
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{}
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{}
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{}
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"`
}
Source Files
¶
- accessibility.go
- animation.go
- applicationcache.go
- cachestorage.go
- console.go
- css.go
- database.go
- debugger.go
- deviceorientation.go
- dom.go
- domdebugger.go
- domstorage.go
- emulation.go
- heapprofiler.go
- indexeddb.go
- input.go
- inspector.go
- io.go
- layertree.go
- log.go
- memory.go
- network.go
- page.go
- profiler.go
- rendering.go
- runtime.go
- schema.go
- security.go
- serviceworker.go
- storage.go
- systeminfo.go
- target.go
- tethering.go
- tracing.go