Class FrameAttached


  • public class FrameAttached
    extends java.lang.Object
    Fired when frame has been attached to its parent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<AdScriptId> getAdScriptId()
      Identifies the bottom-most script which caused the frame to be labelled as an ad.
      FrameId getFrameId()
      Id of the frame that has been attached.
      FrameId getParentFrameId()
      Parent frame identifier.
      java.util.Optional<StackTrace> getStack()
      JavaScript stack trace of when frame was attached, only set if frame initiated from script.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getFrameId

        public FrameId getFrameId()
        Id of the frame that has been attached.
      • getParentFrameId

        public FrameId getParentFrameId()
        Parent frame identifier.
      • getStack

        public java.util.Optional<StackTrace> getStack()
        JavaScript stack trace of when frame was attached, only set if frame initiated from script.
      • getAdScriptId

        @Beta
        public java.util.Optional<AdScriptId> getAdScriptId()
        Identifies the bottom-most script which caused the frame to be labelled as an ad. Only sent if frame is labelled as an ad and id is available.