Class FrameAttached
- java.lang.Object
-
- org.openqa.selenium.devtools.v104.page.model.FrameAttached
-
public class FrameAttached extends java.lang.Object
Fired when frame has been attached to its parent.
-
-
Constructor Summary
Constructors Constructor Description FrameAttached(FrameId frameId, FrameId parentFrameId, java.util.Optional<StackTrace> stack, java.util.Optional<AdScriptId> adScriptId)
-
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.
-
-
-
Constructor Detail
-
FrameAttached
public FrameAttached(FrameId frameId, FrameId parentFrameId, java.util.Optional<StackTrace> stack, java.util.Optional<AdScriptId> adScriptId)
-
-
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.
-
-