Class Frame.AddScriptTagOptions

java.lang.Object
com.microsoft.playwright.Frame.AddScriptTagOptions
Enclosing interface:
Frame

public static class Frame.AddScriptTagOptions extends Object
  • Field Details

    • content

      public String content
      Raw JavaScript content to be injected into frame.
    • path

      public Path path
      Path to the JavaScript file to be injected into frame. If path is a relative path, then it is resolved relative to the current working directory.
    • type

      public String type
      Script type. Use 'module' in order to load a Javascript ES6 module. See script for more details.
    • url

      public String url
      URL of a script to be added.
  • Constructor Details

    • AddScriptTagOptions

      public AddScriptTagOptions()
  • Method Details