mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: release main (#10598)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
parent
63b2be122d
commit
9a814a3656
@ -1,7 +1,7 @@
|
||||
{
|
||||
"packages/puppeteer": "20.9.0",
|
||||
"packages/puppeteer-core": "20.9.0",
|
||||
"packages/puppeteer": "21.0.0",
|
||||
"packages/puppeteer-core": "21.0.0",
|
||||
"packages/testserver": "0.6.0",
|
||||
"packages/ng-schematics": "0.3.0",
|
||||
"packages/browsers": "1.4.6"
|
||||
"packages/browsers": "1.5.0"
|
||||
}
|
||||
|
@ -4,7 +4,8 @@ The following versions of Chromium are supported, mapped to Puppeteer version:
|
||||
|
||||
<!-- version-start -->
|
||||
|
||||
- Chromium 115.0.5790.98 - [Puppeteer v20.9.0](https://pptr.dev/20.9.0)
|
||||
- Chromium 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) 114.0.5735.133 - [Puppeteer v20.7.2](https://pptr.dev/20.7.2)
|
||||
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 114.0.5735.90 - [Puppeteer v20.6.0](https://pptr.dev/20.6.0)
|
||||
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 113.0.5672.63 - [Puppeteer v20.1.0](https://pptr.dev/20.1.0)
|
||||
|
18
package-lock.json
generated
18
package-lock.json
generated
@ -10483,7 +10483,7 @@
|
||||
},
|
||||
"packages/browsers": {
|
||||
"name": "@puppeteer/browsers",
|
||||
"version": "1.4.6",
|
||||
"version": "1.5.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"debug": "4.3.4",
|
||||
@ -10552,23 +10552,23 @@
|
||||
"dev": true
|
||||
},
|
||||
"packages/puppeteer": {
|
||||
"version": "20.9.0",
|
||||
"version": "21.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "1.4.6",
|
||||
"@puppeteer/browsers": "1.5.0",
|
||||
"cosmiconfig": "8.2.0",
|
||||
"puppeteer-core": "20.9.0"
|
||||
"puppeteer-core": "21.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.3.0"
|
||||
}
|
||||
},
|
||||
"packages/puppeteer-core": {
|
||||
"version": "20.9.0",
|
||||
"version": "21.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "1.4.6",
|
||||
"@puppeteer/browsers": "1.5.0",
|
||||
"chromium-bidi": "0.4.20",
|
||||
"cross-fetch": "4.0.0",
|
||||
"debug": "4.3.4",
|
||||
@ -16343,15 +16343,15 @@
|
||||
"puppeteer": {
|
||||
"version": "file:packages/puppeteer",
|
||||
"requires": {
|
||||
"@puppeteer/browsers": "1.4.6",
|
||||
"@puppeteer/browsers": "1.5.0",
|
||||
"cosmiconfig": "8.2.0",
|
||||
"puppeteer-core": "20.9.0"
|
||||
"puppeteer-core": "21.0.0"
|
||||
}
|
||||
},
|
||||
"puppeteer-core": {
|
||||
"version": "file:packages/puppeteer-core",
|
||||
"requires": {
|
||||
"@puppeteer/browsers": "1.4.6",
|
||||
"@puppeteer/browsers": "1.5.0",
|
||||
"chromium-bidi": "0.4.20",
|
||||
"cross-fetch": "4.0.0",
|
||||
"debug": "4.3.4",
|
||||
|
@ -1,5 +1,18 @@
|
||||
# Changelog
|
||||
|
||||
## [1.5.0](https://github.com/puppeteer/puppeteer/compare/browsers-v1.4.6...browsers-v1.5.0) (2023-08-02)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add executablePath to InstalledBrowser ([#10594](https://github.com/puppeteer/puppeteer/issues/10594)) ([87522e7](https://github.com/puppeteer/puppeteer/commit/87522e778a6487111931458755e701f1c4b717d9))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* clear pending TLS socket handle ([#10667](https://github.com/puppeteer/puppeteer/issues/10667)) ([87bd791](https://github.com/puppeteer/puppeteer/commit/87bd791ddc10c247bf154bbac2aa912327a4cf20))
|
||||
* remove typescript from peer dependencies ([#10593](https://github.com/puppeteer/puppeteer/issues/10593)) ([c60572a](https://github.com/puppeteer/puppeteer/commit/c60572a1ca36ea5946d287bd629ac31798d84cb0))
|
||||
|
||||
## [1.4.6](https://github.com/puppeteer/puppeteer/compare/browsers-v1.4.5...browsers-v1.4.6) (2023-07-20)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@puppeteer/browsers",
|
||||
"version": "1.4.6",
|
||||
"version": "1.5.0",
|
||||
"description": "Download and launch browsers",
|
||||
"scripts": {
|
||||
"build:docs": "wireit",
|
||||
|
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [0.3.0](https://github.com/puppeteer/puppeteer/compare/ng-schematics-v0.3.0...ng-schematics-v0.3.0) (2023-08-02)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support for multi projects repos ([#10665](https://github.com/puppeteer/puppeteer/issues/10665)) ([6bca1db](https://github.com/puppeteer/puppeteer/commit/6bca1db956c44358716d52f0b9f3c012ba0b482d))
|
||||
|
||||
## [0.3.0](https://github.com/puppeteer/puppeteer/compare/ng-schematics-v0.2.0...ng-schematics-v0.3.0) (2023-06-29)
|
||||
|
||||
|
||||
|
@ -14,6 +14,41 @@ All notable changes to this project will be documented in this file. See [standa
|
||||
* dependencies
|
||||
* @puppeteer/browsers bumped from 1.4.4 to 1.4.5
|
||||
|
||||
## [21.0.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v20.9.0...puppeteer-core-v21.0.0) (2023-08-02)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* use Target for filters ([#10601](https://github.com/puppeteer/puppeteer/issues/10601))
|
||||
|
||||
### Features
|
||||
|
||||
* add page.createCDPSession method ([#10515](https://github.com/puppeteer/puppeteer/issues/10515)) ([d0c5b8e](https://github.com/puppeteer/puppeteer/commit/d0c5b8e08905f3802705a1a90d7cc8fa04bc82db))
|
||||
* implement `Locator.prototype.filter` ([#10631](https://github.com/puppeteer/puppeteer/issues/10631)) ([e73d35d](https://github.com/puppeteer/puppeteer/commit/e73d35def0718468fe854ac2ef5f4a8beafb2fb3))
|
||||
* implement `Locator.prototype.map` ([#10630](https://github.com/puppeteer/puppeteer/issues/10630)) ([47eecf5](https://github.com/puppeteer/puppeteer/commit/47eecf5bb11daba0114ad04282beb01c85eb9405))
|
||||
* implement `Locator.prototype.wait` ([#10629](https://github.com/puppeteer/puppeteer/issues/10629)) ([5d34d42](https://github.com/puppeteer/puppeteer/commit/5d34d42d1536cbe7cf2ba1aa8670d909c4e6a6fc))
|
||||
* implement `Locator.prototype.waitHandle` ([#10650](https://github.com/puppeteer/puppeteer/issues/10650)) ([fdada74](https://github.com/puppeteer/puppeteer/commit/fdada74ba7265b3571ebdf60ae301b64d13a8226))
|
||||
* implement function locators ([#10632](https://github.com/puppeteer/puppeteer/issues/10632)) ([6ad92f7](https://github.com/puppeteer/puppeteer/commit/6ad92f7f84f477b22674f52f0a145a500c3aa152))
|
||||
* implement immutable locator operations ([#10638](https://github.com/puppeteer/puppeteer/issues/10638)) ([34be28d](https://github.com/puppeteer/puppeteer/commit/34be28db5d9971cf16d9741b0141357df3cbf74c))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove typescript from peer dependencies ([#10593](https://github.com/puppeteer/puppeteer/issues/10593)) ([c60572a](https://github.com/puppeteer/puppeteer/commit/c60572a1ca36ea5946d287bd629ac31798d84cb0))
|
||||
* roll to Chrome 115.0.5790.102 (r1148114) ([#10608](https://github.com/puppeteer/puppeteer/issues/10608)) ([8649c53](https://github.com/puppeteer/puppeteer/commit/8649c53a706e5a09ae5e16849eb29a793cec5bec))
|
||||
|
||||
|
||||
### Code Refactoring
|
||||
|
||||
* use Target for filters ([#10601](https://github.com/puppeteer/puppeteer/issues/10601)) ([44712d1](https://github.com/puppeteer/puppeteer/commit/44712d1e6efcb3fa49c27b1195d17c0c1c92a0ca))
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* The following workspace dependencies were updated
|
||||
* dependencies
|
||||
* @puppeteer/browsers bumped from 1.4.6 to 1.5.0
|
||||
|
||||
## [20.9.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v20.8.3...puppeteer-core-v20.9.0) (2023-07-20)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "puppeteer-core",
|
||||
"version": "20.9.0",
|
||||
"version": "21.0.0",
|
||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||
"keywords": [
|
||||
"puppeteer",
|
||||
@ -149,7 +149,7 @@
|
||||
"debug": "4.3.4",
|
||||
"devtools-protocol": "0.0.1147663",
|
||||
"ws": "8.13.0",
|
||||
"@puppeteer/browsers": "1.4.6"
|
||||
"@puppeteer/browsers": "1.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rxjs": "7.8.1",
|
||||
|
@ -22,6 +22,21 @@ All notable changes to this project will be documented in this file. See [standa
|
||||
* puppeteer-core bumped from 20.8.1 to 20.8.2
|
||||
* @puppeteer/browsers bumped from 1.4.4 to 1.4.5
|
||||
|
||||
## [21.0.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.9.0...puppeteer-v21.0.0) (2023-08-02)
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* **puppeteer:** Synchronize puppeteer versions
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* The following workspace dependencies were updated
|
||||
* dependencies
|
||||
* puppeteer-core bumped from 20.9.0 to 21.0.0
|
||||
* @puppeteer/browsers bumped from 1.4.6 to 1.5.0
|
||||
|
||||
## [20.9.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.8.3...puppeteer-v20.9.0) (2023-07-20)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "puppeteer",
|
||||
"version": "20.9.0",
|
||||
"version": "21.0.0",
|
||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||
"keywords": [
|
||||
"puppeteer",
|
||||
@ -125,7 +125,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"cosmiconfig": "8.2.0",
|
||||
"puppeteer-core": "20.9.0",
|
||||
"@puppeteer/browsers": "1.4.6"
|
||||
"puppeteer-core": "21.0.0",
|
||||
"@puppeteer/browsers": "1.5.0"
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
const versionsPerRelease = new Map([
|
||||
// This is a mapping from Chrome version => Puppeteer version.
|
||||
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
|
||||
['115.0.5790.102', 'NEXT'],
|
||||
['115.0.5790.102', 'v21.0.0'],
|
||||
['115.0.5790.98', 'v20.9.0'],
|
||||
['114.0.5735.133', 'v20.7.2'],
|
||||
['114.0.5735.90', 'v20.6.0'],
|
||||
|
@ -1,39 +0,0 @@
|
||||
---
|
||||
sidebar_label: Locator
|
||||
---
|
||||
|
||||
# Locator class
|
||||
|
||||
Locators describe a strategy of locating elements and performing an action on them. If the action fails because the element is not ready for the action, the whole operation is retried. Various preconditions for a successful action are checked automatically.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export declare abstract class Locator<T> extends EventEmitter
|
||||
```
|
||||
|
||||
**Extends:** [EventEmitter](./puppeteer.eventemitter.md)
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description |
|
||||
| -------- | --------------------- | ---- | ------------------------------------------------------------ |
|
||||
| \_ | <code>optional</code> | T | Used for nominally typing [Locator](./puppeteer.locator.md). |
|
||||
|
||||
## Methods
|
||||
|
||||
| Method | Modifiers | Description |
|
||||
| ------------------------------------------------------------------------------------------------ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| [click(this, options)](./puppeteer.locator.click.md) | | |
|
||||
| [fill(this, value, options)](./puppeteer.locator.fill.md) | | Fills out the input identified by the locator using the provided value. The type of the input is determined at runtime and the appropriate fill-out method is chosen based on the type. contenteditable, selector, inputs are supported. |
|
||||
| [hover(this, options)](./puppeteer.locator.hover.md) | | |
|
||||
| [off(eventName, handler)](./puppeteer.locator.off.md) | | |
|
||||
| [on(eventName, handler)](./puppeteer.locator.on.md) | | |
|
||||
| [once(eventName, handler)](./puppeteer.locator.once.md) | | |
|
||||
| [race(locators)](./puppeteer.locator.race.md) | <code>static</code> | Creates a race between multiple locators but ensures that only a single one acts. |
|
||||
| [scroll(this, options)](./puppeteer.locator.scroll.md) | | |
|
||||
| [setEnsureElementIsInTheViewport(value)](./puppeteer.locator.setensureelementisintheviewport.md) | | |
|
||||
| [setTimeout(timeout)](./puppeteer.locator.settimeout.md) | | |
|
||||
| [setVisibility(visibility)](./puppeteer.locator.setvisibility.md) | | |
|
||||
| [setWaitForEnabled(value)](./puppeteer.locator.setwaitforenabled.md) | | |
|
||||
| [setWaitForStableBoundingBox(value)](./puppeteer.locator.setwaitforstableboundingbox.md) | | |
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
sidebar_label: Locator.setEnsureElementIsInTheViewport
|
||||
---
|
||||
|
||||
# Locator.setEnsureElementIsInTheViewport() method
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Locator {
|
||||
abstract setEnsureElementIsInTheViewport(value: boolean): this;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------- |
|
||||
| value | boolean | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
this
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
sidebar_label: Locator.setWaitForEnabled
|
||||
---
|
||||
|
||||
# Locator.setWaitForEnabled() method
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Locator {
|
||||
abstract setWaitForEnabled(value: boolean): this;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------- |
|
||||
| value | boolean | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
this
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
sidebar_label: Locator.setWaitForStableBoundingBox
|
||||
---
|
||||
|
||||
# Locator.setWaitForStableBoundingBox() method
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Locator {
|
||||
abstract setWaitForStableBoundingBox(value: boolean): this;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------- |
|
||||
| value | boolean | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
this
|
@ -1,13 +0,0 @@
|
||||
---
|
||||
sidebar_label: TargetFilterCallback
|
||||
---
|
||||
|
||||
# TargetFilterCallback type
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export type TargetFilterCallback = (
|
||||
target: Protocol.Target.TargetInfo
|
||||
) => boolean;
|
||||
```
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
sidebar_label: install
|
||||
---
|
||||
|
||||
# install() function
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export declare function install(
|
||||
options: InstallOptions
|
||||
): Promise<InstalledBrowser>;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ---------------------------------------------- | ----------- |
|
||||
| options | [InstallOptions](./browsers.installoptions.md) | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<[InstalledBrowser](./browsers.installedbrowser.md)>
|
@ -1,20 +0,0 @@
|
||||
---
|
||||
sidebar_label: InstalledBrowser
|
||||
---
|
||||
|
||||
# InstalledBrowser interface
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export interface InstalledBrowser
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| -------- | --------- | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
||||
| browser | | [Browser](./browsers.browser.md) | | |
|
||||
| buildId | | string | | |
|
||||
| path | | string | Path to the root of the installation folder. Use [computeExecutablePath()](./browsers.computeexecutablepath.md) to get the path to the executable binary. | |
|
||||
| platform | | [BrowserPlatform](./browsers.browserplatform.md) | | |
|
@ -29,7 +29,7 @@ sidebar_label: API
|
||||
| [JSCoverage](./puppeteer.jscoverage.md) | |
|
||||
| [JSHandle](./puppeteer.jshandle.md) | <p>Represents a reference to a JavaScript object. Instances can be created using [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md).</p><p>Handles prevent the referenced JavaScript object from being garbage-collected unless the handle is purposely [disposed](./puppeteer.jshandle.dispose.md). JSHandles are auto-disposed when their associated frame is navigated away or the parent context gets destroyed.</p><p>Handles can be used as arguments for any evaluation function such as [Page.$eval()](./puppeteer.page._eval.md), [Page.evaluate()](./puppeteer.page.evaluate.md), and [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md). They are resolved to their referenced object.</p> |
|
||||
| [Keyboard](./puppeteer.keyboard.md) | Keyboard provides an api for managing a virtual keyboard. The high level api is [Keyboard.type()](./puppeteer.keyboard.type.md), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page. |
|
||||
| [Locator](./puppeteer.locator.md) | Locators describe a strategy of locating elements and performing an action on them. If the action fails because the element is not ready for the action, the whole operation is retried. Various preconditions for a successful action are checked automatically. |
|
||||
| [Locator](./puppeteer.locator.md) | Locators describe a strategy of locating objects and performing an action on them. If the action fails because the object is not ready for the action, the whole operation is retried. Various preconditions for a successful action are checked automatically. |
|
||||
| [Mouse](./puppeteer.mouse.md) | The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. |
|
||||
| [Page](./puppeteer.page.md) | <p>Page provides methods to interact with a single tab or [extension background page](https://developer.chrome.com/extensions/background_pages) in the browser.</p><p>:::note</p><p>One Browser instance might have multiple Page instances.</p><p>:::</p> |
|
||||
| [ProductLauncher](./puppeteer.productlauncher.md) | Describes a launcher - a class that is able to create and launch a browser instance. |
|
||||
@ -52,6 +52,7 @@ sidebar_label: API
|
||||
| [InterceptResolutionAction](./puppeteer.interceptresolutionaction.md) | |
|
||||
| [LocatorEmittedEvents](./puppeteer.locatoremittedevents.md) | All the events that a locator instance may emit. |
|
||||
| [PageEmittedEvents](./puppeteer.pageemittedevents.md) | All the events that a page instance may emit. |
|
||||
| [TargetType](./puppeteer.targettype.md) | |
|
||||
|
||||
## Functions
|
||||
|
||||
@ -152,6 +153,7 @@ sidebar_label: API
|
||||
| [ActionResult](./puppeteer.actionresult.md) | |
|
||||
| [Awaitable](./puppeteer.awaitable.md) | |
|
||||
| [AwaitableIterable](./puppeteer.awaitableiterable.md) | |
|
||||
| [AwaitedLocator](./puppeteer.awaitedlocator.md) | |
|
||||
| [ChromeReleaseChannel](./puppeteer.chromereleasechannel.md) | |
|
||||
| [ConsoleMessageType](./puppeteer.consolemessagetype.md) | The supported types for console messages. |
|
||||
| [ElementFor](./puppeteer.elementfor.md) | |
|
||||
@ -170,6 +172,7 @@ sidebar_label: API
|
||||
| [KeyPressOptions](./puppeteer.keypressoptions.md) | |
|
||||
| [LocatorClickOptions](./puppeteer.locatorclickoptions.md) | |
|
||||
| [LowerCasePaperFormat](./puppeteer.lowercasepaperformat.md) | |
|
||||
| [Mapper](./puppeteer.mapper.md) | |
|
||||
| [MouseButton](./puppeteer.mousebutton.md) | |
|
||||
| [NodeFor](./puppeteer.nodefor.md) | |
|
||||
| [PaperFormat](./puppeteer.paperformat.md) | All the valid paper format types when printing a PDF. |
|
@ -0,0 +1,13 @@
|
||||
---
|
||||
sidebar_label: AwaitedLocator
|
||||
---
|
||||
|
||||
# AwaitedLocator type
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export type AwaitedLocator<T> = T extends Locator<infer S> ? S : never;
|
||||
```
|
||||
|
||||
**References:** [Locator](./puppeteer.locator.md)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user