Chrome DevTools

Page Domain

Actions and events related to the inspected page belong to the page domain.

Methods

Methods

React NativeChrome DevTools

Page.reload #

Reloads given page optionally ignoring the cache.

It isn't clear what the ignoreCache parameter of @cdp Page.reload should mean in React Native. We parse it, but don't do anything with it yet.

TODO: Implement scriptToEvaluateOnLoad parameter of @cdp Page.reload.

Parameters

ignoreCache
Optional
boolean

If true, browser cache is ignored (as if the user pressed Shift+refresh).

scriptToEvaluateOnLoad
Optional
string

If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.

loaderId
Optional
Network.LoaderId

If set, an error will be thrown if the target page's main frame's loader id does not match the provided id. This prevents accidentally reloading an unintended target in case there's a racing navigation.

Experimental