Skip to main content
Version: 22.14.0

FrameAddStyleTagOptions interface

Signature:

export interface FrameAddStyleTagOptions

Properties

Property

Modifiers

Type

Description

Default

content

optional

string

Raw CSS content to be injected into the frame.

path

optional

string

The path to a CSS file to be injected into the frame.

Remarks:

If path is a relative path, it is resolved relative to the current working directory (process.cwd() in Node.js).

url

optional

string

the URL of the CSS file to be added.