Class Page.AddScriptTagOptions

  • Enclosing interface:
    Page

    public static class Page.AddScriptTagOptions
    extends Object
    • Field Detail

      • 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 Detail

      • AddScriptTagOptions

        public AddScriptTagOptions()