_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c19100
train
// Invoke sends an RPC request and blocks until the response is received. // This function is called by generated code but can be used to issue // requests manually.
{ "resource": "" }
c19101
train
// store the message in ch, if empty, otherwise in queue.
{ "resource": "" }
c19102
train
// load moves a message from the queue into ch.
{ "resource": "" }
c19103
train
// clear removes all messages from buffer.
{ "resource": "" }
c19104
train
// NewStream creates a new stream that listens to notifications from the // RPC server. This function is called by generated code.
{ "resource": "" }
c19105
train
// GetPartialAXTree invokes the Accessibility method. Fetches the // accessibility node and partial accessibility tree for this DOM node, if it // exists.
{ "resource": "" }
c19106
train
// AddRule invokes the CSS method. Inserts a new rule with the given // `ruleText` in a stylesheet with given `styleSheetId`, at the position // specified by `location`.
{ "resource": "" }
c19107
train
// CollectClassNames invokes the CSS method. Returns all class names from // specified stylesheet.
{ "resource": "" }
c19108
train
// CreateStyleSheet invokes the CSS method. Creates a new special // "via-inspector" stylesheet in the frame with given `frameId`.
{ "resource": "" }
c19109
train
// GetBackgroundColors invokes the CSS method.
{ "resource": "" }
c19110
train
// GetComputedStyleForNode invokes the CSS method. Returns the computed style // for a DOM node identified by `nodeId`.
{ "resource": "" }
c19111
train
// GetMatchedStylesForNode invokes the CSS method. Returns requested styles // for a DOM node identified by `nodeId`.
{ "resource": "" }
c19112
train
// GetMediaQueries invokes the CSS method. Returns all media queries parsed by // the rendering engine.
{ "resource": "" }
c19113
train
// GetPlatformFontsForNode invokes the CSS method. Requests information about // platform fonts which we used to render child TextNodes in the given node.
{ "resource": "" }
c19114
train
// GetStyleSheetText invokes the CSS method. Returns the current textual // content for a stylesheet.
{ "resource": "" }
c19115
train
// SetEffectivePropertyValueForNode invokes the CSS method. Find a rule with // the given active property for the given node and set the new value for this // property
{ "resource": "" }
c19116
train
// SetKeyframeKey invokes the CSS method. Modifies the keyframe rule key text.
{ "resource": "" }
c19117
train
// SetMediaText invokes the CSS method. Modifies the rule selector.
{ "resource": "" }
c19118
train
// SetRuleSelector invokes the CSS method. Modifies the rule selector.
{ "resource": "" }
c19119
train
// SetStyleSheetText invokes the CSS method. Sets the new stylesheet text.
{ "resource": "" }
c19120
train
// SetStyleTexts invokes the CSS method. Applies specified style edits one // after another in the given order.
{ "resource": "" }
c19121
train
// NewSetTimeDomainArgs initializes SetTimeDomainArgs with the required arguments.
{ "resource": "" }
c19122
train
// GetUsageAndQuota invokes the Storage method. Returns usage and quota in // bytes.
{ "resource": "" }
c19123
train
// NewClient returns a new Client that uses conn // for communication with the debugging target.
{ "resource": "" }
c19124
train
// NewHighlightFrameArgs initializes HighlightFrameArgs with the required arguments.
{ "resource": "" }
c19125
train
// NewHighlightNodeArgs initializes HighlightNodeArgs with the required arguments.
{ "resource": "" }
c19126
train
// SetNodeID sets the NodeID optional argument. Identifier of the node // to highlight.
{ "resource": "" }
c19127
train
// SetBackendNodeID sets the BackendNodeID optional argument. // Identifier of the backend node to highlight.
{ "resource": "" }
c19128
train
// SetObjectID sets the ObjectID optional argument. JavaScript object // id of the node to be highlighted.
{ "resource": "" }
c19129
train
// SetSelector sets the Selector optional argument. Selectors to // highlight relevant nodes.
{ "resource": "" }
c19130
train
// NewHighlightQuadArgs initializes HighlightQuadArgs with the required arguments.
{ "resource": "" }
c19131
train
// NewHighlightRectArgs initializes HighlightRectArgs with the required arguments.
{ "resource": "" }
c19132
train
// NewSetInspectModeArgs initializes SetInspectModeArgs with the required arguments.
{ "resource": "" }
c19133
train
// SetHighlightConfig sets the HighlightConfig optional argument. A // descriptor for the highlight appearance of hovered-over nodes. May // be omitted if `enabled == false`.
{ "resource": "" }
c19134
train
// NewSetShowAdHighlightsArgs initializes SetShowAdHighlightsArgs with the required arguments.
{ "resource": "" }
c19135
train
// SetMessage sets the Message optional argument. The message to // display, also triggers resume and step over controls.
{ "resource": "" }
c19136
train
// NewSetShowDebugBordersArgs initializes SetShowDebugBordersArgs with the required arguments.
{ "resource": "" }
c19137
train
// NewSetShowFPSCounterArgs initializes SetShowFPSCounterArgs with the required arguments.
{ "resource": "" }
c19138
train
// NewSetShowPaintRectsArgs initializes SetShowPaintRectsArgs with the required arguments.
{ "resource": "" }
c19139
train
// NewSetShowScrollBottleneckRectsArgs initializes SetShowScrollBottleneckRectsArgs with the required arguments.
{ "resource": "" }
c19140
train
// NewSetShowViewportSizeOnResizeArgs initializes SetShowViewportSizeOnResizeArgs with the required arguments.
{ "resource": "" }
c19141
train
// NewDeleteCacheArgs initializes DeleteCacheArgs with the required arguments.
{ "resource": "" }
c19142
train
// NewDeleteEntryArgs initializes DeleteEntryArgs with the required arguments.
{ "resource": "" }
c19143
train
// NewRequestCacheNamesArgs initializes RequestCacheNamesArgs with the required arguments.
{ "resource": "" }
c19144
train
// NewRequestCachedResponseArgs initializes RequestCachedResponseArgs with the required arguments.
{ "resource": "" }
c19145
train
// NewRequestEntriesArgs initializes RequestEntriesArgs with the required arguments.
{ "resource": "" }
c19146
train
// SetPathFilter sets the PathFilter optional argument. If present, // only return the entries containing this substring in the path
{ "resource": "" }
c19147
train
// GetCertificate invokes the Network method. Returns the DER-encoded // certificate.
{ "resource": "" }
c19148
train
// GetCookies invokes the Network method. Returns all browser cookies for the // current URL. Depending on the backend support, will return detailed cookie // information in the `cookies` field.
{ "resource": "" }
c19149
train
// GetRequestPostData invokes the Network method. Returns post data sent with // the request. Returns an error when no data was sent with the request.
{ "resource": "" }
c19150
train
// GetResponseBodyForInterception invokes the Network method. Returns content // served for the given currently intercepted request.
{ "resource": "" }
c19151
train
// SearchInResponseBody invokes the Network method. Searches for given string // in response content.
{ "resource": "" }
c19152
train
// SetCookie invokes the Network method. Sets a cookie with the given cookie // data; may overwrite equivalent cookies if they exist.
{ "resource": "" }
c19153
train
// NewGetEventListenersArgs initializes GetEventListenersArgs with the required arguments.
{ "resource": "" }
c19154
train
// SetDepth sets the Depth optional argument. The maximum depth at // which Node children should be retrieved, defaults to 1. Use -1 for // the entire subtree or provide an integer larger than 0.
{ "resource": "" }
c19155
train
// NewRemoveDOMBreakpointArgs initializes RemoveDOMBreakpointArgs with the required arguments.
{ "resource": "" }
c19156
train
// NewRemoveEventListenerBreakpointArgs initializes RemoveEventListenerBreakpointArgs with the required arguments.
{ "resource": "" }
c19157
train
// NewRemoveInstrumentationBreakpointArgs initializes RemoveInstrumentationBreakpointArgs with the required arguments.
{ "resource": "" }
c19158
train
// NewRemoveXHRBreakpointArgs initializes RemoveXHRBreakpointArgs with the required arguments.
{ "resource": "" }
c19159
train
// NewSetDOMBreakpointArgs initializes SetDOMBreakpointArgs with the required arguments.
{ "resource": "" }
c19160
train
// NewSetEventListenerBreakpointArgs initializes SetEventListenerBreakpointArgs with the required arguments.
{ "resource": "" }
c19161
train
// NewSetInstrumentationBreakpointArgs initializes SetInstrumentationBreakpointArgs with the required arguments.
{ "resource": "" }
c19162
train
// NewSetXHRBreakpointArgs initializes SetXHRBreakpointArgs with the required arguments.
{ "resource": "" }
c19163
train
// SetPatterns sets the Patterns optional argument. If specified, only // requests matching any of these patterns will produce fetchRequested // event and will be paused until clients response. If not set, all // requests will be affected.
{ "resource": "" }
c19164
train
// SetHandleAuthRequests sets the HandleAuthRequests optional argument. // If true, authRequired events will be issued and requests will be // paused expecting a call to continueWithAuth.
{ "resource": "" }
c19165
train
// NewFailRequestArgs initializes FailRequestArgs with the required arguments.
{ "resource": "" }
c19166
train
// NewFulfillRequestArgs initializes FulfillRequestArgs with the required arguments.
{ "resource": "" }
c19167
train
// SetBody sets the Body optional argument. A response body.
{ "resource": "" }
c19168
train
// SetResponsePhrase sets the ResponsePhrase optional argument. A // textual representation of responseCode. If absent, a standard phrase // mathcing responseCode is used.
{ "resource": "" }
c19169
train
// NewContinueRequestArgs initializes ContinueRequestArgs with the required arguments.
{ "resource": "" }
c19170
train
// SetURL sets the URL optional argument. If set, the request url will // be modified in a way that's not observable by page.
{ "resource": "" }
c19171
train
// SetMethod sets the Method optional argument. If set, the request // method is overridden.
{ "resource": "" }
c19172
train
// SetPostData sets the PostData optional argument. If set, overrides // the post data in the request.
{ "resource": "" }
c19173
train
// SetHeaders sets the Headers optional argument. If set, overrides // the request headrts.
{ "resource": "" }
c19174
train
// NewContinueWithAuthArgs initializes ContinueWithAuthArgs with the required arguments.
{ "resource": "" }
c19175
train
// NewTakeResponseBodyAsStreamArgs initializes TakeResponseBodyAsStreamArgs with the required arguments.
{ "resource": "" }
c19176
train
// NewSetDeviceOrientationOverrideArgs initializes SetDeviceOrientationOverrideArgs with the required arguments.
{ "resource": "" }
c19177
train
// Error implements error for ExceptionDetails.
{ "resource": "" }
c19178
train
// String returns a human readable string of a runtime object.
{ "resource": "" }
c19179
train
// String returns a human readable string of the object preview.
{ "resource": "" }
c19180
train
// String returns a human readable string of the entry preview.
{ "resource": "" }
c19181
train
// EvaluateOnCallFrame invokes the Debugger method. Evaluates expression on a // given call frame.
{ "resource": "" }
c19182
train
// GetPossibleBreakpoints invokes the Debugger method. Returns possible // locations for breakpoint. scriptId in start and end range locations should // be the same.
{ "resource": "" }
c19183
train
// GetScriptSource invokes the Debugger method. Returns source for the script // with given id.
{ "resource": "" }
c19184
train
// GetStackTrace invokes the Debugger method. Returns stack trace with given // `stackTraceId`.
{ "resource": "" }
c19185
train
// RestartFrame invokes the Debugger method. Restarts particular call frame // from the beginning.
{ "resource": "" }
c19186
train
// SearchInContent invokes the Debugger method. Searches for given string in // script content.
{ "resource": "" }
c19187
train
// SetBreakpoint invokes the Debugger method. Sets JavaScript breakpoint at a // given location.
{ "resource": "" }
c19188
train
// SetBreakpointByURL invokes the Debugger method. Sets JavaScript breakpoint // at given location specified either by URL or URL regex. Once this command is // issued, all existing parsed scripts will have breakpoints resolved and // returned in `locations` property. Further matching script parsing will // result in s...
{ "resource": "" }
c19189
train
// SetBreakpointOnFunctionCall invokes the Debugger method. Sets JavaScript // breakpoint before each call to the given function. If another function was // created from the same source as a given one, calling it will also trigger // the breakpoint.
{ "resource": "" }
c19190
train
// SetScriptSource invokes the Debugger method. Edits JavaScript source live.
{ "resource": "" }
c19191
train
// Close closes the Manager and all active sessions. All rpcc.Conn // created by Dial will be closed.
{ "resource": "" }
c19192
train
// NewManager creates a new session Manager. // // The cdp.Client will be used to listen to events and invoke commands // on the Target domain. It will also be used by all rpcc.Conn created // by Dial.
{ "resource": "" }
c19193
train
// NewDispatchKeyEventArgs initializes DispatchKeyEventArgs with the required arguments.
{ "resource": "" }
c19194
train
// NewInsertTextArgs initializes InsertTextArgs with the required arguments.
{ "resource": "" }
c19195
train
// NewDispatchMouseEventArgs initializes DispatchMouseEventArgs with the required arguments.
{ "resource": "" }
c19196
train
// SetButtons sets the Buttons optional argument. A number indicating // which buttons are pressed on the mouse when a mouse event is // triggered. Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
{ "resource": "" }
c19197
train
// NewDispatchTouchEventArgs initializes DispatchTouchEventArgs with the required arguments.
{ "resource": "" }
c19198
train
// NewEmulateTouchFromMouseEventArgs initializes EmulateTouchFromMouseEventArgs with the required arguments.
{ "resource": "" }
c19199
train
// NewSetIgnoreInputEventsArgs initializes SetIgnoreInputEventsArgs with the required arguments.
{ "resource": "" }