mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: release main (#10771)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
parent
a3db064cbb
commit
b4507c69c1
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"packages/puppeteer": "21.1.0",
|
"packages/puppeteer": "21.1.1",
|
||||||
"packages/puppeteer-core": "21.1.0",
|
"packages/puppeteer-core": "21.1.1",
|
||||||
"packages/testserver": "0.6.0",
|
"packages/testserver": "0.6.0",
|
||||||
"packages/ng-schematics": "0.5.0",
|
"packages/ng-schematics": "0.5.0",
|
||||||
"packages/browsers": "1.7.0"
|
"packages/browsers": "1.7.0"
|
||||||
|
@ -4,7 +4,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version:
|
|||||||
|
|
||||||
<!-- version-start -->
|
<!-- version-start -->
|
||||||
|
|
||||||
- Chromium 116.0.5845.96 - [Puppeteer v21.1.0](https://pptr.dev/21.1.0)
|
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 116.0.5845.96 - [Puppeteer v21.1.0](https://pptr.dev/21.1.0)
|
||||||
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.170 - [Puppeteer v21.0.2](https://pptr.dev/21.0.2)
|
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.170 - [Puppeteer v21.0.2](https://pptr.dev/21.0.2)
|
||||||
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.102 - [Puppeteer v21.0.0](https://pptr.dev/21.0.0)
|
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.102 - [Puppeteer v21.0.0](https://pptr.dev/21.0.0)
|
||||||
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.98 - [Puppeteer v20.9.0](https://pptr.dev/20.9.0)
|
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 115.0.5790.98 - [Puppeteer v20.9.0](https://pptr.dev/20.9.0)
|
||||||
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -10981,20 +10981,20 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"packages/puppeteer": {
|
"packages/puppeteer": {
|
||||||
"version": "21.1.0",
|
"version": "21.1.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@puppeteer/browsers": "1.7.0",
|
"@puppeteer/browsers": "1.7.0",
|
||||||
"cosmiconfig": "8.2.0",
|
"cosmiconfig": "8.2.0",
|
||||||
"puppeteer-core": "21.1.0"
|
"puppeteer-core": "21.1.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.3.0"
|
"node": ">=16.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages/puppeteer-core": {
|
"packages/puppeteer-core": {
|
||||||
"version": "21.1.0",
|
"version": "21.1.1",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@puppeteer/browsers": "1.7.0",
|
"@puppeteer/browsers": "1.7.0",
|
||||||
@ -17059,7 +17059,7 @@
|
|||||||
"requires": {
|
"requires": {
|
||||||
"@puppeteer/browsers": "1.7.0",
|
"@puppeteer/browsers": "1.7.0",
|
||||||
"cosmiconfig": "8.2.0",
|
"cosmiconfig": "8.2.0",
|
||||||
"puppeteer-core": "21.1.0"
|
"puppeteer-core": "21.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"puppeteer-core": {
|
"puppeteer-core": {
|
||||||
|
@ -20,6 +20,13 @@ All notable changes to this project will be documented in this file. See [standa
|
|||||||
* dependencies
|
* dependencies
|
||||||
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0
|
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0
|
||||||
|
|
||||||
|
## [21.1.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.1.0...puppeteer-core-v21.1.1) (2023-08-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **locators:** do not retry via catchError ([#10762](https://github.com/puppeteer/puppeteer/issues/10762)) ([8f9388f](https://github.com/puppeteer/puppeteer/commit/8f9388f2ce5220ad9b3c05fb3f3d9a86fac894dc))
|
||||||
|
|
||||||
## [21.1.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.0.3...puppeteer-core-v21.1.0) (2023-08-18)
|
## [21.1.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.0.3...puppeteer-core-v21.1.0) (2023-08-18)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "puppeteer-core",
|
"name": "puppeteer-core",
|
||||||
"version": "21.1.0",
|
"version": "21.1.1",
|
||||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"puppeteer",
|
"puppeteer",
|
||||||
|
@ -29,6 +29,20 @@ All notable changes to this project will be documented in this file. See [standa
|
|||||||
* puppeteer-core bumped from 21.0.2 to 21.0.3
|
* puppeteer-core bumped from 21.0.2 to 21.0.3
|
||||||
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0
|
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0
|
||||||
|
|
||||||
|
## [21.1.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.1.0...puppeteer-v21.1.1) (2023-08-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Miscellaneous Chores
|
||||||
|
|
||||||
|
* **puppeteer:** Synchronize puppeteer versions
|
||||||
|
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
* The following workspace dependencies were updated
|
||||||
|
* dependencies
|
||||||
|
* puppeteer-core bumped from 21.1.0 to 21.1.1
|
||||||
|
|
||||||
## [21.1.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.0.3...puppeteer-v21.1.0) (2023-08-18)
|
## [21.1.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.0.3...puppeteer-v21.1.0) (2023-08-18)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "puppeteer",
|
"name": "puppeteer",
|
||||||
"version": "21.1.0",
|
"version": "21.1.1",
|
||||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"puppeteer",
|
"puppeteer",
|
||||||
@ -125,7 +125,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cosmiconfig": "8.2.0",
|
"cosmiconfig": "8.2.0",
|
||||||
"puppeteer-core": "21.1.0",
|
"puppeteer-core": "21.1.1",
|
||||||
"@puppeteer/browsers": "1.7.0"
|
"@puppeteer/browsers": "1.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_label: BoxModel
|
|
||||||
---
|
|
||||||
|
|
||||||
# BoxModel interface
|
|
||||||
|
|
||||||
#### Signature:
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
export interface BoxModel
|
|
||||||
```
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description | Default |
|
|
||||||
| -------- | --------- | --------------------------------- | ----------- | ------- |
|
|
||||||
| border | | [Point](./puppeteer.point.md)\[\] | | |
|
|
||||||
| content | | [Point](./puppeteer.point.md)\[\] | | |
|
|
||||||
| height | | number | | |
|
|
||||||
| margin | | [Point](./puppeteer.point.md)\[\] | | |
|
|
||||||
| padding | | [Point](./puppeteer.point.md)\[\] | | |
|
|
||||||
| width | | number | | |
|
|
@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_label: ElementHandle.contentFrame
|
|
||||||
---
|
|
||||||
|
|
||||||
# ElementHandle.contentFrame() method
|
|
||||||
|
|
||||||
Resolves to the content frame for element handles referencing iframe nodes, or null otherwise
|
|
||||||
|
|
||||||
#### Signature:
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
class ElementHandle {
|
|
||||||
contentFrame(): Promise<Frame | null>;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
Promise<[Frame](./puppeteer.frame.md) \| null>
|
|
@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_label: JSHandle.getProperty_2
|
|
||||||
---
|
|
||||||
|
|
||||||
# JSHandle.getProperty() method
|
|
||||||
|
|
||||||
#### Signature:
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
class JSHandle {
|
|
||||||
getProperty<K extends keyof T>(
|
|
||||||
propertyName: HandleOr<K>
|
|
||||||
): Promise<HandleFor<T[K]>>;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| ------------ | -------------------------------------------- | ----------- |
|
|
||||||
| propertyName | [HandleOr](./puppeteer.handleor.md)<K> | |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
Promise<[HandleFor](./puppeteer.handlefor.md)<T\[K\]>>
|
|
@ -1,45 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_label: Page.waitForFrame
|
|
||||||
---
|
|
||||||
|
|
||||||
# Page.waitForFrame() method
|
|
||||||
|
|
||||||
#### Signature:
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
class Page {
|
|
||||||
waitForFrame(
|
|
||||||
urlOrPredicate: string | ((frame: Frame) => boolean | Promise<boolean>),
|
|
||||||
options?: {
|
|
||||||
timeout?: number;
|
|
||||||
}
|
|
||||||
): Promise<Frame>;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Parameters
|
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
|
||||||
| -------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------- |
|
|
||||||
| urlOrPredicate | string \| ((frame: [Frame](./puppeteer.frame.md)) => boolean \| Promise<boolean>) | A URL or predicate to wait for. |
|
|
||||||
| options | { timeout?: number; } | _(Optional)_ Optional waiting parameters |
|
|
||||||
|
|
||||||
**Returns:**
|
|
||||||
|
|
||||||
Promise<[Frame](./puppeteer.frame.md)>
|
|
||||||
|
|
||||||
Promise which resolves to the matched frame.
|
|
||||||
|
|
||||||
## Remarks
|
|
||||||
|
|
||||||
Optional Parameter have:
|
|
||||||
|
|
||||||
- `timeout`: Maximum wait time in milliseconds, defaults to `30` seconds, pass `0` to disable the timeout. The default value can be changed by using the [Page.setDefaultTimeout()](./puppeteer.page.setdefaulttimeout.md) method.
|
|
||||||
|
|
||||||
## Example
|
|
||||||
|
|
||||||
```ts
|
|
||||||
const frame = await page.waitForFrame(async frame => {
|
|
||||||
return frame.name() === 'Test';
|
|
||||||
});
|
|
||||||
```
|
|
@ -182,6 +182,7 @@ sidebar_label: API
|
|||||||
| [ProtocolLifeCycleEvent](./puppeteer.protocollifecycleevent.md) | |
|
| [ProtocolLifeCycleEvent](./puppeteer.protocollifecycleevent.md) | |
|
||||||
| [PuppeteerLifeCycleEvent](./puppeteer.puppeteerlifecycleevent.md) | |
|
| [PuppeteerLifeCycleEvent](./puppeteer.puppeteerlifecycleevent.md) | |
|
||||||
| [PuppeteerNodeLaunchOptions](./puppeteer.puppeteernodelaunchoptions.md) | Utility type exposed to enable users to define options that can be passed to <code>puppeteer.launch</code> without having to list the set of all types. |
|
| [PuppeteerNodeLaunchOptions](./puppeteer.puppeteernodelaunchoptions.md) | Utility type exposed to enable users to define options that can be passed to <code>puppeteer.launch</code> without having to list the set of all types. |
|
||||||
|
| [Quad](./puppeteer.quad.md) | |
|
||||||
| [ResourceType](./puppeteer.resourcetype.md) | Resource types for HTTPRequests as perceived by the rendering engine. |
|
| [ResourceType](./puppeteer.resourcetype.md) | Resource types for HTTPRequests as perceived by the rendering engine. |
|
||||||
| [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | |
|
| [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | |
|
||||||
| [VisibilityOption](./puppeteer.visibilityoption.md) | |
|
| [VisibilityOption](./puppeteer.visibilityoption.md) | |
|
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
sidebar_label: BoxModel
|
||||||
|
---
|
||||||
|
|
||||||
|
# BoxModel interface
|
||||||
|
|
||||||
|
#### Signature:
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
export interface BoxModel
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
| Property | Modifiers | Type | Description | Default |
|
||||||
|
| -------- | --------- | --------------------------- | ----------- | ------- |
|
||||||
|
| border | | [Quad](./puppeteer.quad.md) | | |
|
||||||
|
| content | | [Quad](./puppeteer.quad.md) | | |
|
||||||
|
| height | | number | | |
|
||||||
|
| margin | | [Quad](./puppeteer.quad.md) | | |
|
||||||
|
| padding | | [Quad](./puppeteer.quad.md) | | |
|
||||||
|
| width | | number | | |
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user