puppeteer/new-docs/puppeteer.page.addstyletag.md

27 lines
669 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; [Page](./puppeteer.page.md) &gt; [addStyleTag](./puppeteer.page.addstyletag.md)
## Page.addStyleTag() method
<b>Signature:</b>
```typescript
addStyleTag(options: {
url?: string;
path?: string;
content?: string;
}): Promise<ElementHandle>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | { url?: string; path?: string; content?: string; } | |
<b>Returns:</b>
Promise&lt;[ElementHandle](./puppeteer.elementhandle.md)<!-- -->&gt;