mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(main): release 17.1.0 (#8894)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
parent
e2d6be1c29
commit
f9e758e31d
@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "17.0.0"
|
||||
".": "17.1.0"
|
||||
}
|
||||
|
14
CHANGELOG.md
14
CHANGELOG.md
@ -2,6 +2,20 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
## [17.1.0](https://github.com/puppeteer/puppeteer/compare/v17.0.0...v17.1.0) (2022-09-02)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **chromium:** roll to Chromium 106.0.5249.0 (r1036745) ([#8869](https://github.com/puppeteer/puppeteer/issues/8869)) ([6e9a47a](https://github.com/puppeteer/puppeteer/commit/6e9a47a6faa06d241dec0bcf7bcdf49370517008))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* allow getting a frame from an elementhandle ([#8875](https://github.com/puppeteer/puppeteer/issues/8875)) ([3732757](https://github.com/puppeteer/puppeteer/commit/3732757450b4363041ccbacc3b236289a156abb0))
|
||||
* typos in documentation ([#8858](https://github.com/puppeteer/puppeteer/issues/8858)) ([8d95a9b](https://github.com/puppeteer/puppeteer/commit/8d95a9bc920b98820aa655ad4eb2d8fd9b2b893a))
|
||||
* use the timeout setting in waitForFileChooser ([#8856](https://github.com/puppeteer/puppeteer/issues/8856)) ([f477b46](https://github.com/puppeteer/puppeteer/commit/f477b46f212da9206102da695697760eea539f05))
|
||||
|
||||
## [17.0.0](https://github.com/puppeteer/puppeteer/compare/v16.2.0...v17.0.0) (2022-08-26)
|
||||
|
||||
|
||||
|
@ -8,6 +8,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version:
|
||||
|
||||
<!-- version-start -->
|
||||
|
||||
- Chromium 106.0.5249.0 - [Puppeteer v17.1.0](https://pptr.dev/17.1.0)
|
||||
- Chromium 105.0.5173.0 - [Puppeteer v15.5.0](https://github.com/puppeteer/puppeteer/blob/v15.5.0/docs/api/index.md)
|
||||
- Chromium 104.0.5109.0 - Puppeteer v15.1.0
|
||||
- Chromium 103.0.5059.0 - [Puppeteer v14.2.0](https://github.com/puppeteer/puppeteer/blob/v14.2.0/docs/api.md)
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "puppeteer",
|
||||
"version": "17.0.0",
|
||||
"version": "17.1.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "puppeteer",
|
||||
"version": "17.0.0",
|
||||
"version": "17.1.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "puppeteer",
|
||||
"version": "17.0.0",
|
||||
"version": "17.1.0",
|
||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||
"keywords": [
|
||||
"puppeteer",
|
||||
|
@ -17,7 +17,7 @@
|
||||
const versionsPerRelease = new Map([
|
||||
// This is a mapping from Chromium version => Puppeteer version.
|
||||
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
||||
['106.0.5249.0', 'NEXT'],
|
||||
['106.0.5249.0', 'v17.1.0'],
|
||||
['105.0.5173.0', 'v15.5.0'],
|
||||
['104.0.5109.0', 'v15.1.0'],
|
||||
['103.0.5059.0', 'v14.2.0'],
|
||||
|
@ -1,29 +0,0 @@
|
||||
---
|
||||
sidebar_label: Frame.addStyleTag
|
||||
---
|
||||
|
||||
# Frame.addStyleTag() method
|
||||
|
||||
Adds a `<link rel="stylesheet">` tag into the page with the desired url or a `<style type="text/css">` tag with the content.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
class Frame {
|
||||
addStyleTag(
|
||||
options: FrameAddStyleTagOptions
|
||||
): Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ----------------------------------------------------------------- | --------------------------- |
|
||||
| options | [FrameAddStyleTagOptions](./puppeteer.frameaddstyletagoptions.md) | Options for the style link. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<[ElementHandle](./puppeteer.elementhandle.md)<HTMLStyleElement \| HTMLLinkElement>>
|
||||
|
||||
a promise that resolves to the added tag when the stylesheets's `onload` event fires or when the CSS content was injected into the frame.
|
@ -1,31 +0,0 @@
|
||||
---
|
||||
sidebar_label: Page.addStyleTag
|
||||
---
|
||||
|
||||
# Page.addStyleTag() method
|
||||
|
||||
Adds a `<link rel="stylesheet">` tag into the page with the desired URL or a `<style type="text/css">` tag with the content.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
class Page {
|
||||
addStyleTag(options: {
|
||||
url?: string;
|
||||
path?: string;
|
||||
content?: string;
|
||||
}): Promise<ElementHandle<Node>>;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | -------------------------------------------------- | ----------- |
|
||||
| options | { url?: string; path?: string; content?: string; } | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<[ElementHandle](./puppeteer.elementhandle.md)<Node>>
|
||||
|
||||
Promise which resolves to the added tag when the stylesheet's onload fires or when the CSS content was injected into frame.
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user