puppeteer/new-docs/puppeteer.frameaddstyletagoptions.path.md

19 lines
561 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md) &gt; [path](./puppeteer.frameaddstyletagoptions.path.md)
## FrameAddStyleTagOptions.path property
The path to a CSS file to be injected into the frame.
<b>Signature:</b>
```typescript
path?: string;
```
## Remarks
If `path` is a relative path, it is resolved relative to the current working directory (`process.cwd()` in Node.js).