Chrome Remote Interface v0.0.3 ChromeRemoteInterface.RPC.Network View Source
Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.
Link to this section Summary
Functions
Tells whether clearing browser cache is supported
Tells whether clearing browser cookies is supported
Tells whether emulation of network conditions is supported
Clears browser cache
Clears browser cookies
Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId
Deletes browser cookie with given name, domain and path
Disables network tracking, prevents network events from being sent to the client
Activates emulation of network conditions
Enables network tracking, network events will now be delivered to the client
Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies
field
Returns the DER-encoded certificate
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies
field
Returns content served for the given request
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
Blocks URLs from loading
Toggles ignoring of service worker for each request
Toggles ignoring cache for each request. If true
, cache will not be used
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist
For testing
Specifies whether to always send extra HTTP headers with the requests from this page
Allows overriding user agent with the given string
Link to this section Functions
Tells whether clearing browser cache is supported.
Parameters:
Tells whether clearing browser cookies is supported.
Parameters:
Tells whether emulation of network conditions is supported.
Parameters:
Clears browser cache.
Parameters:
Clears browser cookies.
Parameters:
Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId.
Parameters:
interceptionId -
Deletes browser cookie with given name, domain and path.
Parameters:
cookieName -
Disables network tracking, prevents network events from being sent to the client.
Parameters:
Activates emulation of network conditions.
Parameters:
offline -
Enables network tracking, network events will now be delivered to the client.
Parameters:
maxTotalBufferSize -
Parameters:
enabled -
Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies
field.
Parameters:
Returns the DER-encoded certificate.
Parameters:
origin -
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies
field.
Parameters:
urls -
Returns content served for the given request.
Parameters:
requestId -
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.
Parameters:
requestId -
Blocks URLs from loading.
Parameters:
urls -
Toggles ignoring of service worker for each request.
Parameters:
bypass -
Toggles ignoring cache for each request. If true
, cache will not be used.
Parameters:
cacheDisabled -
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
Parameters:
url -
For testing.
Parameters:
maxTotalSize -
Specifies whether to always send extra HTTP headers with the requests from this page.
Parameters:
headers -
Allows overriding user agent with the given string.
Parameters:
userAgent -