Class AdScriptIdentifier

java.lang.Object
org.openqa.selenium.devtools.v148.network.model.AdScriptIdentifier

@Beta public class AdScriptIdentifier extends Object
Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.
  • Constructor Details

  • Method Details

    • getScriptId

      public ScriptId getScriptId()
      The script's V8 identifier.
    • getDebuggerId

      public UniqueDebuggerId getDebuggerId()
      V8's debugging ID for the v8::Context.
    • getName

      public String getName()
      The script's url (or generated name based on id if inline script).