description | title | author | ms.author | ms.date | ms.topic | ms.prod |
---|---|---|---|---|---|---|
Reference for the Page Domain. Actions and events related to the inspected page belong to the page domain. |
Page Domain - DevTools Protocol Version 0.2 |
pelavall |
pelavall |
8/17/2018 |
reference |
microsoft-edge |
Actions and events related to the inspected page belong to the page domain.
Methods | enable, disable, navigate, getFrameTree |
Events | frameAttached, frameDetached, frameNavigated, loadEventFired, domContentEventFired |
Types | FrameId, Frame, FrameTree |
Enables page domain notifications.
Disables page domain notifications.
Navigates current page to the given URL.
Parameters | ||
---|---|---|
url | string |
URL to navigate the page to. |
frameId optional |
FrameId |
Frame id to navigate. If not specified, will navigate the top page. |
Returns | ||
---|---|---|
frameId | FrameId |
Frame id that will be navigated. |
Returns present frame tree structure.
Returns | ||
---|---|---|
frameTree | FrameTree |
Present frame tree structure. |
Fired when frame has been attached to its parent.
Parameters | ||
---|---|---|
frameId | FrameId |
Id of the frame that has been attached. |
parentFrameId | FrameId |
Parent frame identifier. |
stack optional |
Runtime.StackTrace |
JavaScript stack trace of when frame was attached, only set if frame initiated from script. |
Fired when frame has been detached from its parent.
Parameters | ||
---|---|---|
frameId | FrameId |
Id of the frame that has been detached. |
Fired once navigation of the frame has completed.
Parameters | ||
---|---|---|
frame | Frame |
Frame object. |
Corresponds to the window.onload event.
Parameters | ||
---|---|---|
timestamp | number |
Number of milliseconds since epoch. |
Corresponds to the document.onDOMContentLoaded event.
Parameters | ||
---|---|---|
timestamp | number |
Number of milliseconds since epoch. |
Unique frame identifier.
Information about the Frame on the Page.
Properties | ||
---|---|---|
id | FrameId |
Frame unique identifier. |
parentId optional |
FrameId |
Parent frame unique identifier. |
name optional |
string |
Frame's name as specified in the tag. |
url | string |
Frame document's URL. |
securityOrigin | string |
Frame document's security origin. |
mimeType | string |
Frame document's mimeType as determined by the browser. |
Information about the Frame hierarchy.
Properties | ||
---|---|---|
frame | Frame |
Frame information for this tree item. |
childFrames optional |
FrameTree[] |
Child frames. |