-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove unnecessary type signature * chore: fix tests * chore: migrate `addStyleTag` * chore: fix tests * chore: fix tests
- Loading branch information
1 parent
8f11237
commit 6b4a99f
Showing
10 changed files
with
180 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
sidebar_label: Frame.addStyleTag_1 | ||
--- | ||
|
||
# Frame.addStyleTag() method | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
class Frame { | ||
addStyleTag( | ||
options: FrameAddStyleTagOptions | ||
): Promise<ElementHandle<HTMLLinkElement>>; | ||
} | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ----------------------------------------------------------------- | ----------- | | ||
| options | [FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md) | | | ||
|
||
**Returns:** | ||
|
||
Promise<[ElementHandle](./puppeteer.elementhandle.md)<HTMLLinkElement>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
sidebar_label: Page.addStyleTag_1 | ||
--- | ||
|
||
# Page.addStyleTag() method | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
class Page { | ||
addStyleTag( | ||
options: FrameAddStyleTagOptions | ||
): Promise<ElementHandle<HTMLLinkElement>>; | ||
} | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ----------------------------------------------------------------- | ----------- | | ||
| options | [FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md) | | | ||
|
||
**Returns:** | ||
|
||
Promise<[ElementHandle](./puppeteer.elementhandle.md)<HTMLLinkElement>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.