Skip to content

AddTagOptions

Namespace: PuppeteerSharp

public class AddTagOptions

Options used by AddScriptTagAsync(AddTagOptions) & AddStyleTagAsync(AddTagOptions).

Inheritance: object

View source

public string Content { get; set; }

JavaScript to be injected into the frame.

Value: string

View source

public object Id { get; set; }

Id of the script.

Value: object

View source

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

View source

public string Type { get; set; }

Script type. Use module in order to load a Javascript ES2015 module.

Value: string

View source

public string Url { get; set; }

Url of a script to be added.

Value: string

View source

Made with love by Dario Kondratiuk