Class Frame

java.lang.Object
io.webfolder.cdp.type.page.Frame

public class Frame extends Object
Information about the Frame on the page
  • Constructor Details

    • Frame

      public Frame()
  • Method Details

    • getId

      public String getId()
      Frame unique identifier.
    • setId

      public void setId(String id)
      Frame unique identifier.
    • getParentId

      public String getParentId()
      Parent frame identifier.
    • setParentId

      public void setParentId(String parentId)
      Parent frame identifier.
    • getLoaderId

      public String getLoaderId()
      Identifier of the loader associated with this frame.
    • setLoaderId

      public void setLoaderId(String loaderId)
      Identifier of the loader associated with this frame.
    • getName

      public String getName()
      Frame's name as specified in the tag.
    • setName

      public void setName(String name)
      Frame's name as specified in the tag.
    • getUrl

      public String getUrl()
      Frame document's URL without fragment.
    • setUrl

      public void setUrl(String url)
      Frame document's URL without fragment.
    • getUrlFragment

      public String getUrlFragment()
      Frame document's URL fragment including the '#'.
    • setUrlFragment

      public void setUrlFragment(String urlFragment)
      Frame document's URL fragment including the '#'.
    • getDomainAndRegistry

      public String getDomainAndRegistry()
      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"
    • setDomainAndRegistry

      public void setDomainAndRegistry(String domainAndRegistry)
      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"
    • getSecurityOrigin

      public String getSecurityOrigin()
      Frame document's security origin.
    • setSecurityOrigin

      public void setSecurityOrigin(String securityOrigin)
      Frame document's security origin.
    • getMimeType

      public String getMimeType()
      Frame document's mimeType as determined by the browser.
    • setMimeType

      public void setMimeType(String mimeType)
      Frame document's mimeType as determined by the browser.
    • getUnreachableUrl

      public String getUnreachableUrl()
      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.
    • setUnreachableUrl

      public void setUnreachableUrl(String unreachableUrl)
      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.
    • getAdFrameType

      public AdFrameType getAdFrameType()
      Indicates whether this frame was tagged as an ad.
    • setAdFrameType

      public void setAdFrameType(AdFrameType adFrameType)
      Indicates whether this frame was tagged as an ad.
    • getSecureContextType

      public SecureContextType getSecureContextType()
      Indicates whether the main document is a secure context and explains why that is the case.
    • setSecureContextType

      public void setSecureContextType(SecureContextType secureContextType)
      Indicates whether the main document is a secure context and explains why that is the case.
    • getCrossOriginIsolatedContextType

      public CrossOriginIsolatedContextType getCrossOriginIsolatedContextType()
      Indicates whether this is a cross origin isolated context.
    • setCrossOriginIsolatedContextType

      public void setCrossOriginIsolatedContextType(CrossOriginIsolatedContextType crossOriginIsolatedContextType)
      Indicates whether this is a cross origin isolated context.
    • getGatedAPIFeatures

      public List<GatedAPIFeatures> getGatedAPIFeatures()
      Indicated which gated APIs / features are available.
    • setGatedAPIFeatures

      public void setGatedAPIFeatures(List<GatedAPIFeatures> gatedAPIFeatures)
      Indicated which gated APIs / features are available.
    • getOriginTrials

      public List<OriginTrial> getOriginTrials()
      Frame document's origin trials with at least one token present.
    • setOriginTrials

      public void setOriginTrials(List<OriginTrial> originTrials)
      Frame document's origin trials with at least one token present.