Class AddTagOptions
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Options used by AddScriptTagAsync(AddTagOptions) & AddStyleTagAsync(AddTagOptions).
public class AddTagOptions
- Inheritance
-
AddTagOptions
Properties
Content
JavaScript to be injected into the frame.
public string Content { get; set; }
Property Value
Id
Id of the script.
public object Id { get; set; }
Property Value
Path
Path to the JavaScript file to be injected into frame. If its a relative path, then it is resolved relative to GetCurrentDirectory().
public string Path { get; set; }
Property Value
Type
Script type. Use module
in order to load a Javascript ES2015 module.
public string Type { get; set; }
Property Value
- See Also
Url
Url of a script to be added.
public string Url { get; set; }