Table of Contents

Class PageAddStyleTagOptions

Namespace
Microsoft.Playwright
Assembly
Microsoft.Playwright.dll
public class PageAddStyleTagOptions
Inheritance
PageAddStyleTagOptions
Inherited Members

Constructors

PageAddStyleTagOptions()

public PageAddStyleTagOptions()

PageAddStyleTagOptions(PageAddStyleTagOptions)

public PageAddStyleTagOptions(PageAddStyleTagOptions clone)

Parameters

clone PageAddStyleTagOptions

Properties

Content

Raw CSS content to be injected into frame.

[JsonPropertyName("content")]
public string? Content { get; set; }

Property Value

string

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

string

Url

URL of the <link> tag.

[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string