Page
Source: /
Stats about a page
Any page that is navigated to is saved in the test results.
Provides access to requests made by the browser.
Allows the page name to be queried/changed.
Properties
domContentLoadedTime Date
error String
The error if any that occurred when navigating to this page
firstPaintAfterLoadTime Date
firstPaintTime Date
frameId String
The internal frame id of the page's root frame.
name String
The page name.
By default the page name is null.
- See also
- module:Browser#newPage
navCommitTime Date
navEndTime Date
navigationType String
The navigation event that caused the page to be loaded. Examples include: Unknown, Link, Typed, AutoBookmark, AutoSubFrame, ManualSubFrame, Generated, StartPage, FormSubmit, Reload, Keyword, KeywordGenerated
navStartTime Date
numDomElements String
Number of dom elements once the page has fully loaded.
numFrames String
Number of frames on the page after it finished loading
origUrl String
The initial URL issue to navigate to this page.
pageId String
The unique id of the page in this test
processId String
The internal process id that loaded the page
protocol String
The main HTTP protocol used to issue the page navigation.
requests Array of module:Request
The requests made by the browser
state String
The state of the page, let's you know if the page has loaded fully or if there has been an error.
tabId String
The internal tab id of the page.
url String
The URL of the page once any redirects have been followed.