Skip to main content

Module commands

Module commands 

Source

Structs§

ClearAcceptedEncodingsOverride
Clears accepted encodings set by setAcceptedEncodings clearAcceptedEncodingsOverride
ClearAcceptedEncodingsOverrideParams
Clears accepted encodings set by setAcceptedEncodings clearAcceptedEncodingsOverride
ClearBrowserCache
Clears browser cache. clearBrowserCache
ClearBrowserCacheParams
Clears browser cache. clearBrowserCache
ClearBrowserCookies
Clears browser cookies. clearBrowserCookies
ClearBrowserCookiesParams
Clears browser cookies. clearBrowserCookies
ConfigureDurableMessages
Configures storing response bodies outside of renderer, so that these survive a cross-process navigation. If maxTotalBufferSize is not set, durable messages are disabled. configureDurableMessages
ConfigureDurableMessagesParams
Configures storing response bodies outside of renderer, so that these survive a cross-process navigation. If maxTotalBufferSize is not set, durable messages are disabled. configureDurableMessages
DeleteCookies
Deletes browser cookies with matching name and url or domain/path/partitionKey pair. deleteCookies
DeleteCookiesParams
Deletes browser cookies with matching name and url or domain/path/partitionKey pair. deleteCookies
Disable
Disables network tracking, prevents network events from being sent to the client. disable
DisableParams
Disables network tracking, prevents network events from being sent to the client. disable
EmulateNetworkConditionsByRule
Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect navigator state. Use Network.overrideNetworkState to explicitly modify navigator behavior. emulateNetworkConditionsByRule
EmulateNetworkConditionsByRuleParams
Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect navigator state. Use Network.overrideNetworkState to explicitly modify navigator behavior. emulateNetworkConditionsByRule
Enable
Enables network tracking, network events will now be delivered to the client. enable
EnableDeviceBoundSessions
Sets up tracking device bound sessions and fetching of initial set of sessions. enableDeviceBoundSessions
EnableDeviceBoundSessionsParams
Sets up tracking device bound sessions and fetching of initial set of sessions. enableDeviceBoundSessions
EnableParams
Enables network tracking, network events will now be delivered to the client. enable
EnableReportingApi
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers ‘reportingApiReportAdded’ for all existing reports. enableReportingApi
EnableReportingApiParams
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers ‘reportingApiReportAdded’ for all existing reports. enableReportingApi
FetchSchemefulSite
Fetches the schemeful site for a specific origin. fetchSchemefulSite
FetchSchemefulSiteParams
Fetches the schemeful site for a specific origin. fetchSchemefulSite
GetCertificate
Returns the DER-encoded certificate. getCertificate
GetCertificateParams
Returns the DER-encoded certificate. getCertificate
GetCookies
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field. getCookies
GetCookiesParams
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field. getCookies
GetRequestPostData
Returns post data sent with the request. Returns an error when no data was sent with the request. getRequestPostData
GetRequestPostDataParams
Returns post data sent with the request. Returns an error when no data was sent with the request. getRequestPostData
GetResponseBody
Returns content served for the given request. getResponseBody
GetResponseBodyForInterception
Returns content served for the given currently intercepted request. getResponseBodyForInterception
GetResponseBodyForInterceptionParams
Returns content served for the given currently intercepted request. getResponseBodyForInterception
GetResponseBodyParams
Returns content served for the given request. getResponseBody
GetSecurityIsolationStatus
Returns information about the COEP/COOP isolation status. getSecurityIsolationStatus
GetSecurityIsolationStatusParams
Returns information about the COEP/COOP isolation status. getSecurityIsolationStatus
LoadNetworkResource
Fetches the resource and returns the content. loadNetworkResource
LoadNetworkResourceParams
Fetches the resource and returns the content. loadNetworkResource
OverrideNetworkState
Override the state of navigator.onLine and navigator.connection. overrideNetworkState
OverrideNetworkStateParams
Override the state of navigator.onLine and navigator.connection. overrideNetworkState
ReplayXhr
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. replayXHR
ReplayXhrParams
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. replayXHR
SearchInResponseBody
Searches for given string in response content. searchInResponseBody
SearchInResponseBodyParams
Searches for given string in response content. searchInResponseBody
SetAcceptedEncodings
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted. setAcceptedEncodings
SetAcceptedEncodingsParams
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted. setAcceptedEncodings
SetAttachDebugStack
Specifies whether to attach a page script stack id in requests setAttachDebugStack
SetAttachDebugStackParams
Specifies whether to attach a page script stack id in requests setAttachDebugStack
SetBlockedUrLs
Blocks URLs from loading. setBlockedURLs
SetBlockedUrLsParams
Blocks URLs from loading. setBlockedURLs
SetBypassServiceWorker
Toggles ignoring of service worker for each request. setBypassServiceWorker
SetBypassServiceWorkerParams
Toggles ignoring of service worker for each request. setBypassServiceWorker
SetCacheDisabled
Toggles ignoring cache for each request. If true, cache will not be used. setCacheDisabled
SetCacheDisabledParams
Toggles ignoring cache for each request. If true, cache will not be used. setCacheDisabled
SetCookie
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. setCookie
SetCookieControls
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed setCookieControls
SetCookieControlsParams
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed setCookieControls
SetCookieParams
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. setCookie
SetCookies
Sets given cookies. setCookies
SetCookiesParams
Sets given cookies. setCookies
SetExtraHttpHeaders
Specifies whether to always send extra HTTP headers with the requests from this page. setExtraHTTPHeaders
SetExtraHttpHeadersParams
Specifies whether to always send extra HTTP headers with the requests from this page. setExtraHTTPHeaders
SetUserAgentOverride
Allows overriding user agent with the given string. setUserAgentOverride
SetUserAgentOverrideParams
Allows overriding user agent with the given string. setUserAgentOverride
StreamResourceContent
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming. streamResourceContent
StreamResourceContentParams
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming. streamResourceContent
TakeResponseBodyForInterceptionAsStream
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can’t be continued as is – you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified. takeResponseBodyForInterceptionAsStream
TakeResponseBodyForInterceptionAsStreamParams
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can’t be continued as is – you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified. takeResponseBodyForInterceptionAsStream

Enums§

ClearAcceptedEncodingsOverrideMethod
ClearBrowserCacheMethod
ClearBrowserCookiesMethod
ConfigureDurableMessagesMethod
DeleteCookiesMethod
DisableMethod
EmulateNetworkConditionsByRuleMethod
EnableDeviceBoundSessionsMethod
EnableMethod
EnableReportingApiMethod
FetchSchemefulSiteMethod
GetCertificateMethod
GetCookiesMethod
GetRequestPostDataMethod
GetResponseBodyForInterceptionMethod
GetResponseBodyMethod
GetSecurityIsolationStatusMethod
LoadNetworkResourceMethod
NetworkCommands
OverrideNetworkStateMethod
ReplayXhrMethod
SearchInResponseBodyMethod
SetAcceptedEncodingsMethod
SetAttachDebugStackMethod
SetBlockedUrLsMethod
SetBypassServiceWorkerMethod
SetCacheDisabledMethod
SetCookieControlsMethod
SetCookieMethod
SetCookiesMethod
SetExtraHttpHeadersMethod
SetUserAgentOverrideMethod
StreamResourceContentMethod
TakeResponseBodyForInterceptionAsStreamMethod