Page Domain
Actions and events related to the inspected page belong to the page domain.
Methods
Types
Methods
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
ignoreCacheOptional
booleanIf true, browser cache is ignored (as if the user pressed Shift+refresh).
scriptToEvaluateOnLoadOptional
stringIf set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.
loaderIdOptional
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.