Skip to content

Latest commit

 

History

History
97 lines (53 loc) · 956 Bytes

puppeteer.frameaddstyletagoptions.md

File metadata and controls

97 lines (53 loc) · 956 Bytes
sidebar_label
FrameAddStyleTagOptions

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.