Class FrameAddStyleTagOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class FrameAddStyleTagOptions
- Inheritance
-
FrameAddStyleTagOptions
- Inherited Members
Constructors
FrameAddStyleTagOptions()
public FrameAddStyleTagOptions()
FrameAddStyleTagOptions(FrameAddStyleTagOptions)
public FrameAddStyleTagOptions(FrameAddStyleTagOptions clone)
Parameters
clone
FrameAddStyleTagOptions
Properties
Content
Raw CSS content to be injected into frame.
[JsonPropertyName("content")]
public string? Content { get; set; }
Property Value
Path
Path to the CSS file to be injected into frame. If path
is a relative path,
then it is resolved relative to the current working directory.
[JsonPropertyName("path")]
public string? Path { get; set; }
Property Value
Url
URL of the <link>
tag.
[JsonPropertyName("url")]
public string? Url { get; set; }