AddTagOptions
Namespace: PuppeteerSharp
public class AddTagOptionsOptions used by AddScriptTagAsync(AddTagOptions) & AddStyleTagAsync(AddTagOptions).
Inheritance: object
Properties
Section titled “Properties”Content
Section titled “Content”public string Content { get; set; }JavaScript to be injected into the frame.
Value: string
public object Id { get; set; }Id of the script.
Value: object
public string Path { get; set; }Path to the JavaScript file to be injected into frame. If its a relative path, then it is resolved relative to GetCurrentDirectory().
Value: string
public string Type { get; set; }Script type. Use module in order to load a Javascript ES2015 module.
Value: string
public string Url { get; set; }Url of a script to be added.
Value: string
Made with love by Dario Kondratiuk