Class TargetInfo
java.lang.Object
org.openqa.selenium.devtools.v150.target.model.TargetInfo
-
Constructor Summary
ConstructorsConstructorDescriptionTargetInfo(TargetID targetId, String type, String title, String url, Boolean attached, Optional<TargetID> parentId, Optional<TargetID> openerId, Boolean canAccessOpener, Optional<FrameId> openerFrameId, Optional<FrameId> parentFrameId, Optional<BrowserContextID> browserContextId, Optional<String> subtype, Optional<Map<String, Object>> embedderData) -
Method Summary
Modifier and TypeMethodDescriptionWhether the target has an attached client.Whether the target has access to the originating window.Embedder-specific target metadata.Frame id of originating window (is only set if target has an opener).Opener target IdId of the parent frame, present for "iframe" and "worker" targets.Id of the parent target, if any.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
public TargetInfo(TargetID targetId, String type, String title, String url, Boolean attached, Optional<TargetID> parentId, Optional<TargetID> openerId, Boolean canAccessOpener, Optional<FrameId> openerFrameId, Optional<FrameId> parentFrameId, Optional<BrowserContextID> browserContextId, Optional<String> subtype, Optional<Map<String, Object>> embedderData)
-
-
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. -
getParentId
-
getOpenerId
-
getCanAccessOpener
Whether the target has access to the originating window. -
getOpenerFrameId
-
getParentFrameId
-
getBrowserContextId
-
getSubtype
-
getEmbedderData
-