puppeteer/docs/api/puppeteer.frameaddstyletagoptions.md

94 lines
753 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: FrameAddStyleTagOptions
---
# FrameAddStyleTagOptions interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface FrameAddStyleTagOptions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
content
</td><td>
`optional`
</td><td>
string
</td><td>
Raw CSS content to be injected into the frame.
</td><td>
</td></tr>
<tr><td>
path
</td><td>
`optional`
</td><td>
string
</td><td>
The path to a CSS file to be injected into the frame.
</td><td>
</td></tr>
<tr><td>
url
</td><td>
`optional`
</td><td>
string
</td><td>
the URL of the CSS file to be added.
</td><td>
</td></tr>
</tbody></table>