| Modifier and Type | Field and Description |
|---|---|
String |
content
Raw JavaScript content to be injected into frame.
|
Path |
path
Path to the JavaScript file to be injected into frame.
|
String |
type
Script type.
|
String |
url
URL of a script to be added.
|
| Constructor and Description |
|---|
AddScriptTagOptions() |
| Modifier and Type | Method and Description |
|---|---|
Frame.AddScriptTagOptions |
setContent(String content) |
Frame.AddScriptTagOptions |
setPath(Path path) |
Frame.AddScriptTagOptions |
setType(String type) |
Frame.AddScriptTagOptions |
setUrl(String url) |
public String content
public Path path
path is a relative path, then it is resolved relative to the
current working directory.public String type
public String url
public Frame.AddScriptTagOptions setContent(String content)
public Frame.AddScriptTagOptions setPath(Path path)
public Frame.AddScriptTagOptions setType(String type)
public Frame.AddScriptTagOptions setUrl(String url)
Copyright © 2021. All rights reserved.