← Back to Page domain

Page.reload

Reloads given page optionally ignoring the cache.

Domain: Page stable

Parameters

NameTypeDescription
ignoreCache (optional)booleanIf true, browser cache is ignored (as if the user pressed Shift+refresh).
scriptToEvaluateOnLoad (optional)stringIf 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.LoaderIdIf 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.

Example Request

{
  "id": 1,
  "method": "Page.reload"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Page.reload');
console.log(result);