puppeteer/new-docs/puppeteer.protocol.page.frame.md
Maksim Sadym 62ac167339
feat(chromium): roll Chromium to r800071 (#6407)
* roll Chromium to version 86, r800071
* roll Chrome DevTools protocol version to 0.0.799653
* fix HTTPRequest.continue after
  * CDP: accept post data in the binary form in Fetch.continueRequest.
    https://chromium-review.googlesource.com/c/chromium/src/+/2315239
* update new-docs
2020-09-09 21:23:46 +02:00

2.7 KiB

Home > puppeteer > Protocol > Page > Frame

Protocol.Page.Frame interface

Information about the Frame on the page.

Signature:

export interface Frame 

Properties

Property Type Description
adFrameType AdFrameType Indicates whether this frame was tagged as an ad.
crossOriginIsolatedContextType CrossOriginIsolatedContextType Indicates whether this is a cross origin isolated context.
domainAndRegistry string Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"
id FrameId Frame unique identifier.
loaderId Network.LoaderId Identifier of the loader associated with this frame.
mimeType string Frame document's mimeType as determined by the browser.
name string Frame's name as specified in the tag.
parentId string Parent frame identifier.
secureContextType SecureContextType Indicates whether the main document is a secure context and explains why that is the case.
securityOrigin string Frame document's security origin.
unreachableUrl string If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
url string Frame document's URL without fragment.
urlFragment string Frame document's URL fragment including the '#'.