Class TargetInfo


  • public class TargetInfo
    extends java.lang.Object
    • Constructor Detail

      • TargetInfo

        public TargetInfo​(TargetID targetId,
                          java.lang.String type,
                          java.lang.String title,
                          java.lang.String url,
                          java.lang.Boolean attached,
                          java.util.Optional<TargetID> openerId,
                          java.lang.Boolean canAccessOpener,
                          java.util.Optional<FrameId> openerFrameId,
                          java.util.Optional<BrowserContextID> browserContextId)
    • Method Detail

      • getTargetId

        public TargetID getTargetId()
      • getType

        public java.lang.String getType()
      • getTitle

        public java.lang.String getTitle()
      • getUrl

        public java.lang.String getUrl()
      • getAttached

        public java.lang.Boolean getAttached()
        Whether the target has an attached client.
      • getOpenerId

        public java.util.Optional<TargetID> getOpenerId()
        Opener target Id
      • getCanAccessOpener

        @Beta
        public java.lang.Boolean getCanAccessOpener()
        Whether the target has access to the originating window.
      • getOpenerFrameId

        @Beta
        public java.util.Optional<FrameId> getOpenerFrameId()
        Frame id of originating window (is only set if target has an opener).
      • getBrowserContextId

        @Beta
        public java.util.Optional<BrowserContextID> getBrowserContextId()