Chrome DevTools

1.0: Page

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

Commands

Page.disable

request: {
"id": <number>,
"method": "Page.disable"
}
response: {
"id": <number>,
"error": <object>
}

Disables page domain notifications.

Page.enable

request: {
"id": <number>,
"method": "Page.enable"
}
response: {
"id": <number>,
"error": <object>
}

Enables page domain notifications.

Page.navigate

request: {
"id": <number>,
"method": "Page.navigate",
"params": {
  "url": <string>
}
}
response: {
"id": <number>,
"error": <object>
}

Navigates current page to the given URL.

Parameters

url
( string )
URL to navigate the page to.

Page.reload

request: {
"id": <number>,
"method": "Page.reload",
"params": {
  "ignoreCache": <boolean>,
  "scriptToEvaluateOnLoad": <string>
}
}
response: {
"id": <number>,
"error": <object>
}

Reloads given page optionally ignoring the cache.

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.

Notifications

Page.domContentEventFired

{
"method": "Page.domContentEventFired",
"params": {
  "timestamp": <number>
}
}

Parameters

timestamp
( number )

Page.loadEventFired

{
"method": "Page.loadEventFired",
"params": {
  "timestamp": <number>
}
}

Parameters

timestamp
( number )

Types

ResourceType: enumerated string

[ "Document" , "Font" , "Image" , "Other" , "Script" , "Stylesheet" , "WebSocket" , "XHR" ]

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.