chore: release main (#11364)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
release-please[bot] 2023-11-15 10:48:54 +00:00 committed by GitHub
parent 3d8b956d44
commit a6b508aa36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
585 changed files with 156 additions and 138 deletions

View File

@ -1,6 +1,6 @@
{ {
"packages/puppeteer": "21.5.1", "packages/puppeteer": "21.5.2",
"packages/puppeteer-core": "21.5.1", "packages/puppeteer-core": "21.5.2",
"packages/testserver": "0.6.0", "packages/testserver": "0.6.0",
"packages/ng-schematics": "0.5.1", "packages/ng-schematics": "0.5.1",
"packages/browsers": "1.8.0" "packages/browsers": "1.8.0"

6
package-lock.json generated
View File

@ -11994,13 +11994,13 @@
"dev": true "dev": true
}, },
"packages/puppeteer": { "packages/puppeteer": {
"version": "21.5.1", "version": "21.5.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@puppeteer/browsers": "1.8.0", "@puppeteer/browsers": "1.8.0",
"cosmiconfig": "8.3.6", "cosmiconfig": "8.3.6",
"puppeteer-core": "21.5.1" "puppeteer-core": "21.5.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "18.17.15" "@types/node": "18.17.15"
@ -12010,7 +12010,7 @@
} }
}, },
"packages/puppeteer-core": { "packages/puppeteer-core": {
"version": "21.5.1", "version": "21.5.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@puppeteer/browsers": "1.8.0", "@puppeteer/browsers": "1.8.0",

View File

@ -20,6 +20,15 @@ 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.5.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.5.1...puppeteer-core-v21.5.2) (2023-11-15)
### Bug Fixes
* add --disable-field-trial-config ([#11352](https://github.com/puppeteer/puppeteer/issues/11352)) ([cbc33be](https://github.com/puppeteer/puppeteer/commit/cbc33bea40b8801b8eeb3277fc15d04900715795))
* add --disable-infobars ([#11377](https://github.com/puppeteer/puppeteer/issues/11377)) ([0a41f8d](https://github.com/puppeteer/puppeteer/commit/0a41f8d01e85ff732fdd2e50468bc746d7bc6475))
* mitt types should not be exported ([#11371](https://github.com/puppeteer/puppeteer/issues/11371)) ([4bf2a09](https://github.com/puppeteer/puppeteer/commit/4bf2a09a13450c530b24288d65791fd5c4d4dce7))
## [21.5.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.5.0...puppeteer-core-v21.5.1) (2023-11-09) ## [21.5.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.5.0...puppeteer-core-v21.5.1) (2023-11-09)

View File

@ -1,6 +1,6 @@
{ {
"name": "puppeteer-core", "name": "puppeteer-core",
"version": "21.5.1", "version": "21.5.2",
"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",

View File

@ -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.5.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.5.1...puppeteer-v21.5.2) (2023-11-15)
### Miscellaneous Chores
* **puppeteer:** Synchronize puppeteer versions
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 21.5.1 to 21.5.2
## [21.5.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.5.0...puppeteer-v21.5.1) (2023-11-09) ## [21.5.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.5.0...puppeteer-v21.5.1) (2023-11-09)

View File

@ -1,6 +1,6 @@
{ {
"name": "puppeteer", "name": "puppeteer",
"version": "21.5.1", "version": "21.5.2",
"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",
@ -123,7 +123,7 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"cosmiconfig": "8.3.6", "cosmiconfig": "8.3.6",
"puppeteer-core": "21.5.1", "puppeteer-core": "21.5.2",
"@puppeteer/browsers": "1.8.0" "@puppeteer/browsers": "1.8.0"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,45 +0,0 @@
---
sidebar_label: Frame.waitForDevicePrompt
---
# Frame.waitForDevicePrompt() method
This method is typically coupled with an action that triggers a device request from an api such as WebBluetooth.
:::caution
This must be called before the device request is made. It will not return a currently active device prompt.
:::
#### Signature:
```typescript
class Frame {
waitForDevicePrompt(
options?: WaitTimeoutOptions
): Promise<DeviceRequestPrompt>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------------------- | ------------ |
| options | [WaitTimeoutOptions](./puppeteer.waittimeoutoptions.md) | _(Optional)_ |
**Returns:**
Promise&lt;[DeviceRequestPrompt](./puppeteer.devicerequestprompt.md)&gt;
## Example
```ts
const [devicePrompt] = Promise.all([
frame.waitForDevicePrompt(),
frame.click('#connect-bluetooth'),
]);
await devicePrompt.select(
await devicePrompt.waitForDevice(({name}) => name.includes('My Device'))
);
```

View File

@ -42,6 +42,7 @@ sidebar_label: API
| [TimeoutError](./puppeteer.timeouterror.md) | TimeoutError is emitted whenever certain operations are terminated due to timeout. | | [TimeoutError](./puppeteer.timeouterror.md) | TimeoutError is emitted whenever certain operations are terminated due to timeout. |
| [Touchscreen](./puppeteer.touchscreen.md) | The Touchscreen class exposes touchscreen events. | | [Touchscreen](./puppeteer.touchscreen.md) | The Touchscreen class exposes touchscreen events. |
| [Tracing](./puppeteer.tracing.md) | The Tracing class exposes the tracing audit interface. | | [Tracing](./puppeteer.tracing.md) | The Tracing class exposes the tracing audit interface. |
| [UnsupportedOperation](./puppeteer.unsupportedoperation.md) | Puppeteer will throw this error if a method is not supported by the currently used protocol |
| [WebWorker](./puppeteer.webworker.md) | This class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). | | [WebWorker](./puppeteer.webworker.md) | This class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). |
## Enumerations ## Enumerations
@ -177,6 +178,7 @@ sidebar_label: API
| [EvaluateFunc](./puppeteer.evaluatefunc.md) | | | [EvaluateFunc](./puppeteer.evaluatefunc.md) | |
| [EvaluateFuncWith](./puppeteer.evaluatefuncwith.md) | | | [EvaluateFuncWith](./puppeteer.evaluatefuncwith.md) | |
| [EventsWithWildcard](./puppeteer.eventswithwildcard.md) | | | [EventsWithWildcard](./puppeteer.eventswithwildcard.md) | |
| [EventType](./puppeteer.eventtype.md) | |
| [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | <p>Defines experiment options for Puppeteer.</p><p>See individual properties for more information.</p> | | [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | <p>Defines experiment options for Puppeteer.</p><p>See individual properties for more information.</p> |
| [FlattenHandle](./puppeteer.flattenhandle.md) | | | [FlattenHandle](./puppeteer.flattenhandle.md) | |
| [HandleFor](./puppeteer.handlefor.md) | | | [HandleFor](./puppeteer.handlefor.md) | |

View File

@ -10,7 +10,7 @@ Disconnects Puppeteer from this [browser](./puppeteer.browser.md), but leaves th
```typescript ```typescript
class Browser { class Browser {
disconnect(): void; abstract disconnect(): void;
} }
``` ```

View File

@ -10,7 +10,7 @@ Gets the associated [ChildProcess](https://nodejs.org/api/child_process.html#cla
```typescript ```typescript
class Browser { class Browser {
process(): ChildProcess | null; abstract process(): ChildProcess | null;
} }
``` ```

View File

@ -12,7 +12,7 @@ Gets this [browser's](./puppeteer.browser.md) original user agent.
```typescript ```typescript
class Browser { class Browser {
userAgent(): Promise<string>; abstract userAgent(): Promise<string>;
} }
``` ```

View File

@ -10,7 +10,7 @@ Clears all permission overrides for this [browser context](./puppeteer.browserco
```typescript ```typescript
class BrowserContext { class BrowserContext {
clearPermissionOverrides(): Promise<void>; abstract clearPermissionOverrides(): Promise<void>;
} }
``` ```

View File

@ -10,7 +10,10 @@ Grants this [browser context](./puppeteer.browsercontext.md) the given `permissi
```typescript ```typescript
class BrowserContext { class BrowserContext {
overridePermissions(origin: string, permissions: Permission[]): Promise<void>; abstract overridePermissions(
origin: string,
permissions: Permission[]
): Promise<void>;
} }
``` ```

View File

@ -10,7 +10,7 @@ Gets all active [targets](./puppeteer.target.md) inside this [browser context](.
```typescript ```typescript
class BrowserContext { class BrowserContext {
targets(): Target[]; abstract targets(): Target[];
} }
``` ```

View File

@ -10,7 +10,7 @@ sidebar_label: BrowserContextEvents
export interface BrowserContextEvents extends Record<EventType, unknown> export interface BrowserContextEvents extends Record<EventType, unknown>
``` ```
**Extends:** Record&lt;EventType, unknown&gt; **Extends:** Record&lt;[EventType](./puppeteer.eventtype.md), unknown&gt;
## Properties ## Properties

View File

@ -10,7 +10,7 @@ sidebar_label: BrowserEvents
export interface BrowserEvents extends Record<EventType, unknown> export interface BrowserEvents extends Record<EventType, unknown>
``` ```
**Extends:** Record&lt;EventType, unknown&gt; **Extends:** Record&lt;[EventType](./puppeteer.eventtype.md), unknown&gt;
## Properties ## Properties

View File

@ -8,7 +8,7 @@ sidebar_label: CDPSession.connection
```typescript ```typescript
class CDPSession { class CDPSession {
connection(): Connection | undefined; abstract connection(): Connection | undefined;
} }
``` ```

View File

@ -10,7 +10,7 @@ Detaches the cdpSession from the target. Once detached, the cdpSession object wo
```typescript ```typescript
class CDPSession { class CDPSession {
detach(): Promise<void>; abstract detach(): Promise<void>;
} }
``` ```

View File

@ -10,7 +10,7 @@ Returns the session's id.
```typescript ```typescript
class CDPSession { class CDPSession {
id(): string; abstract id(): string;
} }
``` ```

View File

@ -8,7 +8,7 @@ sidebar_label: CDPSession.send
```typescript ```typescript
class CDPSession { class CDPSession {
send<T extends keyof ProtocolMapping.Commands>( abstract send<T extends keyof ProtocolMapping.Commands>(
method: T, method: T,
...paramArgs: ProtocolMapping.Commands[T]['paramsType'] ...paramArgs: ProtocolMapping.Commands[T]['paramsType']
): Promise<ProtocolMapping.Commands[T]['returnType']>; ): Promise<ProtocolMapping.Commands[T]['returnType']>;

View File

@ -10,7 +10,7 @@ sidebar_label: CDPSessionEvents
export interface CDPSessionEvents extends CDPEvents, Record<EventType, unknown> export interface CDPSessionEvents extends CDPEvents, Record<EventType, unknown>
``` ```
**Extends:** [CDPEvents](./puppeteer.cdpevents.md), Record&lt;EventType, unknown&gt; **Extends:** [CDPEvents](./puppeteer.cdpevents.md), Record&lt;[EventType](./puppeteer.eventtype.md), unknown&gt;
## Properties ## Properties

Some files were not shown because too many files have changed in this diff Show More