Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBrowserServer(s grpc.ServiceRegistrar, srv BrowserServer)
- type BrowserClient
- type BrowserServer
- type ClearCookiesRequest
- func (*ClearCookiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearCookiesRequest) GetApiKey() string
- func (x *ClearCookiesRequest) GetSessionId() string
- func (*ClearCookiesRequest) ProtoMessage()
- func (x *ClearCookiesRequest) ProtoReflect() protoreflect.Message
- func (x *ClearCookiesRequest) Reset()
- func (x *ClearCookiesRequest) String() string
- type ClearStorageRequest
- func (*ClearStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClearStorageRequest) GetApiKey() string
- func (x *ClearStorageRequest) GetOrigin() string
- func (x *ClearStorageRequest) GetSessionId() string
- func (*ClearStorageRequest) ProtoMessage()
- func (x *ClearStorageRequest) ProtoReflect() protoreflect.Message
- func (x *ClearStorageRequest) Reset()
- func (x *ClearStorageRequest) String() string
- type ClickRequest
- func (*ClickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClickRequest) GetAction() string
- func (x *ClickRequest) GetApiKey() string
- func (x *ClickRequest) GetBackendNodeId() int32
- func (x *ClickRequest) GetButton() string
- func (x *ClickRequest) GetClickCount() int32
- func (x *ClickRequest) GetFrameId() string
- func (x *ClickRequest) GetJsExpression() string
- func (x *ClickRequest) GetPageId() string
- func (x *ClickRequest) GetSelector() string
- func (x *ClickRequest) GetSessionId() string
- func (x *ClickRequest) GetX() float64
- func (x *ClickRequest) GetY() float64
- func (*ClickRequest) ProtoMessage()
- func (x *ClickRequest) ProtoReflect() protoreflect.Message
- func (x *ClickRequest) Reset()
- func (x *ClickRequest) String() string
- type CookieParam
- func (*CookieParam) Descriptor() ([]byte, []int)deprecated
- func (x *CookieParam) GetDomain() string
- func (x *CookieParam) GetExpires() float64
- func (x *CookieParam) GetHttpOnly() bool
- func (x *CookieParam) GetName() string
- func (x *CookieParam) GetPartitionKey() *CookiePartitionKey
- func (x *CookieParam) GetPath() string
- func (x *CookieParam) GetPriority() string
- func (x *CookieParam) GetSameSite() string
- func (x *CookieParam) GetSecure() bool
- func (x *CookieParam) GetSourcePort() int32
- func (x *CookieParam) GetSourceScheme() string
- func (x *CookieParam) GetUrl() string
- func (x *CookieParam) GetValue() string
- func (*CookieParam) ProtoMessage()
- func (x *CookieParam) ProtoReflect() protoreflect.Message
- func (x *CookieParam) Reset()
- func (x *CookieParam) String() string
- type CookiePartitionKey
- func (*CookiePartitionKey) Descriptor() ([]byte, []int)deprecated
- func (x *CookiePartitionKey) GetHasCrossSiteAncestor() bool
- func (x *CookiePartitionKey) GetTopLevelSite() string
- func (*CookiePartitionKey) ProtoMessage()
- func (x *CookiePartitionKey) ProtoReflect() protoreflect.Message
- func (x *CookiePartitionKey) Reset()
- func (x *CookiePartitionKey) String() string
- type DragRequest
- func (*DragRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DragRequest) GetAbsoluteX() float64
- func (x *DragRequest) GetAbsoluteY() float64
- func (x *DragRequest) GetApiKey() string
- func (x *DragRequest) GetBackendNodeId() int32
- func (x *DragRequest) GetFrameId() string
- func (x *DragRequest) GetJsExpression() string
- func (x *DragRequest) GetOffsetX() float64
- func (x *DragRequest) GetOffsetY() float64
- func (x *DragRequest) GetPageId() string
- func (x *DragRequest) GetSelector() string
- func (x *DragRequest) GetSessionId() string
- func (*DragRequest) ProtoMessage()
- func (x *DragRequest) ProtoReflect() protoreflect.Message
- func (x *DragRequest) Reset()
- func (x *DragRequest) String() string
- type DragResult
- func (*DragResult) Descriptor() ([]byte, []int)deprecated
- func (x *DragResult) GetBackendNodeId() int32
- func (x *DragResult) GetEndX() float64
- func (x *DragResult) GetEndY() float64
- func (x *DragResult) GetFrameId() string
- func (x *DragResult) GetStartX() float64
- func (x *DragResult) GetStartY() float64
- func (x *DragResult) GetSuccess() bool
- func (*DragResult) ProtoMessage()
- func (x *DragResult) ProtoReflect() protoreflect.Message
- func (x *DragResult) Reset()
- func (x *DragResult) String() string
- type ElementResult
- func (*ElementResult) Descriptor() ([]byte, []int)deprecated
- func (x *ElementResult) GetBackendNodeId() int32
- func (x *ElementResult) GetBounds() *Rect
- func (x *ElementResult) GetFrameId() string
- func (x *ElementResult) GetIsVisible() bool
- func (x *ElementResult) GetRootX() float64
- func (x *ElementResult) GetRootY() float64
- func (x *ElementResult) GetSuccess() bool
- func (*ElementResult) ProtoMessage()
- func (x *ElementResult) ProtoReflect() protoreflect.Message
- func (x *ElementResult) Reset()
- func (x *ElementResult) String() string
- type EvaluateRequest
- func (*EvaluateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateRequest) GetApiKey() string
- func (x *EvaluateRequest) GetExpression() string
- func (x *EvaluateRequest) GetFrameId() string
- func (x *EvaluateRequest) GetPageId() string
- func (x *EvaluateRequest) GetSessionId() string
- func (*EvaluateRequest) ProtoMessage()
- func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateRequest) Reset()
- func (x *EvaluateRequest) String() string
- type EvaluateResponse
- func (*EvaluateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateResponse) GetBackendNodeId() int32
- func (x *EvaluateResponse) GetBounds() *Rect
- func (x *EvaluateResponse) GetIsVisible() bool
- func (x *EvaluateResponse) GetResult() string
- func (*EvaluateResponse) ProtoMessage()
- func (x *EvaluateResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluateResponse) Reset()
- func (x *EvaluateResponse) String() string
- type FillRequest
- func (*FillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FillRequest) GetApiKey() string
- func (x *FillRequest) GetBackendNodeId() int32
- func (x *FillRequest) GetClearFirst() bool
- func (x *FillRequest) GetFrameId() string
- func (x *FillRequest) GetJsExpression() string
- func (x *FillRequest) GetPageId() string
- func (x *FillRequest) GetSelector() string
- func (x *FillRequest) GetSessionId() string
- func (x *FillRequest) GetText() string
- func (*FillRequest) ProtoMessage()
- func (x *FillRequest) ProtoReflect() protoreflect.Message
- func (x *FillRequest) Reset()
- func (x *FillRequest) String() string
- type FrameInfo
- func (*FrameInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FrameInfo) GetAbsoluteRect() *Rect
- func (x *FrameInfo) GetChildren() []*FrameInfo
- func (x *FrameInfo) GetFrameId() string
- func (x *FrameInfo) GetHasJsContext() bool
- func (x *FrameInfo) GetIsLoading() bool
- func (x *FrameInfo) GetIsOopif() bool
- func (x *FrameInfo) GetIsVisible() bool
- func (x *FrameInfo) GetRelativeRect() *Rect
- func (x *FrameInfo) GetUrl() string
- func (*FrameInfo) ProtoMessage()
- func (x *FrameInfo) ProtoReflect() protoreflect.Message
- func (x *FrameInfo) Reset()
- func (x *FrameInfo) String() string
- type GetCookiesRequest
- func (*GetCookiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCookiesRequest) GetApiKey() string
- func (x *GetCookiesRequest) GetSessionId() string
- func (*GetCookiesRequest) ProtoMessage()
- func (x *GetCookiesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCookiesRequest) Reset()
- func (x *GetCookiesRequest) String() string
- type GetCookiesResponse
- func (*GetCookiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCookiesResponse) GetCookies() []*CookieParam
- func (*GetCookiesResponse) ProtoMessage()
- func (x *GetCookiesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCookiesResponse) Reset()
- func (x *GetCookiesResponse) String() string
- type GetDOMHashRequest
- func (*GetDOMHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDOMHashRequest) GetApiKey() string
- func (x *GetDOMHashRequest) GetFrameId() string
- func (x *GetDOMHashRequest) GetPageId() string
- func (x *GetDOMHashRequest) GetSessionId() string
- func (*GetDOMHashRequest) ProtoMessage()
- func (x *GetDOMHashRequest) ProtoReflect() protoreflect.Message
- func (x *GetDOMHashRequest) Reset()
- func (x *GetDOMHashRequest) String() string
- type GetDOMHashResponse
- func (*GetDOMHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDOMHashResponse) GetHash() string
- func (*GetDOMHashResponse) ProtoMessage()
- func (x *GetDOMHashResponse) ProtoReflect() protoreflect.Message
- func (x *GetDOMHashResponse) Reset()
- func (x *GetDOMHashResponse) String() string
- type GetDOMRequest
- func (*GetDOMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDOMRequest) GetApiKey() string
- func (x *GetDOMRequest) GetDepth() int32
- func (x *GetDOMRequest) GetFrameId() string
- func (x *GetDOMRequest) GetPageId() string
- func (x *GetDOMRequest) GetSessionId() string
- func (*GetDOMRequest) ProtoMessage()
- func (x *GetDOMRequest) ProtoReflect() protoreflect.Message
- func (x *GetDOMRequest) Reset()
- func (x *GetDOMRequest) String() string
- type GetDOMResponse
- type GetObservationRequest
- func (*GetObservationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObservationRequest) GetApiKey() string
- func (x *GetObservationRequest) GetMaxElementsPerFrame() int32
- func (x *GetObservationRequest) GetMaxTextLength() int32
- func (x *GetObservationRequest) GetPageId() string
- func (x *GetObservationRequest) GetSessionId() string
- func (*GetObservationRequest) ProtoMessage()
- func (x *GetObservationRequest) ProtoReflect() protoreflect.Message
- func (x *GetObservationRequest) Reset()
- func (x *GetObservationRequest) String() string
- type GetObservationResponse
- func (*GetObservationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObservationResponse) GetObservationJson() string
- func (x *GetObservationResponse) GetObservationText() string
- func (*GetObservationResponse) ProtoMessage()
- func (x *GetObservationResponse) ProtoReflect() protoreflect.Message
- func (x *GetObservationResponse) Reset()
- func (x *GetObservationResponse) String() string
- type GetPagesRequest
- func (*GetPagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPagesRequest) GetApiKey() string
- func (x *GetPagesRequest) GetSessionId() string
- func (*GetPagesRequest) ProtoMessage()
- func (x *GetPagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPagesRequest) Reset()
- func (x *GetPagesRequest) String() string
- type GetPagesResponse
- type GetSelectionRequest
- func (*GetSelectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSelectionRequest) GetApiKey() string
- func (x *GetSelectionRequest) GetPageId() string
- func (x *GetSelectionRequest) GetSessionId() string
- func (*GetSelectionRequest) ProtoMessage()
- func (x *GetSelectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSelectionRequest) Reset()
- func (x *GetSelectionRequest) String() string
- type GetSelectionResponse
- func (*GetSelectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSelectionResponse) GetText() string
- func (*GetSelectionResponse) ProtoMessage()
- func (x *GetSelectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSelectionResponse) Reset()
- func (x *GetSelectionResponse) String() string
- type GetStorageRequest
- func (*GetStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStorageRequest) GetApiKey() string
- func (x *GetStorageRequest) GetOrigin() string
- func (x *GetStorageRequest) GetSessionId() string
- func (*GetStorageRequest) ProtoMessage()
- func (x *GetStorageRequest) ProtoReflect() protoreflect.Message
- func (x *GetStorageRequest) Reset()
- func (x *GetStorageRequest) String() string
- type GetStorageResponse
- func (*GetStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStorageResponse) GetStorage() []*StorageOriginEntry
- func (*GetStorageResponse) ProtoMessage()
- func (x *GetStorageResponse) ProtoReflect() protoreflect.Message
- func (x *GetStorageResponse) Reset()
- func (x *GetStorageResponse) String() string
- type Header
- type HeaderModification
- func (*HeaderModification) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderModification) GetAction() string
- func (x *HeaderModification) GetAfter() string
- func (x *HeaderModification) GetBefore() string
- func (x *HeaderModification) GetName() string
- func (x *HeaderModification) GetValue() string
- func (*HeaderModification) ProtoMessage()
- func (x *HeaderModification) ProtoReflect() protoreflect.Message
- func (x *HeaderModification) Reset()
- func (x *HeaderModification) String() string
- type HighlightNodeRequest
- func (*HighlightNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HighlightNodeRequest) GetApiKey() string
- func (x *HighlightNodeRequest) GetBackendNodeId() int32
- func (x *HighlightNodeRequest) GetFrameId() string
- func (x *HighlightNodeRequest) GetPageId() string
- func (x *HighlightNodeRequest) GetSessionId() string
- func (*HighlightNodeRequest) ProtoMessage()
- func (x *HighlightNodeRequest) ProtoReflect() protoreflect.Message
- func (x *HighlightNodeRequest) Reset()
- func (x *HighlightNodeRequest) String() string
- type InsertTextRequest
- func (*InsertTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertTextRequest) GetApiKey() string
- func (x *InsertTextRequest) GetPageId() string
- func (x *InsertTextRequest) GetSessionId() string
- func (x *InsertTextRequest) GetText() string
- func (*InsertTextRequest) ProtoMessage()
- func (x *InsertTextRequest) ProtoReflect() protoreflect.Message
- func (x *InsertTextRequest) Reset()
- func (x *InsertTextRequest) String() string
- type InspectAtPositionRequest
- func (*InspectAtPositionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectAtPositionRequest) GetApiKey() string
- func (x *InspectAtPositionRequest) GetPageId() string
- func (x *InspectAtPositionRequest) GetSessionId() string
- func (x *InspectAtPositionRequest) GetX() float64
- func (x *InspectAtPositionRequest) GetY() float64
- func (*InspectAtPositionRequest) ProtoMessage()
- func (x *InspectAtPositionRequest) ProtoReflect() protoreflect.Message
- func (x *InspectAtPositionRequest) Reset()
- func (x *InspectAtPositionRequest) String() string
- type InspectAtPositionResponse
- func (*InspectAtPositionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectAtPositionResponse) GetBackendNodeId() int32
- func (x *InspectAtPositionResponse) GetBounds() *Rect
- func (x *InspectAtPositionResponse) GetFrameId() string
- func (x *InspectAtPositionResponse) GetIsVisible() bool
- func (x *InspectAtPositionResponse) GetTagName() string
- func (x *InspectAtPositionResponse) GetTextContent() string
- func (*InspectAtPositionResponse) ProtoMessage()
- func (x *InspectAtPositionResponse) ProtoReflect() protoreflect.Message
- func (x *InspectAtPositionResponse) Reset()
- func (x *InspectAtPositionResponse) String() string
- type InterceptedRequest
- func (*InterceptedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InterceptedRequest) GetBody() string
- func (x *InterceptedRequest) GetHeaders() []*Header
- func (x *InterceptedRequest) GetMethod() string
- func (x *InterceptedRequest) GetResourceType() string
- func (x *InterceptedRequest) GetUrl() string
- func (*InterceptedRequest) ProtoMessage()
- func (x *InterceptedRequest) ProtoReflect() protoreflect.Message
- func (x *InterceptedRequest) Reset()
- func (x *InterceptedRequest) String() string
- type InterceptedResponse
- func (*InterceptedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InterceptedResponse) GetBody() string
- func (x *InterceptedResponse) GetHeaders() []*Header
- func (x *InterceptedResponse) GetStatusCode() int32
- func (x *InterceptedResponse) GetUrl() string
- func (*InterceptedResponse) ProtoMessage()
- func (x *InterceptedResponse) ProtoReflect() protoreflect.Message
- func (x *InterceptedResponse) Reset()
- func (x *InterceptedResponse) String() string
- type LoadHTMLRequest
- func (*LoadHTMLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadHTMLRequest) GetApiKey() string
- func (x *LoadHTMLRequest) GetHeaders() []*Header
- func (x *LoadHTMLRequest) GetHtml() string
- func (x *LoadHTMLRequest) GetPageId() string
- func (x *LoadHTMLRequest) GetSessionId() string
- func (x *LoadHTMLRequest) GetStatusCode() int32
- func (x *LoadHTMLRequest) GetUrl() string
- func (*LoadHTMLRequest) ProtoMessage()
- func (x *LoadHTMLRequest) ProtoReflect() protoreflect.Message
- func (x *LoadHTMLRequest) Reset()
- func (x *LoadHTMLRequest) String() string
- type ModifyRequestRequest
- func (*ModifyRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyRequestRequest) GetApiKey() string
- func (x *ModifyRequestRequest) GetBody() string
- func (x *ModifyRequestRequest) GetModifications() []*HeaderModification
- func (x *ModifyRequestRequest) GetSessionId() string
- func (x *ModifyRequestRequest) GetTimeout() float64
- func (x *ModifyRequestRequest) GetUrlPattern() string
- func (*ModifyRequestRequest) ProtoMessage()
- func (x *ModifyRequestRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyRequestRequest) Reset()
- func (x *ModifyRequestRequest) String() string
- type ModifyRequestResponse
- func (*ModifyRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyRequestResponse) GetRequest() *InterceptedRequest
- func (*ModifyRequestResponse) ProtoMessage()
- func (x *ModifyRequestResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyRequestResponse) Reset()
- func (x *ModifyRequestResponse) String() string
- type MoveToRequest
- func (*MoveToRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveToRequest) GetApiKey() string
- func (x *MoveToRequest) GetBackendNodeId() int32
- func (x *MoveToRequest) GetFrameId() string
- func (x *MoveToRequest) GetJsExpression() string
- func (x *MoveToRequest) GetPageId() string
- func (x *MoveToRequest) GetSelector() string
- func (x *MoveToRequest) GetSessionId() string
- func (x *MoveToRequest) GetX() float64
- func (x *MoveToRequest) GetY() float64
- func (*MoveToRequest) ProtoMessage()
- func (x *MoveToRequest) ProtoReflect() protoreflect.Message
- func (x *MoveToRequest) Reset()
- func (x *MoveToRequest) String() string
- type NavigateRequest
- func (*NavigateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NavigateRequest) GetApiKey() string
- func (x *NavigateRequest) GetPageId() string
- func (x *NavigateRequest) GetReferrer() string
- func (x *NavigateRequest) GetSessionId() string
- func (x *NavigateRequest) GetTimeout() float64
- func (x *NavigateRequest) GetUrl() string
- func (*NavigateRequest) ProtoMessage()
- func (x *NavigateRequest) ProtoReflect() protoreflect.Message
- func (x *NavigateRequest) Reset()
- func (x *NavigateRequest) String() string
- type NavigateResponse
- func (*NavigateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NavigateResponse) GetFrameId() string
- func (x *NavigateResponse) GetUrl() string
- func (*NavigateResponse) ProtoMessage()
- func (x *NavigateResponse) ProtoReflect() protoreflect.Message
- func (x *NavigateResponse) Reset()
- func (x *NavigateResponse) String() string
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetBrowserContextId() string
- func (x *PageInfo) GetFrameTree() *FrameInfo
- func (x *PageInfo) GetPageId() string
- func (x *PageInfo) GetTitle() string
- func (x *PageInfo) GetUrl() string
- func (x *PageInfo) GetViewport() *Rect
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type PressKeyRequest
- func (*PressKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PressKeyRequest) GetApiKey() string
- func (x *PressKeyRequest) GetCode() string
- func (x *PressKeyRequest) GetKey() string
- func (x *PressKeyRequest) GetLocation() int32
- func (x *PressKeyRequest) GetModifiers() int32
- func (x *PressKeyRequest) GetPageId() string
- func (x *PressKeyRequest) GetSessionId() string
- func (*PressKeyRequest) ProtoMessage()
- func (x *PressKeyRequest) ProtoReflect() protoreflect.Message
- func (x *PressKeyRequest) Reset()
- func (x *PressKeyRequest) String() string
- type ReadCanvasRequest
- func (*ReadCanvasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCanvasRequest) GetApiKey() string
- func (x *ReadCanvasRequest) GetBackendNodeId() int32
- func (x *ReadCanvasRequest) GetFormat() string
- func (x *ReadCanvasRequest) GetFrameId() string
- func (x *ReadCanvasRequest) GetJsExpression() string
- func (x *ReadCanvasRequest) GetPageId() string
- func (x *ReadCanvasRequest) GetQuality() int32
- func (x *ReadCanvasRequest) GetSelector() string
- func (x *ReadCanvasRequest) GetSessionId() string
- func (x *ReadCanvasRequest) GetSh() int32
- func (x *ReadCanvasRequest) GetSw() int32
- func (x *ReadCanvasRequest) GetSx() int32
- func (x *ReadCanvasRequest) GetSy() int32
- func (*ReadCanvasRequest) ProtoMessage()
- func (x *ReadCanvasRequest) ProtoReflect() protoreflect.Message
- func (x *ReadCanvasRequest) Reset()
- func (x *ReadCanvasRequest) String() string
- type ReadCanvasResponse
- func (*ReadCanvasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadCanvasResponse) GetBackendNodeId() int32
- func (x *ReadCanvasResponse) GetDataBase64() string
- func (x *ReadCanvasResponse) GetFrameId() string
- func (x *ReadCanvasResponse) GetHeight() int32
- func (x *ReadCanvasResponse) GetOriginClean() bool
- func (x *ReadCanvasResponse) GetSuccess() bool
- func (x *ReadCanvasResponse) GetWidth() int32
- func (*ReadCanvasResponse) ProtoMessage()
- func (x *ReadCanvasResponse) ProtoReflect() protoreflect.Message
- func (x *ReadCanvasResponse) Reset()
- func (x *ReadCanvasResponse) String() string
- type Rect
- func (*Rect) Descriptor() ([]byte, []int)deprecated
- func (x *Rect) GetHeight() float64
- func (x *Rect) GetWidth() float64
- func (x *Rect) GetX() float64
- func (x *Rect) GetY() float64
- func (*Rect) ProtoMessage()
- func (x *Rect) ProtoReflect() protoreflect.Message
- func (x *Rect) Reset()
- func (x *Rect) String() string
- type ReleaseKeyRequest
- func (*ReleaseKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseKeyRequest) GetApiKey() string
- func (x *ReleaseKeyRequest) GetCode() string
- func (x *ReleaseKeyRequest) GetKey() string
- func (x *ReleaseKeyRequest) GetLocation() int32
- func (x *ReleaseKeyRequest) GetModifiers() int32
- func (x *ReleaseKeyRequest) GetPageId() string
- func (x *ReleaseKeyRequest) GetSessionId() string
- func (*ReleaseKeyRequest) ProtoMessage()
- func (x *ReleaseKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseKeyRequest) Reset()
- func (x *ReleaseKeyRequest) String() string
- type ScreenshotRequest
- func (*ScreenshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScreenshotRequest) GetApiKey() string
- func (x *ScreenshotRequest) GetFormat() string
- func (x *ScreenshotRequest) GetPageId() string
- func (x *ScreenshotRequest) GetQuality() int32
- func (x *ScreenshotRequest) GetSessionId() string
- func (*ScreenshotRequest) ProtoMessage()
- func (x *ScreenshotRequest) ProtoReflect() protoreflect.Message
- func (x *ScreenshotRequest) Reset()
- func (x *ScreenshotRequest) String() string
- type ScreenshotResponse
- func (*ScreenshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScreenshotResponse) GetDataBase64() string
- func (x *ScreenshotResponse) GetHeight() int32
- func (x *ScreenshotResponse) GetWidth() int32
- func (*ScreenshotResponse) ProtoMessage()
- func (x *ScreenshotResponse) ProtoReflect() protoreflect.Message
- func (x *ScreenshotResponse) Reset()
- func (x *ScreenshotResponse) String() string
- type ScrollToRequest
- func (*ScrollToRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScrollToRequest) GetApiKey() string
- func (x *ScrollToRequest) GetBackendNodeId() int32
- func (x *ScrollToRequest) GetFrameId() string
- func (x *ScrollToRequest) GetJsExpression() string
- func (x *ScrollToRequest) GetPageId() string
- func (x *ScrollToRequest) GetSelector() string
- func (x *ScrollToRequest) GetSessionId() string
- func (*ScrollToRequest) ProtoMessage()
- func (x *ScrollToRequest) ProtoReflect() protoreflect.Message
- func (x *ScrollToRequest) Reset()
- func (x *ScrollToRequest) String() string
- type SelectOptionRequest
- func (*SelectOptionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectOptionRequest) GetApiKey() string
- func (x *SelectOptionRequest) GetBackendNodeId() int32
- func (x *SelectOptionRequest) GetFireEvents() bool
- func (x *SelectOptionRequest) GetFrameId() string
- func (x *SelectOptionRequest) GetIndex() int32
- func (x *SelectOptionRequest) GetJsExpression() string
- func (x *SelectOptionRequest) GetPageId() string
- func (x *SelectOptionRequest) GetSelector() string
- func (x *SelectOptionRequest) GetSessionId() string
- func (x *SelectOptionRequest) GetText() string
- func (x *SelectOptionRequest) GetValue() string
- func (*SelectOptionRequest) ProtoMessage()
- func (x *SelectOptionRequest) ProtoReflect() protoreflect.Message
- func (x *SelectOptionRequest) Reset()
- func (x *SelectOptionRequest) String() string
- type SelectOptionResult
- func (*SelectOptionResult) Descriptor() ([]byte, []int)deprecated
- func (x *SelectOptionResult) GetSelectedIndex() int32
- func (x *SelectOptionResult) GetSelectedText() string
- func (x *SelectOptionResult) GetSelectedValue() string
- func (*SelectOptionResult) ProtoMessage()
- func (x *SelectOptionResult) ProtoReflect() protoreflect.Message
- func (x *SelectOptionResult) Reset()
- func (x *SelectOptionResult) String() string
- type SetBlockListRequest
- func (*SetBlockListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetBlockListRequest) GetApiKey() string
- func (x *SetBlockListRequest) GetPatterns() []string
- func (x *SetBlockListRequest) GetSessionId() string
- func (*SetBlockListRequest) ProtoMessage()
- func (x *SetBlockListRequest) ProtoReflect() protoreflect.Message
- func (x *SetBlockListRequest) Reset()
- func (x *SetBlockListRequest) String() string
- type SetCookiesRequest
- func (*SetCookiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCookiesRequest) GetApiKey() string
- func (x *SetCookiesRequest) GetCookies() []*CookieParam
- func (x *SetCookiesRequest) GetSessionId() string
- func (*SetCookiesRequest) ProtoMessage()
- func (x *SetCookiesRequest) ProtoReflect() protoreflect.Message
- func (x *SetCookiesRequest) Reset()
- func (x *SetCookiesRequest) String() string
- type SetProxyRequest
- func (*SetProxyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetProxyRequest) GetApiKey() string
- func (x *SetProxyRequest) GetProxyHost() string
- func (x *SetProxyRequest) GetProxyPassword() string
- func (x *SetProxyRequest) GetProxyPort() int32
- func (x *SetProxyRequest) GetProxyUsername() string
- func (x *SetProxyRequest) GetSessionId() string
- func (*SetProxyRequest) ProtoMessage()
- func (x *SetProxyRequest) ProtoReflect() protoreflect.Message
- func (x *SetProxyRequest) Reset()
- func (x *SetProxyRequest) String() string
- type SetStaticPathsRequest
- func (*SetStaticPathsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetStaticPathsRequest) GetApiKey() string
- func (x *SetStaticPathsRequest) GetBlobName() string
- func (x *SetStaticPathsRequest) GetPatterns() []string
- func (x *SetStaticPathsRequest) GetSessionId() string
- func (*SetStaticPathsRequest) ProtoMessage()
- func (x *SetStaticPathsRequest) ProtoReflect() protoreflect.Message
- func (x *SetStaticPathsRequest) Reset()
- func (x *SetStaticPathsRequest) String() string
- type SetStorageRequest
- func (*SetStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetStorageRequest) GetApiKey() string
- func (x *SetStorageRequest) GetClearFirst() bool
- func (x *SetStorageRequest) GetSessionId() string
- func (x *SetStorageRequest) GetStorage() []*StorageOriginEntry
- func (*SetStorageRequest) ProtoMessage()
- func (x *SetStorageRequest) ProtoReflect() protoreflect.Message
- func (x *SetStorageRequest) Reset()
- func (x *SetStorageRequest) String() string
- type SolveCaptchaRequest
- func (*SolveCaptchaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SolveCaptchaRequest) GetApiKey() string
- func (x *SolveCaptchaRequest) GetRetryAmount() int32
- func (x *SolveCaptchaRequest) GetSessionId() string
- func (x *SolveCaptchaRequest) GetTimeoutMs() int32
- func (*SolveCaptchaRequest) ProtoMessage()
- func (x *SolveCaptchaRequest) ProtoReflect() protoreflect.Message
- func (x *SolveCaptchaRequest) Reset()
- func (x *SolveCaptchaRequest) String() string
- type SolveCaptchaResponse
- func (*SolveCaptchaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SolveCaptchaResponse) GetResult() string
- func (*SolveCaptchaResponse) ProtoMessage()
- func (x *SolveCaptchaResponse) ProtoReflect() protoreflect.Message
- func (x *SolveCaptchaResponse) Reset()
- func (x *SolveCaptchaResponse) String() string
- type StorageItem
- type StorageOriginEntry
- func (*StorageOriginEntry) Descriptor() ([]byte, []int)deprecated
- func (x *StorageOriginEntry) GetItems() []*StorageItem
- func (x *StorageOriginEntry) GetOrigin() string
- func (*StorageOriginEntry) ProtoMessage()
- func (x *StorageOriginEntry) ProtoReflect() protoreflect.Message
- func (x *StorageOriginEntry) Reset()
- func (x *StorageOriginEntry) String() string
- type UnimplementedBrowserServer
- func (UnimplementedBrowserServer) ClearCookies(context.Context, *ClearCookiesRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) ClearStorage(context.Context, *ClearStorageRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) Click(context.Context, *ClickRequest) (*ElementResult, error)
- func (UnimplementedBrowserServer) Drag(context.Context, *DragRequest) (*DragResult, error)
- func (UnimplementedBrowserServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
- func (UnimplementedBrowserServer) Fill(context.Context, *FillRequest) (*ElementResult, error)
- func (UnimplementedBrowserServer) GetCookies(context.Context, *GetCookiesRequest) (*GetCookiesResponse, error)
- func (UnimplementedBrowserServer) GetDOM(context.Context, *GetDOMRequest) (*GetDOMResponse, error)
- func (UnimplementedBrowserServer) GetDOMHash(context.Context, *GetDOMHashRequest) (*GetDOMHashResponse, error)
- func (UnimplementedBrowserServer) GetObservation(context.Context, *GetObservationRequest) (*GetObservationResponse, error)
- func (UnimplementedBrowserServer) GetPages(context.Context, *GetPagesRequest) (*GetPagesResponse, error)
- func (UnimplementedBrowserServer) GetSelection(context.Context, *GetSelectionRequest) (*GetSelectionResponse, error)
- func (UnimplementedBrowserServer) GetStorage(context.Context, *GetStorageRequest) (*GetStorageResponse, error)
- func (UnimplementedBrowserServer) HighlightNode(context.Context, *HighlightNodeRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) InsertText(context.Context, *InsertTextRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) InspectAtPosition(context.Context, *InspectAtPositionRequest) (*InspectAtPositionResponse, error)
- func (UnimplementedBrowserServer) LoadHTML(context.Context, *LoadHTMLRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) ModifyRequest(context.Context, *ModifyRequestRequest) (*ModifyRequestResponse, error)
- func (UnimplementedBrowserServer) MoveTo(context.Context, *MoveToRequest) (*ElementResult, error)
- func (UnimplementedBrowserServer) Navigate(context.Context, *NavigateRequest) (*NavigateResponse, error)
- func (UnimplementedBrowserServer) PressKey(context.Context, *PressKeyRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) ReadCanvas(context.Context, *ReadCanvasRequest) (*ReadCanvasResponse, error)
- func (UnimplementedBrowserServer) ReleaseKey(context.Context, *ReleaseKeyRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) Screenshot(context.Context, *ScreenshotRequest) (*ScreenshotResponse, error)
- func (UnimplementedBrowserServer) ScrollTo(context.Context, *ScrollToRequest) (*ElementResult, error)
- func (UnimplementedBrowserServer) SelectOption(context.Context, *SelectOptionRequest) (*SelectOptionResult, error)
- func (UnimplementedBrowserServer) SetBlockList(context.Context, *SetBlockListRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) SetCookies(context.Context, *SetCookiesRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) SetProxy(context.Context, *SetProxyRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) SetStaticPaths(context.Context, *SetStaticPathsRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) SetStorage(context.Context, *SetStorageRequest) (*emptypb.Empty, error)
- func (UnimplementedBrowserServer) SolveCaptcha(context.Context, *SolveCaptchaRequest) (*SolveCaptchaResponse, error)
- func (UnimplementedBrowserServer) WaitForAny(context.Context, *WaitForAnyParams) (*WaitResult, error)
- func (UnimplementedBrowserServer) WaitForAnyRequest(context.Context, *WaitForAnyRequestRequest) (*WaitForAnyRequestResponse, error)
- func (UnimplementedBrowserServer) WaitForAnyResponse(context.Context, *WaitForAnyResponseRequest) (*WaitForAnyResponseResponse, error)
- type UnsafeBrowserServer
- type WaitCondition
- func (*WaitCondition) Descriptor() ([]byte, []int)deprecated
- func (x *WaitCondition) GetJsExpression() string
- func (x *WaitCondition) GetSelector() string
- func (x *WaitCondition) GetSteadyTime() float64
- func (x *WaitCondition) GetVisible() bool
- func (*WaitCondition) ProtoMessage()
- func (x *WaitCondition) ProtoReflect() protoreflect.Message
- func (x *WaitCondition) Reset()
- func (x *WaitCondition) String() string
- type WaitForAnyParams
- func (*WaitForAnyParams) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAnyParams) GetApiKey() string
- func (x *WaitForAnyParams) GetConditions() []*WaitCondition
- func (x *WaitForAnyParams) GetFrameId() string
- func (x *WaitForAnyParams) GetPageId() string
- func (x *WaitForAnyParams) GetSessionId() string
- func (x *WaitForAnyParams) GetTimeout() float64
- func (*WaitForAnyParams) ProtoMessage()
- func (x *WaitForAnyParams) ProtoReflect() protoreflect.Message
- func (x *WaitForAnyParams) Reset()
- func (x *WaitForAnyParams) String() string
- type WaitForAnyRequestRequest
- func (*WaitForAnyRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAnyRequestRequest) GetAbortFlags() []int32
- func (x *WaitForAnyRequestRequest) GetApiKey() string
- func (x *WaitForAnyRequestRequest) GetPatterns() []string
- func (x *WaitForAnyRequestRequest) GetSessionId() string
- func (x *WaitForAnyRequestRequest) GetTimeout() float64
- func (*WaitForAnyRequestRequest) ProtoMessage()
- func (x *WaitForAnyRequestRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForAnyRequestRequest) Reset()
- func (x *WaitForAnyRequestRequest) String() string
- type WaitForAnyRequestResponse
- func (*WaitForAnyRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAnyRequestResponse) GetIndex() int32
- func (x *WaitForAnyRequestResponse) GetRequest() *InterceptedRequest
- func (*WaitForAnyRequestResponse) ProtoMessage()
- func (x *WaitForAnyRequestResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForAnyRequestResponse) Reset()
- func (x *WaitForAnyRequestResponse) String() string
- type WaitForAnyResponseRequest
- func (*WaitForAnyResponseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAnyResponseRequest) GetAbortFlags() []int32
- func (x *WaitForAnyResponseRequest) GetApiKey() string
- func (x *WaitForAnyResponseRequest) GetPatterns() []string
- func (x *WaitForAnyResponseRequest) GetSessionId() string
- func (x *WaitForAnyResponseRequest) GetTimeout() float64
- func (*WaitForAnyResponseRequest) ProtoMessage()
- func (x *WaitForAnyResponseRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForAnyResponseRequest) Reset()
- func (x *WaitForAnyResponseRequest) String() string
- type WaitForAnyResponseResponse
- func (*WaitForAnyResponseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAnyResponseResponse) GetIndex() int32
- func (x *WaitForAnyResponseResponse) GetResponse() *InterceptedResponse
- func (*WaitForAnyResponseResponse) ProtoMessage()
- func (x *WaitForAnyResponseResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForAnyResponseResponse) Reset()
- func (x *WaitForAnyResponseResponse) String() string
- type WaitResult
- func (*WaitResult) Descriptor() ([]byte, []int)deprecated
- func (x *WaitResult) GetBackendNodeId() int32
- func (x *WaitResult) GetBounds() *Rect
- func (x *WaitResult) GetFrameId() string
- func (x *WaitResult) GetIndex() int32
- func (x *WaitResult) GetIsVisible() bool
- func (*WaitResult) ProtoMessage()
- func (x *WaitResult) ProtoReflect() protoreflect.Message
- func (x *WaitResult) Reset()
- func (x *WaitResult) String() string
Constants ¶
const ( Browser_SetProxy_FullMethodName = "/browserscale.v1.Browser/SetProxy" Browser_GetPages_FullMethodName = "/browserscale.v1.Browser/GetPages" Browser_LoadHTML_FullMethodName = "/browserscale.v1.Browser/LoadHTML" Browser_Evaluate_FullMethodName = "/browserscale.v1.Browser/Evaluate" Browser_WaitForAny_FullMethodName = "/browserscale.v1.Browser/WaitForAny" Browser_SelectOption_FullMethodName = "/browserscale.v1.Browser/SelectOption" Browser_ScrollTo_FullMethodName = "/browserscale.v1.Browser/ScrollTo" Browser_MoveTo_FullMethodName = "/browserscale.v1.Browser/MoveTo" Browser_Click_FullMethodName = "/browserscale.v1.Browser/Click" Browser_Drag_FullMethodName = "/browserscale.v1.Browser/Drag" Browser_Fill_FullMethodName = "/browserscale.v1.Browser/Fill" Browser_SetBlockList_FullMethodName = "/browserscale.v1.Browser/SetBlockList" Browser_SetStaticPaths_FullMethodName = "/browserscale.v1.Browser/SetStaticPaths" Browser_WaitForAnyRequest_FullMethodName = "/browserscale.v1.Browser/WaitForAnyRequest" Browser_WaitForAnyResponse_FullMethodName = "/browserscale.v1.Browser/WaitForAnyResponse" Browser_ModifyRequest_FullMethodName = "/browserscale.v1.Browser/ModifyRequest" Browser_GetCookies_FullMethodName = "/browserscale.v1.Browser/GetCookies" Browser_SetCookies_FullMethodName = "/browserscale.v1.Browser/SetCookies" Browser_ClearCookies_FullMethodName = "/browserscale.v1.Browser/ClearCookies" Browser_GetStorage_FullMethodName = "/browserscale.v1.Browser/GetStorage" Browser_SetStorage_FullMethodName = "/browserscale.v1.Browser/SetStorage" Browser_ClearStorage_FullMethodName = "/browserscale.v1.Browser/ClearStorage" Browser_GetDOM_FullMethodName = "/browserscale.v1.Browser/GetDOM" Browser_GetDOMHash_FullMethodName = "/browserscale.v1.Browser/GetDOMHash" Browser_GetObservation_FullMethodName = "/browserscale.v1.Browser/GetObservation" Browser_InspectAtPosition_FullMethodName = "/browserscale.v1.Browser/InspectAtPosition" Browser_HighlightNode_FullMethodName = "/browserscale.v1.Browser/HighlightNode" Browser_Screenshot_FullMethodName = "/browserscale.v1.Browser/Screenshot" Browser_ReadCanvas_FullMethodName = "/browserscale.v1.Browser/ReadCanvas" Browser_InsertText_FullMethodName = "/browserscale.v1.Browser/InsertText" Browser_PressKey_FullMethodName = "/browserscale.v1.Browser/PressKey" Browser_ReleaseKey_FullMethodName = "/browserscale.v1.Browser/ReleaseKey" Browser_GetSelection_FullMethodName = "/browserscale.v1.Browser/GetSelection" Browser_SolveCaptcha_FullMethodName = "/browserscale.v1.Browser/SolveCaptcha" )
Variables ¶
var Browser_ServiceDesc = grpc.ServiceDesc{ ServiceName: "browserscale.v1.Browser", HandlerType: (*BrowserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetProxy", Handler: _Browser_SetProxy_Handler, }, { MethodName: "GetPages", Handler: _Browser_GetPages_Handler, }, { MethodName: "Navigate", Handler: _Browser_Navigate_Handler, }, { MethodName: "LoadHTML", Handler: _Browser_LoadHTML_Handler, }, { MethodName: "Evaluate", Handler: _Browser_Evaluate_Handler, }, { MethodName: "WaitForAny", Handler: _Browser_WaitForAny_Handler, }, { MethodName: "SelectOption", Handler: _Browser_SelectOption_Handler, }, { MethodName: "ScrollTo", Handler: _Browser_ScrollTo_Handler, }, { MethodName: "MoveTo", Handler: _Browser_MoveTo_Handler, }, { MethodName: "Click", Handler: _Browser_Click_Handler, }, { MethodName: "Drag", Handler: _Browser_Drag_Handler, }, { MethodName: "Fill", Handler: _Browser_Fill_Handler, }, { MethodName: "SetBlockList", Handler: _Browser_SetBlockList_Handler, }, { MethodName: "SetStaticPaths", Handler: _Browser_SetStaticPaths_Handler, }, { MethodName: "WaitForAnyRequest", Handler: _Browser_WaitForAnyRequest_Handler, }, { MethodName: "WaitForAnyResponse", Handler: _Browser_WaitForAnyResponse_Handler, }, { MethodName: "ModifyRequest", Handler: _Browser_ModifyRequest_Handler, }, { MethodName: "GetCookies", Handler: _Browser_GetCookies_Handler, }, { MethodName: "SetCookies", Handler: _Browser_SetCookies_Handler, }, { MethodName: "ClearCookies", Handler: _Browser_ClearCookies_Handler, }, { MethodName: "GetStorage", Handler: _Browser_GetStorage_Handler, }, { MethodName: "SetStorage", Handler: _Browser_SetStorage_Handler, }, { MethodName: "ClearStorage", Handler: _Browser_ClearStorage_Handler, }, { MethodName: "GetDOM", Handler: _Browser_GetDOM_Handler, }, { MethodName: "GetDOMHash", Handler: _Browser_GetDOMHash_Handler, }, { MethodName: "GetObservation", Handler: _Browser_GetObservation_Handler, }, { MethodName: "InspectAtPosition", Handler: _Browser_InspectAtPosition_Handler, }, { MethodName: "HighlightNode", Handler: _Browser_HighlightNode_Handler, }, { MethodName: "Screenshot", Handler: _Browser_Screenshot_Handler, }, { MethodName: "ReadCanvas", Handler: _Browser_ReadCanvas_Handler, }, { MethodName: "InsertText", Handler: _Browser_InsertText_Handler, }, { MethodName: "PressKey", Handler: _Browser_PressKey_Handler, }, { MethodName: "ReleaseKey", Handler: _Browser_ReleaseKey_Handler, }, { MethodName: "GetSelection", Handler: _Browser_GetSelection_Handler, }, { MethodName: "SolveCaptcha", Handler: _Browser_SolveCaptcha_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wrc.proto", }
Browser_ServiceDesc is the grpc.ServiceDesc for Browser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_wrc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBrowserServer ¶
func RegisterBrowserServer(s grpc.ServiceRegistrar, srv BrowserServer)
Types ¶
type BrowserClient ¶
type BrowserClient interface {
// Context-level
SetProxy(ctx context.Context, in *SetProxyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetPages(ctx context.Context, in *GetPagesRequest, opts ...grpc.CallOption) (*GetPagesResponse, error)
// Page navigation / content
LoadHTML(ctx context.Context, in *LoadHTMLRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Evaluation
Evaluate(ctx context.Context, in *EvaluateRequest, opts ...grpc.CallOption) (*EvaluateResponse, error)
// Waiting
WaitForAny(ctx context.Context, in *WaitForAnyParams, opts ...grpc.CallOption) (*WaitResult, error)
// Element actions
SelectOption(ctx context.Context, in *SelectOptionRequest, opts ...grpc.CallOption) (*SelectOptionResult, error)
ScrollTo(ctx context.Context, in *ScrollToRequest, opts ...grpc.CallOption) (*ElementResult, error)
MoveTo(ctx context.Context, in *MoveToRequest, opts ...grpc.CallOption) (*ElementResult, error)
Click(ctx context.Context, in *ClickRequest, opts ...grpc.CallOption) (*ElementResult, error)
Drag(ctx context.Context, in *DragRequest, opts ...grpc.CallOption) (*DragResult, error)
Fill(ctx context.Context, in *FillRequest, opts ...grpc.CallOption) (*ElementResult, error)
// Network interception
SetBlockList(ctx context.Context, in *SetBlockListRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SetStaticPaths(ctx context.Context, in *SetStaticPathsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitForAnyRequest(ctx context.Context, in *WaitForAnyRequestRequest, opts ...grpc.CallOption) (*WaitForAnyRequestResponse, error)
WaitForAnyResponse(ctx context.Context, in *WaitForAnyResponseRequest, opts ...grpc.CallOption) (*WaitForAnyResponseResponse, error)
ModifyRequest(ctx context.Context, in *ModifyRequestRequest, opts ...grpc.CallOption) (*ModifyRequestResponse, error)
// Cookies
GetCookies(ctx context.Context, in *GetCookiesRequest, opts ...grpc.CallOption) (*GetCookiesResponse, error)
SetCookies(ctx context.Context, in *SetCookiesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ClearCookies(ctx context.Context, in *ClearCookiesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Storage (localStorage)
GetStorage(ctx context.Context, in *GetStorageRequest, opts ...grpc.CallOption) (*GetStorageResponse, error)
SetStorage(ctx context.Context, in *SetStorageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ClearStorage(ctx context.Context, in *ClearStorageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// DOM / observation
GetDOM(ctx context.Context, in *GetDOMRequest, opts ...grpc.CallOption) (*GetDOMResponse, error)
GetDOMHash(ctx context.Context, in *GetDOMHashRequest, opts ...grpc.CallOption) (*GetDOMHashResponse, error)
GetObservation(ctx context.Context, in *GetObservationRequest, opts ...grpc.CallOption) (*GetObservationResponse, error)
InspectAtPosition(ctx context.Context, in *InspectAtPositionRequest, opts ...grpc.CallOption) (*InspectAtPositionResponse, error)
HighlightNode(ctx context.Context, in *HighlightNodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Screenshot / capture
Screenshot(ctx context.Context, in *ScreenshotRequest, opts ...grpc.CallOption) (*ScreenshotResponse, error)
ReadCanvas(ctx context.Context, in *ReadCanvasRequest, opts ...grpc.CallOption) (*ReadCanvasResponse, error)
// Keyboard / IME (used by the live browser UI on top of the WebRTC stream)
InsertText(ctx context.Context, in *InsertTextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
PressKey(ctx context.Context, in *PressKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ReleaseKey(ctx context.Context, in *ReleaseKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
GetSelection(ctx context.Context, in *GetSelectionRequest, opts ...grpc.CallOption) (*GetSelectionResponse, error)
// Captcha solver
SolveCaptcha(ctx context.Context, in *SolveCaptchaRequest, opts ...grpc.CallOption) (*SolveCaptchaResponse, error)
}
BrowserClient is the client API for Browser service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBrowserClient ¶
func NewBrowserClient(cc grpc.ClientConnInterface) BrowserClient
type BrowserServer ¶
type BrowserServer interface {
// Context-level
SetProxy(context.Context, *SetProxyRequest) (*emptypb.Empty, error)
GetPages(context.Context, *GetPagesRequest) (*GetPagesResponse, error)
// Page navigation / content
LoadHTML(context.Context, *LoadHTMLRequest) (*emptypb.Empty, error)
// Evaluation
Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
// Waiting
WaitForAny(context.Context, *WaitForAnyParams) (*WaitResult, error)
// Element actions
SelectOption(context.Context, *SelectOptionRequest) (*SelectOptionResult, error)
ScrollTo(context.Context, *ScrollToRequest) (*ElementResult, error)
MoveTo(context.Context, *MoveToRequest) (*ElementResult, error)
Click(context.Context, *ClickRequest) (*ElementResult, error)
Drag(context.Context, *DragRequest) (*DragResult, error)
Fill(context.Context, *FillRequest) (*ElementResult, error)
// Network interception
SetBlockList(context.Context, *SetBlockListRequest) (*emptypb.Empty, error)
SetStaticPaths(context.Context, *SetStaticPathsRequest) (*emptypb.Empty, error)
WaitForAnyRequest(context.Context, *WaitForAnyRequestRequest) (*WaitForAnyRequestResponse, error)
WaitForAnyResponse(context.Context, *WaitForAnyResponseRequest) (*WaitForAnyResponseResponse, error)
ModifyRequest(context.Context, *ModifyRequestRequest) (*ModifyRequestResponse, error)
// Cookies
GetCookies(context.Context, *GetCookiesRequest) (*GetCookiesResponse, error)
SetCookies(context.Context, *SetCookiesRequest) (*emptypb.Empty, error)
ClearCookies(context.Context, *ClearCookiesRequest) (*emptypb.Empty, error)
// Storage (localStorage)
GetStorage(context.Context, *GetStorageRequest) (*GetStorageResponse, error)
SetStorage(context.Context, *SetStorageRequest) (*emptypb.Empty, error)
ClearStorage(context.Context, *ClearStorageRequest) (*emptypb.Empty, error)
// DOM / observation
GetDOM(context.Context, *GetDOMRequest) (*GetDOMResponse, error)
GetDOMHash(context.Context, *GetDOMHashRequest) (*GetDOMHashResponse, error)
GetObservation(context.Context, *GetObservationRequest) (*GetObservationResponse, error)
InspectAtPosition(context.Context, *InspectAtPositionRequest) (*InspectAtPositionResponse, error)
HighlightNode(context.Context, *HighlightNodeRequest) (*emptypb.Empty, error)
// Screenshot / capture
Screenshot(context.Context, *ScreenshotRequest) (*ScreenshotResponse, error)
ReadCanvas(context.Context, *ReadCanvasRequest) (*ReadCanvasResponse, error)
// Keyboard / IME (used by the live browser UI on top of the WebRTC stream)
InsertText(context.Context, *InsertTextRequest) (*emptypb.Empty, error)
PressKey(context.Context, *PressKeyRequest) (*emptypb.Empty, error)
ReleaseKey(context.Context, *ReleaseKeyRequest) (*emptypb.Empty, error)
GetSelection(context.Context, *GetSelectionRequest) (*GetSelectionResponse, error)
// Captcha solver
SolveCaptcha(context.Context, *SolveCaptchaRequest) (*SolveCaptchaResponse, error)
// contains filtered or unexported methods
}
BrowserServer is the server API for Browser service. All implementations must embed UnimplementedBrowserServer for forward compatibility.
type ClearCookiesRequest ¶
type ClearCookiesRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// contains filtered or unexported fields
}
func (*ClearCookiesRequest) Descriptor
deprecated
func (*ClearCookiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearCookiesRequest.ProtoReflect.Descriptor instead.
func (*ClearCookiesRequest) GetApiKey ¶
func (x *ClearCookiesRequest) GetApiKey() string
func (*ClearCookiesRequest) GetSessionId ¶
func (x *ClearCookiesRequest) GetSessionId() string
func (*ClearCookiesRequest) ProtoMessage ¶
func (*ClearCookiesRequest) ProtoMessage()
func (*ClearCookiesRequest) ProtoReflect ¶
func (x *ClearCookiesRequest) ProtoReflect() protoreflect.Message
func (*ClearCookiesRequest) Reset ¶
func (x *ClearCookiesRequest) Reset()
func (*ClearCookiesRequest) String ¶
func (x *ClearCookiesRequest) String() string
type ClearStorageRequest ¶
type ClearStorageRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// If set, only this origin's storage is deleted; otherwise all origins.
Origin *string `protobuf:"bytes,3,opt,name=origin,proto3,oneof" json:"origin,omitempty"`
// contains filtered or unexported fields
}
func (*ClearStorageRequest) Descriptor
deprecated
func (*ClearStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearStorageRequest.ProtoReflect.Descriptor instead.
func (*ClearStorageRequest) GetApiKey ¶
func (x *ClearStorageRequest) GetApiKey() string
func (*ClearStorageRequest) GetOrigin ¶
func (x *ClearStorageRequest) GetOrigin() string
func (*ClearStorageRequest) GetSessionId ¶
func (x *ClearStorageRequest) GetSessionId() string
func (*ClearStorageRequest) ProtoMessage ¶
func (*ClearStorageRequest) ProtoMessage()
func (*ClearStorageRequest) ProtoReflect ¶
func (x *ClearStorageRequest) ProtoReflect() protoreflect.Message
func (*ClearStorageRequest) Reset ¶
func (x *ClearStorageRequest) Reset()
func (*ClearStorageRequest) String ¶
func (x *ClearStorageRequest) String() string
type ClickRequest ¶
type ClickRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// "left" (default), "right", or "middle".
Button *string `protobuf:"bytes,8,opt,name=button,proto3,oneof" json:"button,omitempty"`
// 1 = single click (default), 2 = double click.
ClickCount *int32 `protobuf:"varint,9,opt,name=click_count,json=clickCount,proto3,oneof" json:"click_count,omitempty"`
// Use instead of element locators.
X *float64 `protobuf:"fixed64,10,opt,name=x,proto3,oneof" json:"x,omitempty"`
Y *float64 `protobuf:"fixed64,11,opt,name=y,proto3,oneof" json:"y,omitempty"`
// "click" (default), "press" (mouseDown only), "release" (mouseUp only).
Action *string `protobuf:"bytes,12,opt,name=action,proto3,oneof" json:"action,omitempty"`
// contains filtered or unexported fields
}
func (*ClickRequest) Descriptor
deprecated
func (*ClickRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClickRequest.ProtoReflect.Descriptor instead.
func (*ClickRequest) GetAction ¶
func (x *ClickRequest) GetAction() string
func (*ClickRequest) GetApiKey ¶
func (x *ClickRequest) GetApiKey() string
func (*ClickRequest) GetBackendNodeId ¶
func (x *ClickRequest) GetBackendNodeId() int32
func (*ClickRequest) GetButton ¶
func (x *ClickRequest) GetButton() string
func (*ClickRequest) GetClickCount ¶
func (x *ClickRequest) GetClickCount() int32
func (*ClickRequest) GetFrameId ¶
func (x *ClickRequest) GetFrameId() string
func (*ClickRequest) GetJsExpression ¶
func (x *ClickRequest) GetJsExpression() string
func (*ClickRequest) GetPageId ¶
func (x *ClickRequest) GetPageId() string
func (*ClickRequest) GetSelector ¶
func (x *ClickRequest) GetSelector() string
func (*ClickRequest) GetSessionId ¶
func (x *ClickRequest) GetSessionId() string
func (*ClickRequest) GetX ¶
func (x *ClickRequest) GetX() float64
func (*ClickRequest) GetY ¶
func (x *ClickRequest) GetY() float64
func (*ClickRequest) ProtoMessage ¶
func (*ClickRequest) ProtoMessage()
func (*ClickRequest) ProtoReflect ¶
func (x *ClickRequest) ProtoReflect() protoreflect.Message
func (*ClickRequest) Reset ¶
func (x *ClickRequest) Reset()
func (*ClickRequest) String ¶
func (x *ClickRequest) String() string
type CookieParam ¶
type CookieParam struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Url *string `protobuf:"bytes,3,opt,name=url,proto3,oneof" json:"url,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
Secure *bool `protobuf:"varint,6,opt,name=secure,proto3,oneof" json:"secure,omitempty"`
HttpOnly *bool `protobuf:"varint,7,opt,name=http_only,json=httpOnly,proto3,oneof" json:"http_only,omitempty"`
SameSite *string `protobuf:"bytes,8,opt,name=same_site,json=sameSite,proto3,oneof" json:"same_site,omitempty"`
Expires *float64 `protobuf:"fixed64,9,opt,name=expires,proto3,oneof" json:"expires,omitempty"`
Priority *string `protobuf:"bytes,10,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
SourceScheme *string `protobuf:"bytes,11,opt,name=source_scheme,json=sourceScheme,proto3,oneof" json:"source_scheme,omitempty"`
SourcePort *int32 `protobuf:"varint,12,opt,name=source_port,json=sourcePort,proto3,oneof" json:"source_port,omitempty"`
PartitionKey *CookiePartitionKey `protobuf:"bytes,13,opt,name=partition_key,json=partitionKey,proto3,oneof" json:"partition_key,omitempty"`
// contains filtered or unexported fields
}
func (*CookieParam) Descriptor
deprecated
func (*CookieParam) Descriptor() ([]byte, []int)
Deprecated: Use CookieParam.ProtoReflect.Descriptor instead.
func (*CookieParam) GetDomain ¶
func (x *CookieParam) GetDomain() string
func (*CookieParam) GetExpires ¶
func (x *CookieParam) GetExpires() float64
func (*CookieParam) GetHttpOnly ¶
func (x *CookieParam) GetHttpOnly() bool
func (*CookieParam) GetName ¶
func (x *CookieParam) GetName() string
func (*CookieParam) GetPartitionKey ¶
func (x *CookieParam) GetPartitionKey() *CookiePartitionKey
func (*CookieParam) GetPath ¶
func (x *CookieParam) GetPath() string
func (*CookieParam) GetPriority ¶
func (x *CookieParam) GetPriority() string
func (*CookieParam) GetSameSite ¶
func (x *CookieParam) GetSameSite() string
func (*CookieParam) GetSecure ¶
func (x *CookieParam) GetSecure() bool
func (*CookieParam) GetSourcePort ¶
func (x *CookieParam) GetSourcePort() int32
func (*CookieParam) GetSourceScheme ¶
func (x *CookieParam) GetSourceScheme() string
func (*CookieParam) GetUrl ¶
func (x *CookieParam) GetUrl() string
func (*CookieParam) GetValue ¶
func (x *CookieParam) GetValue() string
func (*CookieParam) ProtoMessage ¶
func (*CookieParam) ProtoMessage()
func (*CookieParam) ProtoReflect ¶
func (x *CookieParam) ProtoReflect() protoreflect.Message
func (*CookieParam) Reset ¶
func (x *CookieParam) Reset()
func (*CookieParam) String ¶
func (x *CookieParam) String() string
type CookiePartitionKey ¶
type CookiePartitionKey struct {
TopLevelSite string `protobuf:"bytes,1,opt,name=top_level_site,json=topLevelSite,proto3" json:"top_level_site,omitempty"`
HasCrossSiteAncestor bool `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CookiePartitionKey) Descriptor
deprecated
func (*CookiePartitionKey) Descriptor() ([]byte, []int)
Deprecated: Use CookiePartitionKey.ProtoReflect.Descriptor instead.
func (*CookiePartitionKey) GetHasCrossSiteAncestor ¶
func (x *CookiePartitionKey) GetHasCrossSiteAncestor() bool
func (*CookiePartitionKey) GetTopLevelSite ¶
func (x *CookiePartitionKey) GetTopLevelSite() string
func (*CookiePartitionKey) ProtoMessage ¶
func (*CookiePartitionKey) ProtoMessage()
func (*CookiePartitionKey) ProtoReflect ¶
func (x *CookiePartitionKey) ProtoReflect() protoreflect.Message
func (*CookiePartitionKey) Reset ¶
func (x *CookiePartitionKey) Reset()
func (*CookiePartitionKey) String ¶
func (x *CookiePartitionKey) String() string
type DragRequest ¶
type DragRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// Offset from pickup point OR absolute root-viewport coordinates.
OffsetX *float64 `protobuf:"fixed64,8,opt,name=offset_x,json=offsetX,proto3,oneof" json:"offset_x,omitempty"`
OffsetY *float64 `protobuf:"fixed64,9,opt,name=offset_y,json=offsetY,proto3,oneof" json:"offset_y,omitempty"`
AbsoluteX *float64 `protobuf:"fixed64,10,opt,name=absolute_x,json=absoluteX,proto3,oneof" json:"absolute_x,omitempty"`
AbsoluteY *float64 `protobuf:"fixed64,11,opt,name=absolute_y,json=absoluteY,proto3,oneof" json:"absolute_y,omitempty"`
// contains filtered or unexported fields
}
func (*DragRequest) Descriptor
deprecated
func (*DragRequest) Descriptor() ([]byte, []int)
Deprecated: Use DragRequest.ProtoReflect.Descriptor instead.
func (*DragRequest) GetAbsoluteX ¶
func (x *DragRequest) GetAbsoluteX() float64
func (*DragRequest) GetAbsoluteY ¶
func (x *DragRequest) GetAbsoluteY() float64
func (*DragRequest) GetApiKey ¶
func (x *DragRequest) GetApiKey() string
func (*DragRequest) GetBackendNodeId ¶
func (x *DragRequest) GetBackendNodeId() int32
func (*DragRequest) GetFrameId ¶
func (x *DragRequest) GetFrameId() string
func (*DragRequest) GetJsExpression ¶
func (x *DragRequest) GetJsExpression() string
func (*DragRequest) GetOffsetX ¶
func (x *DragRequest) GetOffsetX() float64
func (*DragRequest) GetOffsetY ¶
func (x *DragRequest) GetOffsetY() float64
func (*DragRequest) GetPageId ¶
func (x *DragRequest) GetPageId() string
func (*DragRequest) GetSelector ¶
func (x *DragRequest) GetSelector() string
func (*DragRequest) GetSessionId ¶
func (x *DragRequest) GetSessionId() string
func (*DragRequest) ProtoMessage ¶
func (*DragRequest) ProtoMessage()
func (*DragRequest) ProtoReflect ¶
func (x *DragRequest) ProtoReflect() protoreflect.Message
func (*DragRequest) Reset ¶
func (x *DragRequest) Reset()
func (*DragRequest) String ¶
func (x *DragRequest) String() string
type DragResult ¶
type DragResult struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
FrameId string `protobuf:"bytes,2,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
BackendNodeId int32 `protobuf:"varint,3,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
StartX float64 `protobuf:"fixed64,4,opt,name=start_x,json=startX,proto3" json:"start_x,omitempty"`
StartY float64 `protobuf:"fixed64,5,opt,name=start_y,json=startY,proto3" json:"start_y,omitempty"`
EndX float64 `protobuf:"fixed64,6,opt,name=end_x,json=endX,proto3" json:"end_x,omitempty"`
EndY float64 `protobuf:"fixed64,7,opt,name=end_y,json=endY,proto3" json:"end_y,omitempty"`
// contains filtered or unexported fields
}
func (*DragResult) Descriptor
deprecated
func (*DragResult) Descriptor() ([]byte, []int)
Deprecated: Use DragResult.ProtoReflect.Descriptor instead.
func (*DragResult) GetBackendNodeId ¶
func (x *DragResult) GetBackendNodeId() int32
func (*DragResult) GetEndX ¶
func (x *DragResult) GetEndX() float64
func (*DragResult) GetEndY ¶
func (x *DragResult) GetEndY() float64
func (*DragResult) GetFrameId ¶
func (x *DragResult) GetFrameId() string
func (*DragResult) GetStartX ¶
func (x *DragResult) GetStartX() float64
func (*DragResult) GetStartY ¶
func (x *DragResult) GetStartY() float64
func (*DragResult) GetSuccess ¶
func (x *DragResult) GetSuccess() bool
func (*DragResult) ProtoMessage ¶
func (*DragResult) ProtoMessage()
func (*DragResult) ProtoReflect ¶
func (x *DragResult) ProtoReflect() protoreflect.Message
func (*DragResult) Reset ¶
func (x *DragResult) Reset()
func (*DragResult) String ¶
func (x *DragResult) String() string
type ElementResult ¶
type ElementResult struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
FrameId string `protobuf:"bytes,2,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
BackendNodeId int32 `protobuf:"varint,3,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
IsVisible bool `protobuf:"varint,4,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
Bounds *Rect `protobuf:"bytes,5,opt,name=bounds,proto3" json:"bounds,omitempty"`
RootX float64 `protobuf:"fixed64,6,opt,name=root_x,json=rootX,proto3" json:"root_x,omitempty"`
RootY float64 `protobuf:"fixed64,7,opt,name=root_y,json=rootY,proto3" json:"root_y,omitempty"`
// contains filtered or unexported fields
}
func (*ElementResult) Descriptor
deprecated
func (*ElementResult) Descriptor() ([]byte, []int)
Deprecated: Use ElementResult.ProtoReflect.Descriptor instead.
func (*ElementResult) GetBackendNodeId ¶
func (x *ElementResult) GetBackendNodeId() int32
func (*ElementResult) GetBounds ¶
func (x *ElementResult) GetBounds() *Rect
func (*ElementResult) GetFrameId ¶
func (x *ElementResult) GetFrameId() string
func (*ElementResult) GetIsVisible ¶
func (x *ElementResult) GetIsVisible() bool
func (*ElementResult) GetRootX ¶
func (x *ElementResult) GetRootX() float64
func (*ElementResult) GetRootY ¶
func (x *ElementResult) GetRootY() float64
func (*ElementResult) GetSuccess ¶
func (x *ElementResult) GetSuccess() bool
func (*ElementResult) ProtoMessage ¶
func (*ElementResult) ProtoMessage()
func (*ElementResult) ProtoReflect ¶
func (x *ElementResult) ProtoReflect() protoreflect.Message
func (*ElementResult) Reset ¶
func (x *ElementResult) Reset()
func (*ElementResult) String ¶
func (x *ElementResult) String() string
type EvaluateRequest ¶
type EvaluateRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
Expression string `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"`
// Specific frameId or empty/omitted for main frame.
// ALL_FRAMES is not supported here.
FrameId *string `protobuf:"bytes,5,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// contains filtered or unexported fields
}
func (*EvaluateRequest) Descriptor
deprecated
func (*EvaluateRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateRequest.ProtoReflect.Descriptor instead.
func (*EvaluateRequest) GetApiKey ¶
func (x *EvaluateRequest) GetApiKey() string
func (*EvaluateRequest) GetExpression ¶
func (x *EvaluateRequest) GetExpression() string
func (*EvaluateRequest) GetFrameId ¶
func (x *EvaluateRequest) GetFrameId() string
func (*EvaluateRequest) GetPageId ¶
func (x *EvaluateRequest) GetPageId() string
func (*EvaluateRequest) GetSessionId ¶
func (x *EvaluateRequest) GetSessionId() string
func (*EvaluateRequest) ProtoMessage ¶
func (*EvaluateRequest) ProtoMessage()
func (*EvaluateRequest) ProtoReflect ¶
func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
func (*EvaluateRequest) Reset ¶
func (x *EvaluateRequest) Reset()
func (*EvaluateRequest) String ¶
func (x *EvaluateRequest) String() string
type EvaluateResponse ¶
type EvaluateResponse struct {
// JSON-serialized result. Empty for DOM elements or unserializable values.
Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Non-zero if the expression returned a DOM element.
BackendNodeId int32 `protobuf:"varint,2,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
IsVisible bool `protobuf:"varint,3,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
Bounds *Rect `protobuf:"bytes,4,opt,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
func (*EvaluateResponse) Descriptor
deprecated
func (*EvaluateResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateResponse.ProtoReflect.Descriptor instead.
func (*EvaluateResponse) GetBackendNodeId ¶
func (x *EvaluateResponse) GetBackendNodeId() int32
func (*EvaluateResponse) GetBounds ¶
func (x *EvaluateResponse) GetBounds() *Rect
func (*EvaluateResponse) GetIsVisible ¶
func (x *EvaluateResponse) GetIsVisible() bool
func (*EvaluateResponse) GetResult ¶
func (x *EvaluateResponse) GetResult() string
func (*EvaluateResponse) ProtoMessage ¶
func (*EvaluateResponse) ProtoMessage()
func (*EvaluateResponse) ProtoReflect ¶
func (x *EvaluateResponse) ProtoReflect() protoreflect.Message
func (*EvaluateResponse) Reset ¶
func (x *EvaluateResponse) Reset()
func (*EvaluateResponse) String ¶
func (x *EvaluateResponse) String() string
type FillRequest ¶
type FillRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"`
// Clear existing content (Ctrl+A, Delete) before typing. Default false,
// so Fill appends to whatever is already in the field unless this is set.
ClearFirst *bool `protobuf:"varint,9,opt,name=clear_first,json=clearFirst,proto3,oneof" json:"clear_first,omitempty"`
// contains filtered or unexported fields
}
func (*FillRequest) Descriptor
deprecated
func (*FillRequest) Descriptor() ([]byte, []int)
Deprecated: Use FillRequest.ProtoReflect.Descriptor instead.
func (*FillRequest) GetApiKey ¶
func (x *FillRequest) GetApiKey() string
func (*FillRequest) GetBackendNodeId ¶
func (x *FillRequest) GetBackendNodeId() int32
func (*FillRequest) GetClearFirst ¶
func (x *FillRequest) GetClearFirst() bool
func (*FillRequest) GetFrameId ¶
func (x *FillRequest) GetFrameId() string
func (*FillRequest) GetJsExpression ¶
func (x *FillRequest) GetJsExpression() string
func (*FillRequest) GetPageId ¶
func (x *FillRequest) GetPageId() string
func (*FillRequest) GetSelector ¶
func (x *FillRequest) GetSelector() string
func (*FillRequest) GetSessionId ¶
func (x *FillRequest) GetSessionId() string
func (*FillRequest) GetText ¶
func (x *FillRequest) GetText() string
func (*FillRequest) ProtoMessage ¶
func (*FillRequest) ProtoMessage()
func (*FillRequest) ProtoReflect ¶
func (x *FillRequest) ProtoReflect() protoreflect.Message
func (*FillRequest) Reset ¶
func (x *FillRequest) Reset()
func (*FillRequest) String ¶
func (x *FillRequest) String() string
type FrameInfo ¶
type FrameInfo struct {
FrameId string `protobuf:"bytes,1,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
IsOopif bool `protobuf:"varint,3,opt,name=is_oopif,json=isOopif,proto3" json:"is_oopif,omitempty"`
HasJsContext bool `protobuf:"varint,4,opt,name=has_js_context,json=hasJsContext,proto3" json:"has_js_context,omitempty"`
IsLoading bool `protobuf:"varint,5,opt,name=is_loading,json=isLoading,proto3" json:"is_loading,omitempty"`
IsVisible bool `protobuf:"varint,6,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
AbsoluteRect *Rect `protobuf:"bytes,7,opt,name=absolute_rect,json=absoluteRect,proto3" json:"absolute_rect,omitempty"`
RelativeRect *Rect `protobuf:"bytes,8,opt,name=relative_rect,json=relativeRect,proto3" json:"relative_rect,omitempty"`
Children []*FrameInfo `protobuf:"bytes,9,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*FrameInfo) Descriptor
deprecated
func (*FrameInfo) GetAbsoluteRect ¶
func (*FrameInfo) GetChildren ¶
func (*FrameInfo) GetFrameId ¶
func (*FrameInfo) GetHasJsContext ¶
func (*FrameInfo) GetIsLoading ¶
func (*FrameInfo) GetIsOopif ¶
func (*FrameInfo) GetIsVisible ¶
func (*FrameInfo) GetRelativeRect ¶
func (*FrameInfo) ProtoMessage ¶
func (*FrameInfo) ProtoMessage()
func (*FrameInfo) ProtoReflect ¶
func (x *FrameInfo) ProtoReflect() protoreflect.Message
type GetCookiesRequest ¶
type GetCookiesRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// contains filtered or unexported fields
}
func (*GetCookiesRequest) Descriptor
deprecated
func (*GetCookiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCookiesRequest.ProtoReflect.Descriptor instead.
func (*GetCookiesRequest) GetApiKey ¶
func (x *GetCookiesRequest) GetApiKey() string
func (*GetCookiesRequest) GetSessionId ¶
func (x *GetCookiesRequest) GetSessionId() string
func (*GetCookiesRequest) ProtoMessage ¶
func (*GetCookiesRequest) ProtoMessage()
func (*GetCookiesRequest) ProtoReflect ¶
func (x *GetCookiesRequest) ProtoReflect() protoreflect.Message
func (*GetCookiesRequest) Reset ¶
func (x *GetCookiesRequest) Reset()
func (*GetCookiesRequest) String ¶
func (x *GetCookiesRequest) String() string
type GetCookiesResponse ¶
type GetCookiesResponse struct {
Cookies []*CookieParam `protobuf:"bytes,1,rep,name=cookies,proto3" json:"cookies,omitempty"`
// contains filtered or unexported fields
}
func (*GetCookiesResponse) Descriptor
deprecated
func (*GetCookiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCookiesResponse.ProtoReflect.Descriptor instead.
func (*GetCookiesResponse) GetCookies ¶
func (x *GetCookiesResponse) GetCookies() []*CookieParam
func (*GetCookiesResponse) ProtoMessage ¶
func (*GetCookiesResponse) ProtoMessage()
func (*GetCookiesResponse) ProtoReflect ¶
func (x *GetCookiesResponse) ProtoReflect() protoreflect.Message
func (*GetCookiesResponse) Reset ¶
func (x *GetCookiesResponse) Reset()
func (*GetCookiesResponse) String ¶
func (x *GetCookiesResponse) String() string
type GetDOMHashRequest ¶
type GetDOMHashRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
FrameId *string `protobuf:"bytes,4,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// contains filtered or unexported fields
}
GetDOMHash is a cheap polling endpoint for change-detection. The server computes sha256[:8] of the full-tree DOM JSON and returns just that.
func (*GetDOMHashRequest) Descriptor
deprecated
func (*GetDOMHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDOMHashRequest.ProtoReflect.Descriptor instead.
func (*GetDOMHashRequest) GetApiKey ¶
func (x *GetDOMHashRequest) GetApiKey() string
func (*GetDOMHashRequest) GetFrameId ¶
func (x *GetDOMHashRequest) GetFrameId() string
func (*GetDOMHashRequest) GetPageId ¶
func (x *GetDOMHashRequest) GetPageId() string
func (*GetDOMHashRequest) GetSessionId ¶
func (x *GetDOMHashRequest) GetSessionId() string
func (*GetDOMHashRequest) ProtoMessage ¶
func (*GetDOMHashRequest) ProtoMessage()
func (*GetDOMHashRequest) ProtoReflect ¶
func (x *GetDOMHashRequest) ProtoReflect() protoreflect.Message
func (*GetDOMHashRequest) Reset ¶
func (x *GetDOMHashRequest) Reset()
func (*GetDOMHashRequest) String ¶
func (x *GetDOMHashRequest) String() string
type GetDOMHashResponse ¶
type GetDOMHashResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*GetDOMHashResponse) Descriptor
deprecated
func (*GetDOMHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDOMHashResponse.ProtoReflect.Descriptor instead.
func (*GetDOMHashResponse) GetHash ¶
func (x *GetDOMHashResponse) GetHash() string
func (*GetDOMHashResponse) ProtoMessage ¶
func (*GetDOMHashResponse) ProtoMessage()
func (*GetDOMHashResponse) ProtoReflect ¶
func (x *GetDOMHashResponse) ProtoReflect() protoreflect.Message
func (*GetDOMHashResponse) Reset ¶
func (x *GetDOMHashResponse) Reset()
func (*GetDOMHashResponse) String ¶
func (x *GetDOMHashResponse) String() string
type GetDOMRequest ¶
type GetDOMRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
FrameId *string `protobuf:"bytes,4,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// -1 = full tree (default), 0 = root only, N = root + N descendant levels.
Depth *int32 `protobuf:"varint,5,opt,name=depth,proto3,oneof" json:"depth,omitempty"`
// contains filtered or unexported fields
}
func (*GetDOMRequest) Descriptor
deprecated
func (*GetDOMRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDOMRequest.ProtoReflect.Descriptor instead.
func (*GetDOMRequest) GetApiKey ¶
func (x *GetDOMRequest) GetApiKey() string
func (*GetDOMRequest) GetDepth ¶
func (x *GetDOMRequest) GetDepth() int32
func (*GetDOMRequest) GetFrameId ¶
func (x *GetDOMRequest) GetFrameId() string
func (*GetDOMRequest) GetPageId ¶
func (x *GetDOMRequest) GetPageId() string
func (*GetDOMRequest) GetSessionId ¶
func (x *GetDOMRequest) GetSessionId() string
func (*GetDOMRequest) ProtoMessage ¶
func (*GetDOMRequest) ProtoMessage()
func (*GetDOMRequest) ProtoReflect ¶
func (x *GetDOMRequest) ProtoReflect() protoreflect.Message
func (*GetDOMRequest) Reset ¶
func (x *GetDOMRequest) Reset()
func (*GetDOMRequest) String ¶
func (x *GetDOMRequest) String() string
type GetDOMResponse ¶
type GetDOMResponse struct {
// JSON string in CDP DOM.Node shape (root is the Document node).
Dom string `protobuf:"bytes,1,opt,name=dom,proto3" json:"dom,omitempty"`
// contains filtered or unexported fields
}
func (*GetDOMResponse) Descriptor
deprecated
func (*GetDOMResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDOMResponse.ProtoReflect.Descriptor instead.
func (*GetDOMResponse) GetDom ¶
func (x *GetDOMResponse) GetDom() string
func (*GetDOMResponse) ProtoMessage ¶
func (*GetDOMResponse) ProtoMessage()
func (*GetDOMResponse) ProtoReflect ¶
func (x *GetDOMResponse) ProtoReflect() protoreflect.Message
func (*GetDOMResponse) Reset ¶
func (x *GetDOMResponse) Reset()
func (*GetDOMResponse) String ¶
func (x *GetDOMResponse) String() string
type GetObservationRequest ¶
type GetObservationRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// Default 500.
MaxElementsPerFrame *int32 `` /* 129-byte string literal not displayed */
// Default 240.
MaxTextLength *int32 `protobuf:"varint,5,opt,name=max_text_length,json=maxTextLength,proto3,oneof" json:"max_text_length,omitempty"`
// contains filtered or unexported fields
}
func (*GetObservationRequest) Descriptor
deprecated
func (*GetObservationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObservationRequest.ProtoReflect.Descriptor instead.
func (*GetObservationRequest) GetApiKey ¶
func (x *GetObservationRequest) GetApiKey() string
func (*GetObservationRequest) GetMaxElementsPerFrame ¶
func (x *GetObservationRequest) GetMaxElementsPerFrame() int32
func (*GetObservationRequest) GetMaxTextLength ¶
func (x *GetObservationRequest) GetMaxTextLength() int32
func (*GetObservationRequest) GetPageId ¶
func (x *GetObservationRequest) GetPageId() string
func (*GetObservationRequest) GetSessionId ¶
func (x *GetObservationRequest) GetSessionId() string
func (*GetObservationRequest) ProtoMessage ¶
func (*GetObservationRequest) ProtoMessage()
func (*GetObservationRequest) ProtoReflect ¶
func (x *GetObservationRequest) ProtoReflect() protoreflect.Message
func (*GetObservationRequest) Reset ¶
func (x *GetObservationRequest) Reset()
func (*GetObservationRequest) String ¶
func (x *GetObservationRequest) String() string
type GetObservationResponse ¶
type GetObservationResponse struct {
// Compact plain-text observation intended for LLM context.
ObservationText string `protobuf:"bytes,1,opt,name=observation_text,json=observationText,proto3" json:"observation_text,omitempty"`
// Structured JSON with frames, elements, counts, and limits.
ObservationJson string `protobuf:"bytes,2,opt,name=observation_json,json=observationJson,proto3" json:"observation_json,omitempty"`
// contains filtered or unexported fields
}
func (*GetObservationResponse) Descriptor
deprecated
func (*GetObservationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObservationResponse.ProtoReflect.Descriptor instead.
func (*GetObservationResponse) GetObservationJson ¶
func (x *GetObservationResponse) GetObservationJson() string
func (*GetObservationResponse) GetObservationText ¶
func (x *GetObservationResponse) GetObservationText() string
func (*GetObservationResponse) ProtoMessage ¶
func (*GetObservationResponse) ProtoMessage()
func (*GetObservationResponse) ProtoReflect ¶
func (x *GetObservationResponse) ProtoReflect() protoreflect.Message
func (*GetObservationResponse) Reset ¶
func (x *GetObservationResponse) Reset()
func (*GetObservationResponse) String ¶
func (x *GetObservationResponse) String() string
type GetPagesRequest ¶
type GetPagesRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// contains filtered or unexported fields
}
func (*GetPagesRequest) Descriptor
deprecated
func (*GetPagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPagesRequest.ProtoReflect.Descriptor instead.
func (*GetPagesRequest) GetApiKey ¶
func (x *GetPagesRequest) GetApiKey() string
func (*GetPagesRequest) GetSessionId ¶
func (x *GetPagesRequest) GetSessionId() string
func (*GetPagesRequest) ProtoMessage ¶
func (*GetPagesRequest) ProtoMessage()
func (*GetPagesRequest) ProtoReflect ¶
func (x *GetPagesRequest) ProtoReflect() protoreflect.Message
func (*GetPagesRequest) Reset ¶
func (x *GetPagesRequest) Reset()
func (*GetPagesRequest) String ¶
func (x *GetPagesRequest) String() string
type GetPagesResponse ¶
type GetPagesResponse struct {
Pages []*PageInfo `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
// contains filtered or unexported fields
}
func (*GetPagesResponse) Descriptor
deprecated
func (*GetPagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPagesResponse.ProtoReflect.Descriptor instead.
func (*GetPagesResponse) GetPages ¶
func (x *GetPagesResponse) GetPages() []*PageInfo
func (*GetPagesResponse) ProtoMessage ¶
func (*GetPagesResponse) ProtoMessage()
func (*GetPagesResponse) ProtoReflect ¶
func (x *GetPagesResponse) ProtoReflect() protoreflect.Message
func (*GetPagesResponse) Reset ¶
func (x *GetPagesResponse) Reset()
func (*GetPagesResponse) String ¶
func (x *GetPagesResponse) String() string
type GetSelectionRequest ¶
type GetSelectionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSelectionRequest) Descriptor
deprecated
func (*GetSelectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSelectionRequest.ProtoReflect.Descriptor instead.
func (*GetSelectionRequest) GetApiKey ¶
func (x *GetSelectionRequest) GetApiKey() string
func (*GetSelectionRequest) GetPageId ¶
func (x *GetSelectionRequest) GetPageId() string
func (*GetSelectionRequest) GetSessionId ¶
func (x *GetSelectionRequest) GetSessionId() string
func (*GetSelectionRequest) ProtoMessage ¶
func (*GetSelectionRequest) ProtoMessage()
func (*GetSelectionRequest) ProtoReflect ¶
func (x *GetSelectionRequest) ProtoReflect() protoreflect.Message
func (*GetSelectionRequest) Reset ¶
func (x *GetSelectionRequest) Reset()
func (*GetSelectionRequest) String ¶
func (x *GetSelectionRequest) String() string
type GetSelectionResponse ¶
type GetSelectionResponse struct {
// Empty if nothing is selected on the page.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
func (*GetSelectionResponse) Descriptor
deprecated
func (*GetSelectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSelectionResponse.ProtoReflect.Descriptor instead.
func (*GetSelectionResponse) GetText ¶
func (x *GetSelectionResponse) GetText() string
func (*GetSelectionResponse) ProtoMessage ¶
func (*GetSelectionResponse) ProtoMessage()
func (*GetSelectionResponse) ProtoReflect ¶
func (x *GetSelectionResponse) ProtoReflect() protoreflect.Message
func (*GetSelectionResponse) Reset ¶
func (x *GetSelectionResponse) Reset()
func (*GetSelectionResponse) String ¶
func (x *GetSelectionResponse) String() string
type GetStorageRequest ¶
type GetStorageRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// If set, only this origin is returned (e.g. "https://example.com").
// Otherwise all origins with localStorage data are returned.
Origin *string `protobuf:"bytes,3,opt,name=origin,proto3,oneof" json:"origin,omitempty"`
// contains filtered or unexported fields
}
func (*GetStorageRequest) Descriptor
deprecated
func (*GetStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStorageRequest.ProtoReflect.Descriptor instead.
func (*GetStorageRequest) GetApiKey ¶
func (x *GetStorageRequest) GetApiKey() string
func (*GetStorageRequest) GetOrigin ¶
func (x *GetStorageRequest) GetOrigin() string
func (*GetStorageRequest) GetSessionId ¶
func (x *GetStorageRequest) GetSessionId() string
func (*GetStorageRequest) ProtoMessage ¶
func (*GetStorageRequest) ProtoMessage()
func (*GetStorageRequest) ProtoReflect ¶
func (x *GetStorageRequest) ProtoReflect() protoreflect.Message
func (*GetStorageRequest) Reset ¶
func (x *GetStorageRequest) Reset()
func (*GetStorageRequest) String ¶
func (x *GetStorageRequest) String() string
type GetStorageResponse ¶
type GetStorageResponse struct {
// localStorage entries grouped by origin.
Storage []*StorageOriginEntry `protobuf:"bytes,1,rep,name=storage,proto3" json:"storage,omitempty"`
// contains filtered or unexported fields
}
func (*GetStorageResponse) Descriptor
deprecated
func (*GetStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStorageResponse.ProtoReflect.Descriptor instead.
func (*GetStorageResponse) GetStorage ¶
func (x *GetStorageResponse) GetStorage() []*StorageOriginEntry
func (*GetStorageResponse) ProtoMessage ¶
func (*GetStorageResponse) ProtoMessage()
func (*GetStorageResponse) ProtoReflect ¶
func (x *GetStorageResponse) ProtoReflect() protoreflect.Message
func (*GetStorageResponse) Reset ¶
func (x *GetStorageResponse) Reset()
func (*GetStorageResponse) String ¶
func (x *GetStorageResponse) String() string
type Header ¶
type Header struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Header) Descriptor
deprecated
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type HeaderModification ¶
type HeaderModification struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
// "add" | "edit" | "remove"
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
Before *string `protobuf:"bytes,4,opt,name=before,proto3,oneof" json:"before,omitempty"`
After *string `protobuf:"bytes,5,opt,name=after,proto3,oneof" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*HeaderModification) Descriptor
deprecated
func (*HeaderModification) Descriptor() ([]byte, []int)
Deprecated: Use HeaderModification.ProtoReflect.Descriptor instead.
func (*HeaderModification) GetAction ¶
func (x *HeaderModification) GetAction() string
func (*HeaderModification) GetAfter ¶
func (x *HeaderModification) GetAfter() string
func (*HeaderModification) GetBefore ¶
func (x *HeaderModification) GetBefore() string
func (*HeaderModification) GetName ¶
func (x *HeaderModification) GetName() string
func (*HeaderModification) GetValue ¶
func (x *HeaderModification) GetValue() string
func (*HeaderModification) ProtoMessage ¶
func (*HeaderModification) ProtoMessage()
func (*HeaderModification) ProtoReflect ¶
func (x *HeaderModification) ProtoReflect() protoreflect.Message
func (*HeaderModification) Reset ¶
func (x *HeaderModification) Reset()
func (*HeaderModification) String ¶
func (x *HeaderModification) String() string
type HighlightNodeRequest ¶
type HighlightNodeRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// <= 0 clears all highlights.
BackendNodeId int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
FrameId *string `protobuf:"bytes,5,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// contains filtered or unexported fields
}
func (*HighlightNodeRequest) Descriptor
deprecated
func (*HighlightNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use HighlightNodeRequest.ProtoReflect.Descriptor instead.
func (*HighlightNodeRequest) GetApiKey ¶
func (x *HighlightNodeRequest) GetApiKey() string
func (*HighlightNodeRequest) GetBackendNodeId ¶
func (x *HighlightNodeRequest) GetBackendNodeId() int32
func (*HighlightNodeRequest) GetFrameId ¶
func (x *HighlightNodeRequest) GetFrameId() string
func (*HighlightNodeRequest) GetPageId ¶
func (x *HighlightNodeRequest) GetPageId() string
func (*HighlightNodeRequest) GetSessionId ¶
func (x *HighlightNodeRequest) GetSessionId() string
func (*HighlightNodeRequest) ProtoMessage ¶
func (*HighlightNodeRequest) ProtoMessage()
func (*HighlightNodeRequest) ProtoReflect ¶
func (x *HighlightNodeRequest) ProtoReflect() protoreflect.Message
func (*HighlightNodeRequest) Reset ¶
func (x *HighlightNodeRequest) Reset()
func (*HighlightNodeRequest) String ¶
func (x *HighlightNodeRequest) String() string
type InsertTextRequest ¶
type InsertTextRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
IME-style text insertion at the current cursor position — no individual key events. Targets whatever element currently has focus.
func (*InsertTextRequest) Descriptor
deprecated
func (*InsertTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertTextRequest.ProtoReflect.Descriptor instead.
func (*InsertTextRequest) GetApiKey ¶
func (x *InsertTextRequest) GetApiKey() string
func (*InsertTextRequest) GetPageId ¶
func (x *InsertTextRequest) GetPageId() string
func (*InsertTextRequest) GetSessionId ¶
func (x *InsertTextRequest) GetSessionId() string
func (*InsertTextRequest) GetText ¶
func (x *InsertTextRequest) GetText() string
func (*InsertTextRequest) ProtoMessage ¶
func (*InsertTextRequest) ProtoMessage()
func (*InsertTextRequest) ProtoReflect ¶
func (x *InsertTextRequest) ProtoReflect() protoreflect.Message
func (*InsertTextRequest) Reset ¶
func (x *InsertTextRequest) Reset()
func (*InsertTextRequest) String ¶
func (x *InsertTextRequest) String() string
type InspectAtPositionRequest ¶
type InspectAtPositionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// Viewport-relative CSS pixels.
X float64 `protobuf:"fixed64,4,opt,name=x,proto3" json:"x,omitempty"`
Y float64 `protobuf:"fixed64,5,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
func (*InspectAtPositionRequest) Descriptor
deprecated
func (*InspectAtPositionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectAtPositionRequest.ProtoReflect.Descriptor instead.
func (*InspectAtPositionRequest) GetApiKey ¶
func (x *InspectAtPositionRequest) GetApiKey() string
func (*InspectAtPositionRequest) GetPageId ¶
func (x *InspectAtPositionRequest) GetPageId() string
func (*InspectAtPositionRequest) GetSessionId ¶
func (x *InspectAtPositionRequest) GetSessionId() string
func (*InspectAtPositionRequest) GetX ¶
func (x *InspectAtPositionRequest) GetX() float64
func (*InspectAtPositionRequest) GetY ¶
func (x *InspectAtPositionRequest) GetY() float64
func (*InspectAtPositionRequest) ProtoMessage ¶
func (*InspectAtPositionRequest) ProtoMessage()
func (*InspectAtPositionRequest) ProtoReflect ¶
func (x *InspectAtPositionRequest) ProtoReflect() protoreflect.Message
func (*InspectAtPositionRequest) Reset ¶
func (x *InspectAtPositionRequest) Reset()
func (*InspectAtPositionRequest) String ¶
func (x *InspectAtPositionRequest) String() string
type InspectAtPositionResponse ¶
type InspectAtPositionResponse struct {
// 0 if nothing was found at (x, y).
BackendNodeId int32 `protobuf:"varint,1,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
FrameId string `protobuf:"bytes,2,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
// Trimmed text content (max ~200 chars, server-imposed).
TextContent string `protobuf:"bytes,4,opt,name=text_content,json=textContent,proto3" json:"text_content,omitempty"`
IsVisible bool `protobuf:"varint,5,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
Bounds *Rect `protobuf:"bytes,6,opt,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
func (*InspectAtPositionResponse) Descriptor
deprecated
func (*InspectAtPositionResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectAtPositionResponse.ProtoReflect.Descriptor instead.
func (*InspectAtPositionResponse) GetBackendNodeId ¶
func (x *InspectAtPositionResponse) GetBackendNodeId() int32
func (*InspectAtPositionResponse) GetBounds ¶
func (x *InspectAtPositionResponse) GetBounds() *Rect
func (*InspectAtPositionResponse) GetFrameId ¶
func (x *InspectAtPositionResponse) GetFrameId() string
func (*InspectAtPositionResponse) GetIsVisible ¶
func (x *InspectAtPositionResponse) GetIsVisible() bool
func (*InspectAtPositionResponse) GetTagName ¶
func (x *InspectAtPositionResponse) GetTagName() string
func (*InspectAtPositionResponse) GetTextContent ¶
func (x *InspectAtPositionResponse) GetTextContent() string
func (*InspectAtPositionResponse) ProtoMessage ¶
func (*InspectAtPositionResponse) ProtoMessage()
func (*InspectAtPositionResponse) ProtoReflect ¶
func (x *InspectAtPositionResponse) ProtoReflect() protoreflect.Message
func (*InspectAtPositionResponse) Reset ¶
func (x *InspectAtPositionResponse) Reset()
func (*InspectAtPositionResponse) String ¶
func (x *InspectAtPositionResponse) String() string
type InterceptedRequest ¶
type InterceptedRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
ResourceType string `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// contains filtered or unexported fields
}
func (*InterceptedRequest) Descriptor
deprecated
func (*InterceptedRequest) Descriptor() ([]byte, []int)
Deprecated: Use InterceptedRequest.ProtoReflect.Descriptor instead.
func (*InterceptedRequest) GetBody ¶
func (x *InterceptedRequest) GetBody() string
func (*InterceptedRequest) GetHeaders ¶
func (x *InterceptedRequest) GetHeaders() []*Header
func (*InterceptedRequest) GetMethod ¶
func (x *InterceptedRequest) GetMethod() string
func (*InterceptedRequest) GetResourceType ¶
func (x *InterceptedRequest) GetResourceType() string
func (*InterceptedRequest) GetUrl ¶
func (x *InterceptedRequest) GetUrl() string
func (*InterceptedRequest) ProtoMessage ¶
func (*InterceptedRequest) ProtoMessage()
func (*InterceptedRequest) ProtoReflect ¶
func (x *InterceptedRequest) ProtoReflect() protoreflect.Message
func (*InterceptedRequest) Reset ¶
func (x *InterceptedRequest) Reset()
func (*InterceptedRequest) String ¶
func (x *InterceptedRequest) String() string
type InterceptedResponse ¶
type InterceptedResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*InterceptedResponse) Descriptor
deprecated
func (*InterceptedResponse) Descriptor() ([]byte, []int)
Deprecated: Use InterceptedResponse.ProtoReflect.Descriptor instead.
func (*InterceptedResponse) GetBody ¶
func (x *InterceptedResponse) GetBody() string
func (*InterceptedResponse) GetHeaders ¶
func (x *InterceptedResponse) GetHeaders() []*Header
func (*InterceptedResponse) GetStatusCode ¶
func (x *InterceptedResponse) GetStatusCode() int32
func (*InterceptedResponse) GetUrl ¶
func (x *InterceptedResponse) GetUrl() string
func (*InterceptedResponse) ProtoMessage ¶
func (*InterceptedResponse) ProtoMessage()
func (*InterceptedResponse) ProtoReflect ¶
func (x *InterceptedResponse) ProtoReflect() protoreflect.Message
func (*InterceptedResponse) Reset ¶
func (x *InterceptedResponse) Reset()
func (*InterceptedResponse) String ¶
func (x *InterceptedResponse) String() string
type LoadHTMLRequest ¶
type LoadHTMLRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
Html string `protobuf:"bytes,5,opt,name=html,proto3" json:"html,omitempty"`
Headers []*Header `protobuf:"bytes,6,rep,name=headers,proto3" json:"headers,omitempty"`
StatusCode *int32 `protobuf:"varint,7,opt,name=status_code,json=statusCode,proto3,oneof" json:"status_code,omitempty"`
// contains filtered or unexported fields
}
func (*LoadHTMLRequest) Descriptor
deprecated
func (*LoadHTMLRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadHTMLRequest.ProtoReflect.Descriptor instead.
func (*LoadHTMLRequest) GetApiKey ¶
func (x *LoadHTMLRequest) GetApiKey() string
func (*LoadHTMLRequest) GetHeaders ¶
func (x *LoadHTMLRequest) GetHeaders() []*Header
func (*LoadHTMLRequest) GetHtml ¶
func (x *LoadHTMLRequest) GetHtml() string
func (*LoadHTMLRequest) GetPageId ¶
func (x *LoadHTMLRequest) GetPageId() string
func (*LoadHTMLRequest) GetSessionId ¶
func (x *LoadHTMLRequest) GetSessionId() string
func (*LoadHTMLRequest) GetStatusCode ¶
func (x *LoadHTMLRequest) GetStatusCode() int32
func (*LoadHTMLRequest) GetUrl ¶
func (x *LoadHTMLRequest) GetUrl() string
func (*LoadHTMLRequest) ProtoMessage ¶
func (*LoadHTMLRequest) ProtoMessage()
func (*LoadHTMLRequest) ProtoReflect ¶
func (x *LoadHTMLRequest) ProtoReflect() protoreflect.Message
func (*LoadHTMLRequest) Reset ¶
func (x *LoadHTMLRequest) Reset()
func (*LoadHTMLRequest) String ¶
func (x *LoadHTMLRequest) String() string
type ModifyRequestRequest ¶
type ModifyRequestRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
UrlPattern string `protobuf:"bytes,3,opt,name=url_pattern,json=urlPattern,proto3" json:"url_pattern,omitempty"`
Modifications []*HeaderModification `protobuf:"bytes,4,rep,name=modifications,proto3" json:"modifications,omitempty"`
// Override POST/PUT/PATCH body. Empty = no body change.
Body *string `protobuf:"bytes,5,opt,name=body,proto3,oneof" json:"body,omitempty"`
Timeout *float64 `protobuf:"fixed64,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*ModifyRequestRequest) Descriptor
deprecated
func (*ModifyRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyRequestRequest.ProtoReflect.Descriptor instead.
func (*ModifyRequestRequest) GetApiKey ¶
func (x *ModifyRequestRequest) GetApiKey() string
func (*ModifyRequestRequest) GetBody ¶
func (x *ModifyRequestRequest) GetBody() string
func (*ModifyRequestRequest) GetModifications ¶
func (x *ModifyRequestRequest) GetModifications() []*HeaderModification
func (*ModifyRequestRequest) GetSessionId ¶
func (x *ModifyRequestRequest) GetSessionId() string
func (*ModifyRequestRequest) GetTimeout ¶
func (x *ModifyRequestRequest) GetTimeout() float64
func (*ModifyRequestRequest) GetUrlPattern ¶
func (x *ModifyRequestRequest) GetUrlPattern() string
func (*ModifyRequestRequest) ProtoMessage ¶
func (*ModifyRequestRequest) ProtoMessage()
func (*ModifyRequestRequest) ProtoReflect ¶
func (x *ModifyRequestRequest) ProtoReflect() protoreflect.Message
func (*ModifyRequestRequest) Reset ¶
func (x *ModifyRequestRequest) Reset()
func (*ModifyRequestRequest) String ¶
func (x *ModifyRequestRequest) String() string
type ModifyRequestResponse ¶
type ModifyRequestResponse struct {
Request *InterceptedRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
func (*ModifyRequestResponse) Descriptor
deprecated
func (*ModifyRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyRequestResponse.ProtoReflect.Descriptor instead.
func (*ModifyRequestResponse) GetRequest ¶
func (x *ModifyRequestResponse) GetRequest() *InterceptedRequest
func (*ModifyRequestResponse) ProtoMessage ¶
func (*ModifyRequestResponse) ProtoMessage()
func (*ModifyRequestResponse) ProtoReflect ¶
func (x *ModifyRequestResponse) ProtoReflect() protoreflect.Message
func (*ModifyRequestResponse) Reset ¶
func (x *ModifyRequestResponse) Reset()
func (*ModifyRequestResponse) String ¶
func (x *ModifyRequestResponse) String() string
type MoveToRequest ¶
type MoveToRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// Use instead of element locators.
X *float64 `protobuf:"fixed64,8,opt,name=x,proto3,oneof" json:"x,omitempty"`
Y *float64 `protobuf:"fixed64,9,opt,name=y,proto3,oneof" json:"y,omitempty"`
// contains filtered or unexported fields
}
func (*MoveToRequest) Descriptor
deprecated
func (*MoveToRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveToRequest.ProtoReflect.Descriptor instead.
func (*MoveToRequest) GetApiKey ¶
func (x *MoveToRequest) GetApiKey() string
func (*MoveToRequest) GetBackendNodeId ¶
func (x *MoveToRequest) GetBackendNodeId() int32
func (*MoveToRequest) GetFrameId ¶
func (x *MoveToRequest) GetFrameId() string
func (*MoveToRequest) GetJsExpression ¶
func (x *MoveToRequest) GetJsExpression() string
func (*MoveToRequest) GetPageId ¶
func (x *MoveToRequest) GetPageId() string
func (*MoveToRequest) GetSelector ¶
func (x *MoveToRequest) GetSelector() string
func (*MoveToRequest) GetSessionId ¶
func (x *MoveToRequest) GetSessionId() string
func (*MoveToRequest) GetX ¶
func (x *MoveToRequest) GetX() float64
func (*MoveToRequest) GetY ¶
func (x *MoveToRequest) GetY() float64
func (*MoveToRequest) ProtoMessage ¶
func (*MoveToRequest) ProtoMessage()
func (*MoveToRequest) ProtoReflect ¶
func (x *MoveToRequest) ProtoReflect() protoreflect.Message
func (*MoveToRequest) Reset ¶
func (x *MoveToRequest) Reset()
func (*MoveToRequest) String ¶
func (x *MoveToRequest) String() string
type NavigateRequest ¶
type NavigateRequest struct {
// contains filtered or unexported fields
}
func (*NavigateRequest) Descriptor
deprecated
func (*NavigateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NavigateRequest.ProtoReflect.Descriptor instead.
func (*NavigateRequest) GetApiKey ¶
func (x *NavigateRequest) GetApiKey() string
func (*NavigateRequest) GetPageId ¶
func (x *NavigateRequest) GetPageId() string
func (*NavigateRequest) GetReferrer ¶
func (x *NavigateRequest) GetReferrer() string
func (*NavigateRequest) GetSessionId ¶
func (x *NavigateRequest) GetSessionId() string
func (*NavigateRequest) GetTimeout ¶
func (x *NavigateRequest) GetTimeout() float64
func (*NavigateRequest) GetUrl ¶
func (x *NavigateRequest) GetUrl() string
func (*NavigateRequest) ProtoMessage ¶
func (*NavigateRequest) ProtoMessage()
func (*NavigateRequest) ProtoReflect ¶
func (x *NavigateRequest) ProtoReflect() protoreflect.Message
func (*NavigateRequest) Reset ¶
func (x *NavigateRequest) Reset()
func (*NavigateRequest) String ¶
func (x *NavigateRequest) String() string
type NavigateResponse ¶
type NavigateResponse struct {
// contains filtered or unexported fields
}
func (*NavigateResponse) Descriptor
deprecated
func (*NavigateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NavigateResponse.ProtoReflect.Descriptor instead.
func (*NavigateResponse) GetFrameId ¶
func (x *NavigateResponse) GetFrameId() string
func (*NavigateResponse) GetUrl ¶
func (x *NavigateResponse) GetUrl() string
func (*NavigateResponse) ProtoMessage ¶
func (*NavigateResponse) ProtoMessage()
func (*NavigateResponse) ProtoReflect ¶
func (x *NavigateResponse) ProtoReflect() protoreflect.Message
func (*NavigateResponse) Reset ¶
func (x *NavigateResponse) Reset()
func (*NavigateResponse) String ¶
func (x *NavigateResponse) String() string
type PageInfo ¶
type PageInfo struct {
PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BrowserContextId string `protobuf:"bytes,2,opt,name=browser_context_id,json=browserContextId,proto3" json:"browser_context_id,omitempty"`
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Viewport *Rect `protobuf:"bytes,5,opt,name=viewport,proto3" json:"viewport,omitempty"`
FrameTree *FrameInfo `protobuf:"bytes,6,opt,name=frame_tree,json=frameTree,proto3" json:"frame_tree,omitempty"`
// contains filtered or unexported fields
}
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetBrowserContextId ¶
func (*PageInfo) GetFrameTree ¶
func (*PageInfo) GetViewport ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type PressKeyRequest ¶
type PressKeyRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// DOM key value (e.g. "a", "Enter", "ArrowDown", "Shift").
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
// DOM code value (e.g. "KeyA", "Enter", "ArrowDown", "ShiftLeft").
Code *string `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"`
// Bit flags: Alt=1, Ctrl=2, Meta=4, Shift=8.
Modifiers *int32 `protobuf:"varint,6,opt,name=modifiers,proto3,oneof" json:"modifiers,omitempty"`
// DOM KeyboardEvent.location (0=standard, 1=left, 2=right, 3=numpad).
Location *int32 `protobuf:"varint,7,opt,name=location,proto3,oneof" json:"location,omitempty"`
// contains filtered or unexported fields
}
Fires a single key-down (PressKey) or key-up (ReleaseKey) event. For full press cycles (down + char + up) call PressKey followed by ReleaseKey, or use one of the higher-level typing helpers in the SDK.
func (*PressKeyRequest) Descriptor
deprecated
func (*PressKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PressKeyRequest.ProtoReflect.Descriptor instead.
func (*PressKeyRequest) GetApiKey ¶
func (x *PressKeyRequest) GetApiKey() string
func (*PressKeyRequest) GetCode ¶
func (x *PressKeyRequest) GetCode() string
func (*PressKeyRequest) GetKey ¶
func (x *PressKeyRequest) GetKey() string
func (*PressKeyRequest) GetLocation ¶
func (x *PressKeyRequest) GetLocation() int32
func (*PressKeyRequest) GetModifiers ¶
func (x *PressKeyRequest) GetModifiers() int32
func (*PressKeyRequest) GetPageId ¶
func (x *PressKeyRequest) GetPageId() string
func (*PressKeyRequest) GetSessionId ¶
func (x *PressKeyRequest) GetSessionId() string
func (*PressKeyRequest) ProtoMessage ¶
func (*PressKeyRequest) ProtoMessage()
func (*PressKeyRequest) ProtoReflect ¶
func (x *PressKeyRequest) ProtoReflect() protoreflect.Message
func (*PressKeyRequest) Reset ¶
func (x *PressKeyRequest) Reset()
func (*PressKeyRequest) String ¶
func (x *PressKeyRequest) String() string
type ReadCanvasRequest ¶ added in v1.1.0
type ReadCanvasRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
// Specific frameId, empty/omitted for main frame, or "ALL_FRAMES".
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// Output encoding: "png" (default), "jpeg", "webp", or "rgba" for the raw
// unpremultiplied RGBA pixel buffer.
Format *string `protobuf:"bytes,8,opt,name=format,proto3,oneof" json:"format,omitempty"`
// Encode quality 0-100 for "jpeg"/"webp" (ignored otherwise). Default 90.
Quality *int32 `protobuf:"varint,9,opt,name=quality,proto3,oneof" json:"quality,omitempty"`
// Optional sub-rectangle in canvas pixels (mirrors getImageData). The full
// canvas is read when sw/sh are omitted or <= 0.
Sx *int32 `protobuf:"varint,10,opt,name=sx,proto3,oneof" json:"sx,omitempty"`
Sy *int32 `protobuf:"varint,11,opt,name=sy,proto3,oneof" json:"sy,omitempty"`
Sw *int32 `protobuf:"varint,12,opt,name=sw,proto3,oneof" json:"sw,omitempty"`
Sh *int32 `protobuf:"varint,13,opt,name=sh,proto3,oneof" json:"sh,omitempty"`
// contains filtered or unexported fields
}
ReadCanvas reads the pixels of a single <canvas> element directly in the renderer, bypassing the origin-clean (tainted) security check and without executing page JavaScript — so cross-origin/tainted canvases (common in captchas) can be read. The element is addressed like any other action target: by selector, js_expression, or backend_node_id.
func (*ReadCanvasRequest) Descriptor
deprecated
added in
v1.1.0
func (*ReadCanvasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadCanvasRequest.ProtoReflect.Descriptor instead.
func (*ReadCanvasRequest) GetApiKey ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetApiKey() string
func (*ReadCanvasRequest) GetBackendNodeId ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetBackendNodeId() int32
func (*ReadCanvasRequest) GetFormat ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetFormat() string
func (*ReadCanvasRequest) GetFrameId ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetFrameId() string
func (*ReadCanvasRequest) GetJsExpression ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetJsExpression() string
func (*ReadCanvasRequest) GetPageId ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetPageId() string
func (*ReadCanvasRequest) GetQuality ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetQuality() int32
func (*ReadCanvasRequest) GetSelector ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSelector() string
func (*ReadCanvasRequest) GetSessionId ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSessionId() string
func (*ReadCanvasRequest) GetSh ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSh() int32
func (*ReadCanvasRequest) GetSw ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSw() int32
func (*ReadCanvasRequest) GetSx ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSx() int32
func (*ReadCanvasRequest) GetSy ¶ added in v1.1.0
func (x *ReadCanvasRequest) GetSy() int32
func (*ReadCanvasRequest) ProtoMessage ¶ added in v1.1.0
func (*ReadCanvasRequest) ProtoMessage()
func (*ReadCanvasRequest) ProtoReflect ¶ added in v1.1.0
func (x *ReadCanvasRequest) ProtoReflect() protoreflect.Message
func (*ReadCanvasRequest) Reset ¶ added in v1.1.0
func (x *ReadCanvasRequest) Reset()
func (*ReadCanvasRequest) String ¶ added in v1.1.0
func (x *ReadCanvasRequest) String() string
type ReadCanvasResponse ¶ added in v1.1.0
type ReadCanvasResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// Frame the canvas was resolved in.
FrameId string `protobuf:"bytes,2,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
// Resolved DevTools backendNodeId of the canvas.
BackendNodeId int32 `protobuf:"varint,3,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
// Encoded image bytes as base64 (PNG by default), or the raw RGBA buffer
// when format == "rgba".
DataBase64 string `protobuf:"bytes,4,opt,name=data_base64,json=dataBase64,proto3" json:"data_base64,omitempty"`
// Canvas width in pixels.
Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
// Canvas height in pixels.
Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
// Whether the canvas was origin-clean (untainted). Informational only —
// the read succeeds regardless.
OriginClean bool `protobuf:"varint,7,opt,name=origin_clean,json=originClean,proto3" json:"origin_clean,omitempty"`
// contains filtered or unexported fields
}
func (*ReadCanvasResponse) Descriptor
deprecated
added in
v1.1.0
func (*ReadCanvasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadCanvasResponse.ProtoReflect.Descriptor instead.
func (*ReadCanvasResponse) GetBackendNodeId ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetBackendNodeId() int32
func (*ReadCanvasResponse) GetDataBase64 ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetDataBase64() string
func (*ReadCanvasResponse) GetFrameId ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetFrameId() string
func (*ReadCanvasResponse) GetHeight ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetHeight() int32
func (*ReadCanvasResponse) GetOriginClean ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetOriginClean() bool
func (*ReadCanvasResponse) GetSuccess ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetSuccess() bool
func (*ReadCanvasResponse) GetWidth ¶ added in v1.1.0
func (x *ReadCanvasResponse) GetWidth() int32
func (*ReadCanvasResponse) ProtoMessage ¶ added in v1.1.0
func (*ReadCanvasResponse) ProtoMessage()
func (*ReadCanvasResponse) ProtoReflect ¶ added in v1.1.0
func (x *ReadCanvasResponse) ProtoReflect() protoreflect.Message
func (*ReadCanvasResponse) Reset ¶ added in v1.1.0
func (x *ReadCanvasResponse) Reset()
func (*ReadCanvasResponse) String ¶ added in v1.1.0
func (x *ReadCanvasResponse) String() string
type Rect ¶
type Rect struct {
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
Width float64 `protobuf:"fixed64,3,opt,name=width,proto3" json:"width,omitempty"`
Height float64 `protobuf:"fixed64,4,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*Rect) Descriptor
deprecated
func (*Rect) ProtoMessage ¶
func (*Rect) ProtoMessage()
func (*Rect) ProtoReflect ¶
func (x *Rect) ProtoReflect() protoreflect.Message
type ReleaseKeyRequest ¶
type ReleaseKeyRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
Code *string `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"`
Modifiers *int32 `protobuf:"varint,6,opt,name=modifiers,proto3,oneof" json:"modifiers,omitempty"`
Location *int32 `protobuf:"varint,7,opt,name=location,proto3,oneof" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*ReleaseKeyRequest) Descriptor
deprecated
func (*ReleaseKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseKeyRequest.ProtoReflect.Descriptor instead.
func (*ReleaseKeyRequest) GetApiKey ¶
func (x *ReleaseKeyRequest) GetApiKey() string
func (*ReleaseKeyRequest) GetCode ¶
func (x *ReleaseKeyRequest) GetCode() string
func (*ReleaseKeyRequest) GetKey ¶
func (x *ReleaseKeyRequest) GetKey() string
func (*ReleaseKeyRequest) GetLocation ¶
func (x *ReleaseKeyRequest) GetLocation() int32
func (*ReleaseKeyRequest) GetModifiers ¶
func (x *ReleaseKeyRequest) GetModifiers() int32
func (*ReleaseKeyRequest) GetPageId ¶
func (x *ReleaseKeyRequest) GetPageId() string
func (*ReleaseKeyRequest) GetSessionId ¶
func (x *ReleaseKeyRequest) GetSessionId() string
func (*ReleaseKeyRequest) ProtoMessage ¶
func (*ReleaseKeyRequest) ProtoMessage()
func (*ReleaseKeyRequest) ProtoReflect ¶
func (x *ReleaseKeyRequest) ProtoReflect() protoreflect.Message
func (*ReleaseKeyRequest) Reset ¶
func (x *ReleaseKeyRequest) Reset()
func (*ReleaseKeyRequest) String ¶
func (x *ReleaseKeyRequest) String() string
type ScreenshotRequest ¶
type ScreenshotRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
// Image format: "png" (default), "jpeg", or "webp".
Format *string `protobuf:"bytes,4,opt,name=format,proto3,oneof" json:"format,omitempty"`
// Encode quality 0-100 for "jpeg"/"webp" (ignored for "png"). Default 90.
Quality *int32 `protobuf:"varint,5,opt,name=quality,proto3,oneof" json:"quality,omitempty"`
// contains filtered or unexported fields
}
Screenshot captures a single image of the page's current frame. The server uses a one-shot surface copy (the same mechanism as CDP Page.captureScreenshot), independent of any active WRC.startStream video stream, and works with both GPU (hardware) and software compositing.
func (*ScreenshotRequest) Descriptor
deprecated
func (*ScreenshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScreenshotRequest.ProtoReflect.Descriptor instead.
func (*ScreenshotRequest) GetApiKey ¶
func (x *ScreenshotRequest) GetApiKey() string
func (*ScreenshotRequest) GetFormat ¶
func (x *ScreenshotRequest) GetFormat() string
func (*ScreenshotRequest) GetPageId ¶
func (x *ScreenshotRequest) GetPageId() string
func (*ScreenshotRequest) GetQuality ¶
func (x *ScreenshotRequest) GetQuality() int32
func (*ScreenshotRequest) GetSessionId ¶
func (x *ScreenshotRequest) GetSessionId() string
func (*ScreenshotRequest) ProtoMessage ¶
func (*ScreenshotRequest) ProtoMessage()
func (*ScreenshotRequest) ProtoReflect ¶
func (x *ScreenshotRequest) ProtoReflect() protoreflect.Message
func (*ScreenshotRequest) Reset ¶
func (x *ScreenshotRequest) Reset()
func (*ScreenshotRequest) String ¶
func (x *ScreenshotRequest) String() string
type ScreenshotResponse ¶
type ScreenshotResponse struct {
// Encoded image bytes as base64 (PNG by default).
DataBase64 string `protobuf:"bytes,1,opt,name=data_base64,json=dataBase64,proto3" json:"data_base64,omitempty"`
// Image width in physical pixels.
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
// Image height in physical pixels.
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*ScreenshotResponse) Descriptor
deprecated
func (*ScreenshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScreenshotResponse.ProtoReflect.Descriptor instead.
func (*ScreenshotResponse) GetDataBase64 ¶
func (x *ScreenshotResponse) GetDataBase64() string
func (*ScreenshotResponse) GetHeight ¶
func (x *ScreenshotResponse) GetHeight() int32
func (*ScreenshotResponse) GetWidth ¶
func (x *ScreenshotResponse) GetWidth() int32
func (*ScreenshotResponse) ProtoMessage ¶
func (*ScreenshotResponse) ProtoMessage()
func (*ScreenshotResponse) ProtoReflect ¶
func (x *ScreenshotResponse) ProtoReflect() protoreflect.Message
func (*ScreenshotResponse) Reset ¶
func (x *ScreenshotResponse) Reset()
func (*ScreenshotResponse) String ¶
func (x *ScreenshotResponse) String() string
type ScrollToRequest ¶
type ScrollToRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// contains filtered or unexported fields
}
func (*ScrollToRequest) Descriptor
deprecated
func (*ScrollToRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScrollToRequest.ProtoReflect.Descriptor instead.
func (*ScrollToRequest) GetApiKey ¶
func (x *ScrollToRequest) GetApiKey() string
func (*ScrollToRequest) GetBackendNodeId ¶
func (x *ScrollToRequest) GetBackendNodeId() int32
func (*ScrollToRequest) GetFrameId ¶
func (x *ScrollToRequest) GetFrameId() string
func (*ScrollToRequest) GetJsExpression ¶
func (x *ScrollToRequest) GetJsExpression() string
func (*ScrollToRequest) GetPageId ¶
func (x *ScrollToRequest) GetPageId() string
func (*ScrollToRequest) GetSelector ¶
func (x *ScrollToRequest) GetSelector() string
func (*ScrollToRequest) GetSessionId ¶
func (x *ScrollToRequest) GetSessionId() string
func (*ScrollToRequest) ProtoMessage ¶
func (*ScrollToRequest) ProtoMessage()
func (*ScrollToRequest) ProtoReflect ¶
func (x *ScrollToRequest) ProtoReflect() protoreflect.Message
func (*ScrollToRequest) Reset ¶
func (x *ScrollToRequest) Reset()
func (*ScrollToRequest) String ¶
func (x *ScrollToRequest) String() string
type SelectOptionRequest ¶
type SelectOptionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
BackendNodeId *int32 `protobuf:"varint,4,opt,name=backend_node_id,json=backendNodeId,proto3,oneof" json:"backend_node_id,omitempty"`
Selector *string `protobuf:"bytes,5,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,6,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
// Specific frameId, empty/omitted for main frame, or "ALL_FRAMES".
FrameId *string `protobuf:"bytes,7,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
// Exactly one of index / value / text must be set.
Index *int32 `protobuf:"varint,8,opt,name=index,proto3,oneof" json:"index,omitempty"`
Value *string `protobuf:"bytes,9,opt,name=value,proto3,oneof" json:"value,omitempty"`
Text *string `protobuf:"bytes,10,opt,name=text,proto3,oneof" json:"text,omitempty"`
// Fire input + change events. Default true.
FireEvents *bool `protobuf:"varint,11,opt,name=fire_events,json=fireEvents,proto3,oneof" json:"fire_events,omitempty"`
// contains filtered or unexported fields
}
func (*SelectOptionRequest) Descriptor
deprecated
func (*SelectOptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectOptionRequest.ProtoReflect.Descriptor instead.
func (*SelectOptionRequest) GetApiKey ¶
func (x *SelectOptionRequest) GetApiKey() string
func (*SelectOptionRequest) GetBackendNodeId ¶
func (x *SelectOptionRequest) GetBackendNodeId() int32
func (*SelectOptionRequest) GetFireEvents ¶
func (x *SelectOptionRequest) GetFireEvents() bool
func (*SelectOptionRequest) GetFrameId ¶
func (x *SelectOptionRequest) GetFrameId() string
func (*SelectOptionRequest) GetIndex ¶
func (x *SelectOptionRequest) GetIndex() int32
func (*SelectOptionRequest) GetJsExpression ¶
func (x *SelectOptionRequest) GetJsExpression() string
func (*SelectOptionRequest) GetPageId ¶
func (x *SelectOptionRequest) GetPageId() string
func (*SelectOptionRequest) GetSelector ¶
func (x *SelectOptionRequest) GetSelector() string
func (*SelectOptionRequest) GetSessionId ¶
func (x *SelectOptionRequest) GetSessionId() string
func (*SelectOptionRequest) GetText ¶
func (x *SelectOptionRequest) GetText() string
func (*SelectOptionRequest) GetValue ¶
func (x *SelectOptionRequest) GetValue() string
func (*SelectOptionRequest) ProtoMessage ¶
func (*SelectOptionRequest) ProtoMessage()
func (*SelectOptionRequest) ProtoReflect ¶
func (x *SelectOptionRequest) ProtoReflect() protoreflect.Message
func (*SelectOptionRequest) Reset ¶
func (x *SelectOptionRequest) Reset()
func (*SelectOptionRequest) String ¶
func (x *SelectOptionRequest) String() string
type SelectOptionResult ¶
type SelectOptionResult struct {
SelectedIndex int32 `protobuf:"varint,1,opt,name=selected_index,json=selectedIndex,proto3" json:"selected_index,omitempty"`
SelectedValue string `protobuf:"bytes,2,opt,name=selected_value,json=selectedValue,proto3" json:"selected_value,omitempty"`
SelectedText string `protobuf:"bytes,3,opt,name=selected_text,json=selectedText,proto3" json:"selected_text,omitempty"`
// contains filtered or unexported fields
}
func (*SelectOptionResult) Descriptor
deprecated
func (*SelectOptionResult) Descriptor() ([]byte, []int)
Deprecated: Use SelectOptionResult.ProtoReflect.Descriptor instead.
func (*SelectOptionResult) GetSelectedIndex ¶
func (x *SelectOptionResult) GetSelectedIndex() int32
func (*SelectOptionResult) GetSelectedText ¶
func (x *SelectOptionResult) GetSelectedText() string
func (*SelectOptionResult) GetSelectedValue ¶
func (x *SelectOptionResult) GetSelectedValue() string
func (*SelectOptionResult) ProtoMessage ¶
func (*SelectOptionResult) ProtoMessage()
func (*SelectOptionResult) ProtoReflect ¶
func (x *SelectOptionResult) ProtoReflect() protoreflect.Message
func (*SelectOptionResult) Reset ¶
func (x *SelectOptionResult) Reset()
func (*SelectOptionResult) String ¶
func (x *SelectOptionResult) String() string
type SetBlockListRequest ¶
type SetBlockListRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// URL wildcard patterns to block. Empty list clears the blocklist.
Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
// contains filtered or unexported fields
}
func (*SetBlockListRequest) Descriptor
deprecated
func (*SetBlockListRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetBlockListRequest.ProtoReflect.Descriptor instead.
func (*SetBlockListRequest) GetApiKey ¶
func (x *SetBlockListRequest) GetApiKey() string
func (*SetBlockListRequest) GetPatterns ¶
func (x *SetBlockListRequest) GetPatterns() []string
func (*SetBlockListRequest) GetSessionId ¶
func (x *SetBlockListRequest) GetSessionId() string
func (*SetBlockListRequest) ProtoMessage ¶
func (*SetBlockListRequest) ProtoMessage()
func (*SetBlockListRequest) ProtoReflect ¶
func (x *SetBlockListRequest) ProtoReflect() protoreflect.Message
func (*SetBlockListRequest) Reset ¶
func (x *SetBlockListRequest) Reset()
func (*SetBlockListRequest) String ¶
func (x *SetBlockListRequest) String() string
type SetCookiesRequest ¶
type SetCookiesRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
Cookies []*CookieParam `protobuf:"bytes,3,rep,name=cookies,proto3" json:"cookies,omitempty"`
// contains filtered or unexported fields
}
func (*SetCookiesRequest) Descriptor
deprecated
func (*SetCookiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCookiesRequest.ProtoReflect.Descriptor instead.
func (*SetCookiesRequest) GetApiKey ¶
func (x *SetCookiesRequest) GetApiKey() string
func (*SetCookiesRequest) GetCookies ¶
func (x *SetCookiesRequest) GetCookies() []*CookieParam
func (*SetCookiesRequest) GetSessionId ¶
func (x *SetCookiesRequest) GetSessionId() string
func (*SetCookiesRequest) ProtoMessage ¶
func (*SetCookiesRequest) ProtoMessage()
func (*SetCookiesRequest) ProtoReflect ¶
func (x *SetCookiesRequest) ProtoReflect() protoreflect.Message
func (*SetCookiesRequest) Reset ¶
func (x *SetCookiesRequest) Reset()
func (*SetCookiesRequest) String ¶
func (x *SetCookiesRequest) String() string
type SetProxyRequest ¶
type SetProxyRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// Empty/omitted = clear the proxy.
ProxyHost *string `protobuf:"bytes,3,opt,name=proxy_host,json=proxyHost,proto3,oneof" json:"proxy_host,omitempty"`
ProxyPort *int32 `protobuf:"varint,4,opt,name=proxy_port,json=proxyPort,proto3,oneof" json:"proxy_port,omitempty"`
ProxyUsername *string `protobuf:"bytes,5,opt,name=proxy_username,json=proxyUsername,proto3,oneof" json:"proxy_username,omitempty"`
ProxyPassword *string `protobuf:"bytes,6,opt,name=proxy_password,json=proxyPassword,proto3,oneof" json:"proxy_password,omitempty"`
// contains filtered or unexported fields
}
func (*SetProxyRequest) Descriptor
deprecated
func (*SetProxyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetProxyRequest.ProtoReflect.Descriptor instead.
func (*SetProxyRequest) GetApiKey ¶
func (x *SetProxyRequest) GetApiKey() string
func (*SetProxyRequest) GetProxyHost ¶
func (x *SetProxyRequest) GetProxyHost() string
func (*SetProxyRequest) GetProxyPassword ¶
func (x *SetProxyRequest) GetProxyPassword() string
func (*SetProxyRequest) GetProxyPort ¶
func (x *SetProxyRequest) GetProxyPort() int32
func (*SetProxyRequest) GetProxyUsername ¶
func (x *SetProxyRequest) GetProxyUsername() string
func (*SetProxyRequest) GetSessionId ¶
func (x *SetProxyRequest) GetSessionId() string
func (*SetProxyRequest) ProtoMessage ¶
func (*SetProxyRequest) ProtoMessage()
func (*SetProxyRequest) ProtoReflect ¶
func (x *SetProxyRequest) ProtoReflect() protoreflect.Message
func (*SetProxyRequest) Reset ¶
func (x *SetProxyRequest) Reset()
func (*SetProxyRequest) String ¶
func (x *SetProxyRequest) String() string
type SetStaticPathsRequest ¶
type SetStaticPathsRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// URL wildcard patterns to match. Empty disables caching.
Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
BlobName string `protobuf:"bytes,4,opt,name=blob_name,json=blobName,proto3" json:"blob_name,omitempty"`
// contains filtered or unexported fields
}
func (*SetStaticPathsRequest) Descriptor
deprecated
func (*SetStaticPathsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetStaticPathsRequest.ProtoReflect.Descriptor instead.
func (*SetStaticPathsRequest) GetApiKey ¶
func (x *SetStaticPathsRequest) GetApiKey() string
func (*SetStaticPathsRequest) GetBlobName ¶
func (x *SetStaticPathsRequest) GetBlobName() string
func (*SetStaticPathsRequest) GetPatterns ¶
func (x *SetStaticPathsRequest) GetPatterns() []string
func (*SetStaticPathsRequest) GetSessionId ¶
func (x *SetStaticPathsRequest) GetSessionId() string
func (*SetStaticPathsRequest) ProtoMessage ¶
func (*SetStaticPathsRequest) ProtoMessage()
func (*SetStaticPathsRequest) ProtoReflect ¶
func (x *SetStaticPathsRequest) ProtoReflect() protoreflect.Message
func (*SetStaticPathsRequest) Reset ¶
func (x *SetStaticPathsRequest) Reset()
func (*SetStaticPathsRequest) String ¶
func (x *SetStaticPathsRequest) String() string
type SetStorageRequest ¶
type SetStorageRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// Entries to write, grouped by origin. Accepts the same structure
// GetStorage returns, so a dump can be fed back verbatim.
Storage []*StorageOriginEntry `protobuf:"bytes,3,rep,name=storage,proto3" json:"storage,omitempty"`
// If true, each origin present in `storage` is cleared before writing.
ClearFirst *bool `protobuf:"varint,4,opt,name=clear_first,json=clearFirst,proto3,oneof" json:"clear_first,omitempty"`
// contains filtered or unexported fields
}
func (*SetStorageRequest) Descriptor
deprecated
func (*SetStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetStorageRequest.ProtoReflect.Descriptor instead.
func (*SetStorageRequest) GetApiKey ¶
func (x *SetStorageRequest) GetApiKey() string
func (*SetStorageRequest) GetClearFirst ¶
func (x *SetStorageRequest) GetClearFirst() bool
func (*SetStorageRequest) GetSessionId ¶
func (x *SetStorageRequest) GetSessionId() string
func (*SetStorageRequest) GetStorage ¶
func (x *SetStorageRequest) GetStorage() []*StorageOriginEntry
func (*SetStorageRequest) ProtoMessage ¶
func (*SetStorageRequest) ProtoMessage()
func (*SetStorageRequest) ProtoReflect ¶
func (x *SetStorageRequest) ProtoReflect() protoreflect.Message
func (*SetStorageRequest) Reset ¶
func (x *SetStorageRequest) Reset()
func (*SetStorageRequest) String ¶
func (x *SetStorageRequest) String() string
type SolveCaptchaRequest ¶
type SolveCaptchaRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// Total time budget in ms. 0 = server default (60s).
TimeoutMs int32 `protobuf:"varint,3,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
// Retry the solve flow this many times before giving up.
RetryAmount int32 `protobuf:"varint,4,opt,name=retry_amount,json=retryAmount,proto3" json:"retry_amount,omitempty"`
// contains filtered or unexported fields
}
func (*SolveCaptchaRequest) Descriptor
deprecated
func (*SolveCaptchaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SolveCaptchaRequest.ProtoReflect.Descriptor instead.
func (*SolveCaptchaRequest) GetApiKey ¶
func (x *SolveCaptchaRequest) GetApiKey() string
func (*SolveCaptchaRequest) GetRetryAmount ¶
func (x *SolveCaptchaRequest) GetRetryAmount() int32
func (*SolveCaptchaRequest) GetSessionId ¶
func (x *SolveCaptchaRequest) GetSessionId() string
func (*SolveCaptchaRequest) GetTimeoutMs ¶
func (x *SolveCaptchaRequest) GetTimeoutMs() int32
func (*SolveCaptchaRequest) ProtoMessage ¶
func (*SolveCaptchaRequest) ProtoMessage()
func (*SolveCaptchaRequest) ProtoReflect ¶
func (x *SolveCaptchaRequest) ProtoReflect() protoreflect.Message
func (*SolveCaptchaRequest) Reset ¶
func (x *SolveCaptchaRequest) Reset()
func (*SolveCaptchaRequest) String ¶
func (x *SolveCaptchaRequest) String() string
type SolveCaptchaResponse ¶
type SolveCaptchaResponse struct {
// Solution token returned by the underlying challenge, when applicable.
// Empty on success — most challenges are completed in-page server-side
// and require no further action from the caller. Empty on failure too.
Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*SolveCaptchaResponse) Descriptor
deprecated
func (*SolveCaptchaResponse) Descriptor() ([]byte, []int)
Deprecated: Use SolveCaptchaResponse.ProtoReflect.Descriptor instead.
func (*SolveCaptchaResponse) GetResult ¶
func (x *SolveCaptchaResponse) GetResult() string
func (*SolveCaptchaResponse) ProtoMessage ¶
func (*SolveCaptchaResponse) ProtoMessage()
func (*SolveCaptchaResponse) ProtoReflect ¶
func (x *SolveCaptchaResponse) ProtoReflect() protoreflect.Message
func (*SolveCaptchaResponse) Reset ¶
func (x *SolveCaptchaResponse) Reset()
func (*SolveCaptchaResponse) String ¶
func (x *SolveCaptchaResponse) String() string
type StorageItem ¶
type StorageItem struct {
// localStorage key.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// localStorage value.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*StorageItem) Descriptor
deprecated
func (*StorageItem) Descriptor() ([]byte, []int)
Deprecated: Use StorageItem.ProtoReflect.Descriptor instead.
func (*StorageItem) GetKey ¶
func (x *StorageItem) GetKey() string
func (*StorageItem) GetValue ¶
func (x *StorageItem) GetValue() string
func (*StorageItem) ProtoMessage ¶
func (*StorageItem) ProtoMessage()
func (*StorageItem) ProtoReflect ¶
func (x *StorageItem) ProtoReflect() protoreflect.Message
func (*StorageItem) Reset ¶
func (x *StorageItem) Reset()
func (*StorageItem) String ¶
func (x *StorageItem) String() string
type StorageOriginEntry ¶
type StorageOriginEntry struct {
// Serialized origin, e.g. "https://example.com".
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
// Key/value pairs for this origin.
Items []*StorageItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*StorageOriginEntry) Descriptor
deprecated
func (*StorageOriginEntry) Descriptor() ([]byte, []int)
Deprecated: Use StorageOriginEntry.ProtoReflect.Descriptor instead.
func (*StorageOriginEntry) GetItems ¶
func (x *StorageOriginEntry) GetItems() []*StorageItem
func (*StorageOriginEntry) GetOrigin ¶
func (x *StorageOriginEntry) GetOrigin() string
func (*StorageOriginEntry) ProtoMessage ¶
func (*StorageOriginEntry) ProtoMessage()
func (*StorageOriginEntry) ProtoReflect ¶
func (x *StorageOriginEntry) ProtoReflect() protoreflect.Message
func (*StorageOriginEntry) Reset ¶
func (x *StorageOriginEntry) Reset()
func (*StorageOriginEntry) String ¶
func (x *StorageOriginEntry) String() string
type UnimplementedBrowserServer ¶
type UnimplementedBrowserServer struct{}
UnimplementedBrowserServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBrowserServer) ClearCookies ¶
func (UnimplementedBrowserServer) ClearCookies(context.Context, *ClearCookiesRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) ClearStorage ¶
func (UnimplementedBrowserServer) ClearStorage(context.Context, *ClearStorageRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) Click ¶
func (UnimplementedBrowserServer) Click(context.Context, *ClickRequest) (*ElementResult, error)
func (UnimplementedBrowserServer) Drag ¶
func (UnimplementedBrowserServer) Drag(context.Context, *DragRequest) (*DragResult, error)
func (UnimplementedBrowserServer) Evaluate ¶
func (UnimplementedBrowserServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
func (UnimplementedBrowserServer) Fill ¶
func (UnimplementedBrowserServer) Fill(context.Context, *FillRequest) (*ElementResult, error)
func (UnimplementedBrowserServer) GetCookies ¶
func (UnimplementedBrowserServer) GetCookies(context.Context, *GetCookiesRequest) (*GetCookiesResponse, error)
func (UnimplementedBrowserServer) GetDOM ¶
func (UnimplementedBrowserServer) GetDOM(context.Context, *GetDOMRequest) (*GetDOMResponse, error)
func (UnimplementedBrowserServer) GetDOMHash ¶
func (UnimplementedBrowserServer) GetDOMHash(context.Context, *GetDOMHashRequest) (*GetDOMHashResponse, error)
func (UnimplementedBrowserServer) GetObservation ¶
func (UnimplementedBrowserServer) GetObservation(context.Context, *GetObservationRequest) (*GetObservationResponse, error)
func (UnimplementedBrowserServer) GetPages ¶
func (UnimplementedBrowserServer) GetPages(context.Context, *GetPagesRequest) (*GetPagesResponse, error)
func (UnimplementedBrowserServer) GetSelection ¶
func (UnimplementedBrowserServer) GetSelection(context.Context, *GetSelectionRequest) (*GetSelectionResponse, error)
func (UnimplementedBrowserServer) GetStorage ¶
func (UnimplementedBrowserServer) GetStorage(context.Context, *GetStorageRequest) (*GetStorageResponse, error)
func (UnimplementedBrowserServer) HighlightNode ¶
func (UnimplementedBrowserServer) HighlightNode(context.Context, *HighlightNodeRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) InsertText ¶
func (UnimplementedBrowserServer) InsertText(context.Context, *InsertTextRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) InspectAtPosition ¶
func (UnimplementedBrowserServer) InspectAtPosition(context.Context, *InspectAtPositionRequest) (*InspectAtPositionResponse, error)
func (UnimplementedBrowserServer) LoadHTML ¶
func (UnimplementedBrowserServer) LoadHTML(context.Context, *LoadHTMLRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) ModifyRequest ¶
func (UnimplementedBrowserServer) ModifyRequest(context.Context, *ModifyRequestRequest) (*ModifyRequestResponse, error)
func (UnimplementedBrowserServer) MoveTo ¶
func (UnimplementedBrowserServer) MoveTo(context.Context, *MoveToRequest) (*ElementResult, error)
func (UnimplementedBrowserServer) Navigate ¶
func (UnimplementedBrowserServer) Navigate(context.Context, *NavigateRequest) (*NavigateResponse, error)
func (UnimplementedBrowserServer) PressKey ¶
func (UnimplementedBrowserServer) PressKey(context.Context, *PressKeyRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) ReadCanvas ¶ added in v1.1.0
func (UnimplementedBrowserServer) ReadCanvas(context.Context, *ReadCanvasRequest) (*ReadCanvasResponse, error)
func (UnimplementedBrowserServer) ReleaseKey ¶
func (UnimplementedBrowserServer) ReleaseKey(context.Context, *ReleaseKeyRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) Screenshot ¶
func (UnimplementedBrowserServer) Screenshot(context.Context, *ScreenshotRequest) (*ScreenshotResponse, error)
func (UnimplementedBrowserServer) ScrollTo ¶
func (UnimplementedBrowserServer) ScrollTo(context.Context, *ScrollToRequest) (*ElementResult, error)
func (UnimplementedBrowserServer) SelectOption ¶
func (UnimplementedBrowserServer) SelectOption(context.Context, *SelectOptionRequest) (*SelectOptionResult, error)
func (UnimplementedBrowserServer) SetBlockList ¶
func (UnimplementedBrowserServer) SetBlockList(context.Context, *SetBlockListRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) SetCookies ¶
func (UnimplementedBrowserServer) SetCookies(context.Context, *SetCookiesRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) SetProxy ¶
func (UnimplementedBrowserServer) SetProxy(context.Context, *SetProxyRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) SetStaticPaths ¶
func (UnimplementedBrowserServer) SetStaticPaths(context.Context, *SetStaticPathsRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) SetStorage ¶
func (UnimplementedBrowserServer) SetStorage(context.Context, *SetStorageRequest) (*emptypb.Empty, error)
func (UnimplementedBrowserServer) SolveCaptcha ¶
func (UnimplementedBrowserServer) SolveCaptcha(context.Context, *SolveCaptchaRequest) (*SolveCaptchaResponse, error)
func (UnimplementedBrowserServer) WaitForAny ¶
func (UnimplementedBrowserServer) WaitForAny(context.Context, *WaitForAnyParams) (*WaitResult, error)
func (UnimplementedBrowserServer) WaitForAnyRequest ¶
func (UnimplementedBrowserServer) WaitForAnyRequest(context.Context, *WaitForAnyRequestRequest) (*WaitForAnyRequestResponse, error)
func (UnimplementedBrowserServer) WaitForAnyResponse ¶
func (UnimplementedBrowserServer) WaitForAnyResponse(context.Context, *WaitForAnyResponseRequest) (*WaitForAnyResponseResponse, error)
type UnsafeBrowserServer ¶
type UnsafeBrowserServer interface {
// contains filtered or unexported methods
}
UnsafeBrowserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BrowserServer will result in compilation errors.
type WaitCondition ¶
type WaitCondition struct {
Selector *string `protobuf:"bytes,1,opt,name=selector,proto3,oneof" json:"selector,omitempty"`
JsExpression *string `protobuf:"bytes,2,opt,name=js_expression,json=jsExpression,proto3,oneof" json:"js_expression,omitempty"`
Visible *bool `protobuf:"varint,3,opt,name=visible,proto3,oneof" json:"visible,omitempty"`
SteadyTime *float64 `protobuf:"fixed64,4,opt,name=steady_time,json=steadyTime,proto3,oneof" json:"steady_time,omitempty"`
// contains filtered or unexported fields
}
Exactly one of `selector` or `js_expression` must be set per condition.
func (*WaitCondition) Descriptor
deprecated
func (*WaitCondition) Descriptor() ([]byte, []int)
Deprecated: Use WaitCondition.ProtoReflect.Descriptor instead.
func (*WaitCondition) GetJsExpression ¶
func (x *WaitCondition) GetJsExpression() string
func (*WaitCondition) GetSelector ¶
func (x *WaitCondition) GetSelector() string
func (*WaitCondition) GetSteadyTime ¶
func (x *WaitCondition) GetSteadyTime() float64
func (*WaitCondition) GetVisible ¶
func (x *WaitCondition) GetVisible() bool
func (*WaitCondition) ProtoMessage ¶
func (*WaitCondition) ProtoMessage()
func (*WaitCondition) ProtoReflect ¶
func (x *WaitCondition) ProtoReflect() protoreflect.Message
func (*WaitCondition) Reset ¶
func (x *WaitCondition) Reset()
func (*WaitCondition) String ¶
func (x *WaitCondition) String() string
type WaitForAnyParams ¶
type WaitForAnyParams struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
PageId string `protobuf:"bytes,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
Conditions []*WaitCondition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Specific frameId, empty/omitted for main frame, or "ALL_FRAMES".
FrameId *string `protobuf:"bytes,5,opt,name=frame_id,json=frameId,proto3,oneof" json:"frame_id,omitempty"`
Timeout *float64 `protobuf:"fixed64,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
Note: named "WaitForAnyParams" instead of "WaitForAnyRequest" to avoid colliding with the rpc method name "WaitForAnyRequest" (network intercept).
func (*WaitForAnyParams) Descriptor
deprecated
func (*WaitForAnyParams) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAnyParams.ProtoReflect.Descriptor instead.
func (*WaitForAnyParams) GetApiKey ¶
func (x *WaitForAnyParams) GetApiKey() string
func (*WaitForAnyParams) GetConditions ¶
func (x *WaitForAnyParams) GetConditions() []*WaitCondition
func (*WaitForAnyParams) GetFrameId ¶
func (x *WaitForAnyParams) GetFrameId() string
func (*WaitForAnyParams) GetPageId ¶
func (x *WaitForAnyParams) GetPageId() string
func (*WaitForAnyParams) GetSessionId ¶
func (x *WaitForAnyParams) GetSessionId() string
func (*WaitForAnyParams) GetTimeout ¶
func (x *WaitForAnyParams) GetTimeout() float64
func (*WaitForAnyParams) ProtoMessage ¶
func (*WaitForAnyParams) ProtoMessage()
func (*WaitForAnyParams) ProtoReflect ¶
func (x *WaitForAnyParams) ProtoReflect() protoreflect.Message
func (*WaitForAnyParams) Reset ¶
func (x *WaitForAnyParams) Reset()
func (*WaitForAnyParams) String ¶
func (x *WaitForAnyParams) String() string
type WaitForAnyRequestRequest ¶
type WaitForAnyRequestRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
// Per-pattern abort flag (1 = block, 0 = observe only). Omit to observe all.
AbortFlags []int32 `protobuf:"varint,4,rep,packed,name=abort_flags,json=abortFlags,proto3" json:"abort_flags,omitempty"`
Timeout *float64 `protobuf:"fixed64,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*WaitForAnyRequestRequest) Descriptor
deprecated
func (*WaitForAnyRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAnyRequestRequest.ProtoReflect.Descriptor instead.
func (*WaitForAnyRequestRequest) GetAbortFlags ¶
func (x *WaitForAnyRequestRequest) GetAbortFlags() []int32
func (*WaitForAnyRequestRequest) GetApiKey ¶
func (x *WaitForAnyRequestRequest) GetApiKey() string
func (*WaitForAnyRequestRequest) GetPatterns ¶
func (x *WaitForAnyRequestRequest) GetPatterns() []string
func (*WaitForAnyRequestRequest) GetSessionId ¶
func (x *WaitForAnyRequestRequest) GetSessionId() string
func (*WaitForAnyRequestRequest) GetTimeout ¶
func (x *WaitForAnyRequestRequest) GetTimeout() float64
func (*WaitForAnyRequestRequest) ProtoMessage ¶
func (*WaitForAnyRequestRequest) ProtoMessage()
func (*WaitForAnyRequestRequest) ProtoReflect ¶
func (x *WaitForAnyRequestRequest) ProtoReflect() protoreflect.Message
func (*WaitForAnyRequestRequest) Reset ¶
func (x *WaitForAnyRequestRequest) Reset()
func (*WaitForAnyRequestRequest) String ¶
func (x *WaitForAnyRequestRequest) String() string
type WaitForAnyRequestResponse ¶
type WaitForAnyRequestResponse struct {
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
Request *InterceptedRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
func (*WaitForAnyRequestResponse) Descriptor
deprecated
func (*WaitForAnyRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAnyRequestResponse.ProtoReflect.Descriptor instead.
func (*WaitForAnyRequestResponse) GetIndex ¶
func (x *WaitForAnyRequestResponse) GetIndex() int32
func (*WaitForAnyRequestResponse) GetRequest ¶
func (x *WaitForAnyRequestResponse) GetRequest() *InterceptedRequest
func (*WaitForAnyRequestResponse) ProtoMessage ¶
func (*WaitForAnyRequestResponse) ProtoMessage()
func (*WaitForAnyRequestResponse) ProtoReflect ¶
func (x *WaitForAnyRequestResponse) ProtoReflect() protoreflect.Message
func (*WaitForAnyRequestResponse) Reset ¶
func (x *WaitForAnyRequestResponse) Reset()
func (*WaitForAnyRequestResponse) String ¶
func (x *WaitForAnyRequestResponse) String() string
type WaitForAnyResponseRequest ¶
type WaitForAnyResponseRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
// Per-pattern abort flag (1 = replace with empty 200, 0 = pass through).
AbortFlags []int32 `protobuf:"varint,4,rep,packed,name=abort_flags,json=abortFlags,proto3" json:"abort_flags,omitempty"`
Timeout *float64 `protobuf:"fixed64,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*WaitForAnyResponseRequest) Descriptor
deprecated
func (*WaitForAnyResponseRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAnyResponseRequest.ProtoReflect.Descriptor instead.
func (*WaitForAnyResponseRequest) GetAbortFlags ¶
func (x *WaitForAnyResponseRequest) GetAbortFlags() []int32
func (*WaitForAnyResponseRequest) GetApiKey ¶
func (x *WaitForAnyResponseRequest) GetApiKey() string
func (*WaitForAnyResponseRequest) GetPatterns ¶
func (x *WaitForAnyResponseRequest) GetPatterns() []string
func (*WaitForAnyResponseRequest) GetSessionId ¶
func (x *WaitForAnyResponseRequest) GetSessionId() string
func (*WaitForAnyResponseRequest) GetTimeout ¶
func (x *WaitForAnyResponseRequest) GetTimeout() float64
func (*WaitForAnyResponseRequest) ProtoMessage ¶
func (*WaitForAnyResponseRequest) ProtoMessage()
func (*WaitForAnyResponseRequest) ProtoReflect ¶
func (x *WaitForAnyResponseRequest) ProtoReflect() protoreflect.Message
func (*WaitForAnyResponseRequest) Reset ¶
func (x *WaitForAnyResponseRequest) Reset()
func (*WaitForAnyResponseRequest) String ¶
func (x *WaitForAnyResponseRequest) String() string
type WaitForAnyResponseResponse ¶
type WaitForAnyResponseResponse struct {
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
Response *InterceptedResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*WaitForAnyResponseResponse) Descriptor
deprecated
func (*WaitForAnyResponseResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAnyResponseResponse.ProtoReflect.Descriptor instead.
func (*WaitForAnyResponseResponse) GetIndex ¶
func (x *WaitForAnyResponseResponse) GetIndex() int32
func (*WaitForAnyResponseResponse) GetResponse ¶
func (x *WaitForAnyResponseResponse) GetResponse() *InterceptedResponse
func (*WaitForAnyResponseResponse) ProtoMessage ¶
func (*WaitForAnyResponseResponse) ProtoMessage()
func (*WaitForAnyResponseResponse) ProtoReflect ¶
func (x *WaitForAnyResponseResponse) ProtoReflect() protoreflect.Message
func (*WaitForAnyResponseResponse) Reset ¶
func (x *WaitForAnyResponseResponse) Reset()
func (*WaitForAnyResponseResponse) String ¶
func (x *WaitForAnyResponseResponse) String() string
type WaitResult ¶
type WaitResult struct {
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
FrameId string `protobuf:"bytes,2,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
BackendNodeId int32 `protobuf:"varint,3,opt,name=backend_node_id,json=backendNodeId,proto3" json:"backend_node_id,omitempty"`
IsVisible bool `protobuf:"varint,4,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
Bounds *Rect `protobuf:"bytes,5,opt,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
func (*WaitResult) Descriptor
deprecated
func (*WaitResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitResult.ProtoReflect.Descriptor instead.
func (*WaitResult) GetBackendNodeId ¶
func (x *WaitResult) GetBackendNodeId() int32
func (*WaitResult) GetBounds ¶
func (x *WaitResult) GetBounds() *Rect
func (*WaitResult) GetFrameId ¶
func (x *WaitResult) GetFrameId() string
func (*WaitResult) GetIndex ¶
func (x *WaitResult) GetIndex() int32
func (*WaitResult) GetIsVisible ¶
func (x *WaitResult) GetIsVisible() bool
func (*WaitResult) ProtoMessage ¶
func (*WaitResult) ProtoMessage()
func (*WaitResult) ProtoReflect ¶
func (x *WaitResult) ProtoReflect() protoreflect.Message
func (*WaitResult) Reset ¶
func (x *WaitResult) Reset()
func (*WaitResult) String ¶
func (x *WaitResult) String() string