Class TargetInfo
java.lang.Object
org.openqa.selenium.devtools.v141.target.model.TargetInfo
-
Constructor Summary
ConstructorsConstructorDescriptionTargetInfo(TargetID targetId, String type, String title, String url, Boolean attached, Optional<TargetID> openerId, Boolean canAccessOpener, Optional<FrameId> openerFrameId, Optional<FrameId> parentFrameId, Optional<BrowserContextID> browserContextId, Optional<String> subtype) -
Method Summary
Modifier and TypeMethodDescriptionWhether the target has an attached client.Whether the target has access to the originating window.Frame id of originating window (is only set if target has an opener).Opener target IdId of the parent frame, only present for the "iframe" targets.Provides additional details for specific target types.getTitle()getType()List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromiuminvalid input: '&q'=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22getUrl()
-
Constructor Details
-
TargetInfo
-
-
Method Details
-
getTargetId
-
getType
List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromiuminvalid input: '&q'=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22 -
getTitle
-
getUrl
-
getAttached
Whether the target has an attached client. -
getOpenerId
Opener target Id -
getCanAccessOpener
Whether the target has access to the originating window. -
getOpenerFrameId
Frame id of originating window (is only set if target has an opener). -
getParentFrameId
Id of the parent frame, only present for the "iframe" targets. -
getBrowserContextId
-
getSubtype
Provides additional details for specific target types. For example, for the type of "page", this may be set to "prerender".
-