Class TargetInfo
- java.lang.Object
-
- org.openqa.selenium.devtools.v102.target.model.TargetInfo
-
public class TargetInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getAttached()
Whether the target has an attached client.java.util.Optional<BrowserContextID>
getBrowserContextId()
java.lang.Boolean
getCanAccessOpener()
Whether the target has access to the originating window.java.util.Optional<FrameId>
getOpenerFrameId()
Frame id of originating window (is only set if target has an opener).java.util.Optional<TargetID>
getOpenerId()
Opener target IdTargetID
getTargetId()
java.lang.String
getTitle()
java.lang.String
getType()
java.lang.String
getUrl()
-
-
-
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()
-
-