diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b7c26266c7d..62f847fb337 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,6 @@ { - "packages/puppeteer": "21.7.0", - "packages/puppeteer-core": "21.7.0", + "packages/puppeteer": "21.8.0", + "packages/puppeteer-core": "21.8.0", "packages/testserver": "0.6.0", "packages/ng-schematics": "0.5.6", "packages/browsers": "1.9.1" diff --git a/docs/chromium-support.md b/docs/chromium-support.md index 6a82ba0ccf4..86760cc1307 100644 --- a/docs/chromium-support.md +++ b/docs/chromium-support.md @@ -4,6 +4,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version. T +- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 120.0.6099.109 - [Puppeteer v21.8.0](https://github.com/puppeteer/puppeteer/blob/puppeteer-v21.8.0/docs/api/index.md) - [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 119.0.6045.105 - [Puppeteer v21.5.0](https://github.com/puppeteer/puppeteer/blob/puppeteer-v21.5.0/docs/api/index.md) - [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 118.0.5993.70 - [Puppeteer v21.4.0](https://github.com/puppeteer/puppeteer/blob/puppeteer-v21.4.0/docs/api/index.md) - [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 117.0.5938.149 - [Puppeteer v21.3.7](https://github.com/puppeteer/puppeteer/blob/puppeteer-v21.3.7/docs/api/index.md) diff --git a/package-lock.json b/package-lock.json index 9e746c7f95d..4f34301aa7e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10882,13 +10882,13 @@ } }, "packages/puppeteer": { - "version": "21.7.0", + "version": "21.8.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@puppeteer/browsers": "1.9.1", "cosmiconfig": "9.0.0", - "puppeteer-core": "21.7.0" + "puppeteer-core": "21.8.0" }, "bin": { "puppeteer": "lib/esm/puppeteer/node/cli.js" @@ -10901,7 +10901,7 @@ } }, "packages/puppeteer-core": { - "version": "21.7.0", + "version": "21.8.0", "license": "Apache-2.0", "dependencies": { "@puppeteer/browsers": "1.9.1", diff --git a/packages/puppeteer-core/CHANGELOG.md b/packages/puppeteer-core/CHANGELOG.md index 30dad3aab99..bb8977c561b 100644 --- a/packages/puppeteer-core/CHANGELOG.md +++ b/packages/puppeteer-core/CHANGELOG.md @@ -20,6 +20,24 @@ All notable changes to this project will be documented in this file. See [standa * dependencies * @puppeteer/browsers bumped from 1.5.1 to 1.6.0 +## [21.8.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.7.0...puppeteer-core-v21.8.0) (2024-01-24) + + +### Features + +* roll to Chrome 120.0.6099.109 (r1217362) ([#11733](https://github.com/puppeteer/puppeteer/issues/11733)) ([415cfac](https://github.com/puppeteer/puppeteer/commit/415cfaca202126b64ff496e4318cae64c4f14e89)) + + +### Bug Fixes + +* expose function for Firefox BiDi ([#11660](https://github.com/puppeteer/puppeteer/issues/11660)) ([cf879b8](https://github.com/puppeteer/puppeteer/commit/cf879b82f6c10302fcafe186b315fe7807107c31)) +* wait for WebDriver BiDi browser to close gracefully ([#11636](https://github.com/puppeteer/puppeteer/issues/11636)) ([cc3aeeb](https://github.com/puppeteer/puppeteer/commit/cc3aeeb6eae4663198466755f23746ef821408ae)) + + +### Reverts + +* refactor: adopt `core/UserContext` on `BidiBrowserContext` ([#11721](https://github.com/puppeteer/puppeteer/issues/11721)) ([d17a9df](https://github.com/puppeteer/puppeteer/commit/d17a9df0278be34c206701d8dfc1fb62af3637b3)) + ## [21.7.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v21.6.1...puppeteer-core-v21.7.0) (2024-01-04) diff --git a/packages/puppeteer-core/package.json b/packages/puppeteer-core/package.json index 7b627548a31..486241eb2b5 100644 --- a/packages/puppeteer-core/package.json +++ b/packages/puppeteer-core/package.json @@ -1,6 +1,6 @@ { "name": "puppeteer-core", - "version": "21.7.0", + "version": "21.8.0", "description": "A high-level API to control headless Chrome over the DevTools Protocol", "keywords": [ "puppeteer", diff --git a/packages/puppeteer/CHANGELOG.md b/packages/puppeteer/CHANGELOG.md index f37ea2acbe8..2a8c56e7962 100644 --- a/packages/puppeteer/CHANGELOG.md +++ b/packages/puppeteer/CHANGELOG.md @@ -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/browsers bumped from 1.5.1 to 1.6.0 +## [21.8.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.7.0...puppeteer-v21.8.0) (2024-01-24) + + +### Miscellaneous Chores + +* **puppeteer:** Synchronize puppeteer versions + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * puppeteer-core bumped from 21.7.0 to 21.8.0 + ## [21.7.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.6.1...puppeteer-v21.7.0) (2024-01-04) diff --git a/packages/puppeteer/package.json b/packages/puppeteer/package.json index d26332fe264..3474bdc12bc 100644 --- a/packages/puppeteer/package.json +++ b/packages/puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "puppeteer", - "version": "21.7.0", + "version": "21.8.0", "description": "A high-level API to control headless Chrome over the DevTools Protocol", "keywords": [ "puppeteer", @@ -124,7 +124,7 @@ "license": "Apache-2.0", "dependencies": { "cosmiconfig": "9.0.0", - "puppeteer-core": "21.7.0", + "puppeteer-core": "21.8.0", "@puppeteer/browsers": "1.9.1" }, "devDependencies": { diff --git a/versions.js b/versions.js index c394d6718e1..5d7445ecdff 100644 --- a/versions.js +++ b/versions.js @@ -7,7 +7,7 @@ const versionsPerRelease = new Map([ // This is a mapping from Chrome version => Puppeteer version. // In Chrome roll patches, use `NEXT` for the Puppeteer version. - ['120.0.6099.109', 'NEXT'], + ['120.0.6099.109', 'v21.8.0'], ['119.0.6045.105', 'v21.5.0'], ['118.0.5993.70', 'v21.4.0'], ['117.0.5938.149', 'v21.3.7'], diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.browsercontext.md b/website/versioned_docs/version-21.7.0/api/puppeteer.browsercontext.md deleted file mode 100644 index 87c6540f5dc..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.browsercontext.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -sidebar_label: BrowserContext ---- - -# BrowserContext class - -[BrowserContext](./puppeteer.browsercontext.md) represents individual sessions within a [browser](./puppeteer.browser.md). - -When a [browser](./puppeteer.browser.md) is launched, it has a single [browser context](./puppeteer.browsercontext.md) by default. Others can be created using [Browser.createIncognitoBrowserContext()](./puppeteer.browser.createincognitobrowsercontext.md). - -[BrowserContext](./puppeteer.browsercontext.md) [emits](./puppeteer.eventemitter.md) various events which are documented in the [BrowserContextEvent](./puppeteer.browsercontextevent.md) enum. - -If a [page](./puppeteer.page.md) opens another [page](./puppeteer.page.md), e.g. using `window.open`, the popup will belong to the parent [page's browser context](./puppeteer.page.browsercontext.md). - -#### Signature: - -```typescript -export declare abstract class BrowserContext extends EventEmitter -``` - -**Extends:** [EventEmitter](./puppeteer.eventemitter.md)<[BrowserContextEvents](./puppeteer.browsercontextevents.md)> - -## Remarks - -The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `BrowserContext` class. - -## Example - -Creating an incognito [browser context](./puppeteer.browsercontext.md): - -```ts -// Create a new incognito browser context -const context = await browser.createIncognitoBrowserContext(); -// Create a new page inside context. -const page = await context.newPage(); -// ... do stuff with page ... -await page.goto('https://example.com'); -// Dispose context once it's no longer needed. -await context.close(); -``` - -## Properties - -| Property | Modifiers | Type | Description | -| -------- | --------------------- | ------------------- | ------------------------------------------------------------------------ | -| closed | readonly | boolean | Whether this [browser context](./puppeteer.browsercontext.md) is closed. | -| id | readonly | string \| undefined | Identifier for this [browser context](./puppeteer.browsercontext.md). | - -## Methods - -| Method | Modifiers | Description | -| --------------------------------------------------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [browser()](./puppeteer.browsercontext.browser.md) | | Gets the [browser](./puppeteer.browser.md) associated with this [browser context](./puppeteer.browsercontext.md). | -| [clearPermissionOverrides()](./puppeteer.browsercontext.clearpermissionoverrides.md) | | Clears all permission overrides for this [browser context](./puppeteer.browsercontext.md). | -| [close()](./puppeteer.browsercontext.close.md) | | Closes this [browser context](./puppeteer.browsercontext.md) and all associated [pages](./puppeteer.page.md). | -| [isIncognito()](./puppeteer.browsercontext.isincognito.md) | |

Whether this [browser context](./puppeteer.browsercontext.md) is incognito.

The [default browser context](./puppeteer.browser.defaultbrowsercontext.md) is the only non-incognito browser context.

| -| [newPage()](./puppeteer.browsercontext.newpage.md) | | Creates a new [page](./puppeteer.page.md) in this [browser context](./puppeteer.browsercontext.md). | -| [overridePermissions(origin, permissions)](./puppeteer.browsercontext.overridepermissions.md) | | Grants this [browser context](./puppeteer.browsercontext.md) the given permissions within the given origin. | -| [pages()](./puppeteer.browsercontext.pages.md) | | Gets a list of all open [pages](./puppeteer.page.md) inside this [browser context](./puppeteer.browsercontext.md). | -| [targets()](./puppeteer.browsercontext.targets.md) | | Gets all active [targets](./puppeteer.target.md) inside this [browser context](./puppeteer.browsercontext.md). | -| [waitForTarget(predicate, options)](./puppeteer.browsercontext.waitfortarget.md) | |

Waits until a [target](./puppeteer.target.md) matching the given predicate appears and returns it.

This will look all open [browser contexts](./puppeteer.browsercontext.md).

| diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.commoneventemitter.md b/website/versioned_docs/version-21.7.0/api/puppeteer.commoneventemitter.md deleted file mode 100644 index d117efeb4be..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.commoneventemitter.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -sidebar_label: CommonEventEmitter ---- - -# CommonEventEmitter interface - -#### Signature: - -```typescript -export interface CommonEventEmitter> -``` - -## Methods - -| Method | Description | -| --------------------------------------------------------------------------------- | ----------- | -| [addListener(type, handler)](./puppeteer.commoneventemitter.addlistener.md) | | -| [emit(type, event)](./puppeteer.commoneventemitter.emit.md) | | -| [listenerCount(event)](./puppeteer.commoneventemitter.listenercount.md) | | -| [off(type, handler)](./puppeteer.commoneventemitter.off.md) | | -| [on(type, handler)](./puppeteer.commoneventemitter.on.md) | | -| [once(type, handler)](./puppeteer.commoneventemitter.once.md) | | -| [removeAllListeners(event)](./puppeteer.commoneventemitter.removealllisteners.md) | | -| [removeListener(type, handler)](./puppeteer.commoneventemitter.removelistener.md) | | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.connection.md b/website/versioned_docs/version-21.7.0/api/puppeteer.connection.md deleted file mode 100644 index 3b7d0560412..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.connection.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -sidebar_label: Connection ---- - -# Connection class - -#### Signature: - -```typescript -export declare class Connection extends EventEmitter -``` - -**Extends:** [EventEmitter](./puppeteer.eventemitter.md)<[CDPSessionEvents](./puppeteer.cdpsessionevents.md)> - -## Constructors - -| Constructor | Modifiers | Description | -| ---------------------------------------------------------------------------------------- | --------- | -------------------------------------------------------------- | -| [(constructor)(url, transport, delay, timeout)](./puppeteer.connection._constructor_.md) | | Constructs a new instance of the Connection class | - -## Properties - -| Property | Modifiers | Type | Description | -| -------- | --------------------- | ------ | ----------- | -| timeout | readonly | number | | - -## Methods - -| Method | Modifiers | Description | -| -------------------------------------------------------------------- | ------------------- | ----------- | -| [createSession(targetInfo)](./puppeteer.connection.createsession.md) | | | -| [dispose()](./puppeteer.connection.dispose.md) | | | -| [fromSession(session)](./puppeteer.connection.fromsession.md) | static | | -| [send(method, params, options)](./puppeteer.connection.send.md) | | | -| [session(sessionId)](./puppeteer.connection.session.md) | | | -| [url()](./puppeteer.connection.url.md) | | | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.consolemessage.md b/website/versioned_docs/version-21.7.0/api/puppeteer.consolemessage.md deleted file mode 100644 index 812da548198..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.consolemessage.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -sidebar_label: ConsoleMessage ---- - -# ConsoleMessage class - -ConsoleMessage objects are dispatched by page via the 'console' event. - -#### Signature: - -```typescript -export declare class ConsoleMessage -``` - -## Constructors - -| Constructor | Modifiers | Description | -| --------------------------------------------------------------------------------------------------- | --------- | ------------------------------------------------------------------ | -| [(constructor)(type, text, args, stackTraceLocations)](./puppeteer.consolemessage._constructor_.md) | | Constructs a new instance of the ConsoleMessage class | - -## Methods - -| Method | Modifiers | Description | -| -------------------------------------------------------- | --------- | ----------------------------------------------------------- | -| [args()](./puppeteer.consolemessage.args.md) | | An array of arguments passed to the console. | -| [location()](./puppeteer.consolemessage.location.md) | | The location of the console message. | -| [stackTrace()](./puppeteer.consolemessage.stacktrace.md) | | The array of locations on the stack of the console message. | -| [text()](./puppeteer.consolemessage.text.md) | | The text of the console message. | -| [type()](./puppeteer.consolemessage.type.md) | | The type of the console message. | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.coverage.md b/website/versioned_docs/version-21.7.0/api/puppeteer.coverage.md deleted file mode 100644 index 7dd807a8865..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.coverage.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -sidebar_label: Coverage ---- - -# Coverage class - -The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page. - -#### Signature: - -```typescript -export declare class Coverage -``` - -## Remarks - -To output coverage in a form consumable by [Istanbul](https://github.com/istanbuljs), see [puppeteer-to-istanbul](https://github.com/istanbuljs/puppeteer-to-istanbul). - -## Example - -An example of using JavaScript and CSS coverage to get percentage of initially executed code: - -```ts -// Enable both JavaScript and CSS coverage -await Promise.all([ - page.coverage.startJSCoverage(), - page.coverage.startCSSCoverage(), -]); -// Navigate to page -await page.goto('https://example.com'); -// Disable both JavaScript and CSS coverage -const [jsCoverage, cssCoverage] = await Promise.all([ - page.coverage.stopJSCoverage(), - page.coverage.stopCSSCoverage(), -]); -let totalBytes = 0; -let usedBytes = 0; -const coverage = [...jsCoverage, ...cssCoverage]; -for (const entry of coverage) { - totalBytes += entry.text.length; - for (const range of entry.ranges) usedBytes += range.end - range.start - 1; -} -console.log(`Bytes used: ${(usedBytes / totalBytes) * 100}%`); -``` - -## Constructors - -| Constructor | Modifiers | Description | -| -------------------------------------------------------------- | --------- | ------------------------------------------------------------ | -| [(constructor)(client)](./puppeteer.coverage._constructor_.md) | | Constructs a new instance of the Coverage class | - -## Methods - -| Method | Modifiers | Description | -| --------------------------------------------------------------------- | --------- | --------------------------------------------------------------------------- | -| [startCSSCoverage(options)](./puppeteer.coverage.startcsscoverage.md) | | | -| [startJSCoverage(options)](./puppeteer.coverage.startjscoverage.md) | | | -| [stopCSSCoverage()](./puppeteer.coverage.stopcsscoverage.md) | | Promise that resolves to the array of coverage reports for all stylesheets. | -| [stopJSCoverage()](./puppeteer.coverage.stopjscoverage.md) | | Promise that resolves to the array of coverage reports for all scripts. | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.csscoverage.md b/website/versioned_docs/version-21.7.0/api/puppeteer.csscoverage.md deleted file mode 100644 index a75a886a975..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.csscoverage.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -sidebar_label: CSSCoverage ---- - -# CSSCoverage class - -#### Signature: - -```typescript -export declare class CSSCoverage -``` - -## Constructors - -| Constructor | Modifiers | Description | -| ----------------------------------------------------------------- | --------- | --------------------------------------------------------------- | -| [(constructor)(client)](./puppeteer.csscoverage._constructor_.md) | | Constructs a new instance of the CSSCoverage class | - -## Methods - -| Method | Modifiers | Description | -| -------------------------------------------------- | --------- | ----------- | -| [start(options)](./puppeteer.csscoverage.start.md) | | | -| [stop()](./puppeteer.csscoverage.stop.md) | | | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.dialog.md b/website/versioned_docs/version-21.7.0/api/puppeteer.dialog.md deleted file mode 100644 index 26423c45f37..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.dialog.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -sidebar_label: Dialog ---- - -# Dialog class - -Dialog instances are dispatched by the [Page](./puppeteer.page.md) via the `dialog` event. - -#### Signature: - -```typescript -export declare abstract class Dialog -``` - -## Remarks - -The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Dialog` class. - -## Example - -```ts -import puppeteer from 'puppeteer'; - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - page.on('dialog', async dialog => { - console.log(dialog.message()); - await dialog.dismiss(); - await browser.close(); - }); - page.evaluate(() => alert('1')); -})(); -``` - -## Methods - -| Method | Modifiers | Description | -| ---------------------------------------------------- | --------- | ----------------------------------------------------------------------------------------------- | -| [accept(promptText)](./puppeteer.dialog.accept.md) | | A promise that resolves when the dialog has been accepted. | -| [defaultValue()](./puppeteer.dialog.defaultvalue.md) | | The default value of the prompt, or an empty string if the dialog is not a prompt. | -| [dismiss()](./puppeteer.dialog.dismiss.md) | | A promise which will resolve once the dialog has been dismissed | -| [message()](./puppeteer.dialog.message.md) | | The message displayed in the dialog. | -| [type()](./puppeteer.dialog.type.md) | | The type of the dialog. | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.md b/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.md deleted file mode 100644 index b47b5abf450..00000000000 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -sidebar_label: ElementHandle ---- - -# ElementHandle class - -ElementHandle represents an in-page DOM element. - -#### Signature: - -```typescript -export declare abstract class ElementHandle extends JSHandle -``` - -**Extends:** [JSHandle](./puppeteer.jshandle.md)<ElementType> - -## Remarks - -ElementHandles can be created with the [Page.$()](./puppeteer.page._.md) method. - -```ts -import puppeteer from 'puppeteer'; - -(async () => { - const browser = await puppeteer.launch(); - const page = await browser.newPage(); - await page.goto('https://example.com'); - const hrefElement = await page.$('a'); - await hrefElement.click(); - // ... -})(); -``` - -ElementHandle prevents the DOM element from being garbage-collected unless the handle is [disposed](./puppeteer.jshandle.dispose.md). ElementHandles are auto-disposed when their origin frame gets navigated. - -ElementHandle instances can be used as arguments in [Page.$eval()](./puppeteer.page._eval.md) and [Page.evaluate()](./puppeteer.page.evaluate.md) methods. - -If you're using TypeScript, ElementHandle takes a generic argument that denotes the type of element the handle is holding within. For example, if you have a handle to a `` element, you can type it as `ElementHandle` and you get some nicer type checks. + +The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `ElementHandle` class. + +## Properties + +| Property | Modifiers | Type | Description | +| -------- | --------------------- | ----------------------------- | ------------------------------------------ | +| frame | readonly | [Frame](./puppeteer.frame.md) | Frame corresponding to the current handle. | + +## Methods + +| Method | Modifiers | Description | +| ----------------------------------------------------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [$](./puppeteer.elementhandle._.md) | | Queries the current element for an element matching the given selector. | +| [$$](./puppeteer.elementhandle.__.md) | | Queries the current element for all elements matching the given selector. | +| [$$eval](./puppeteer.elementhandle.__eval.md) | |

Runs the given function on an array of elements matching the given selector in the current element.

If the given function returns a promise, then this method will wait till the promise resolves.

| +| [$eval](./puppeteer.elementhandle._eval.md) | |

Runs the given function on the first element matching the given selector in the current element.

If the given function returns a promise, then this method will wait till the promise resolves.

| +| [$x](./puppeteer.elementhandle._x.md) | | | +| [autofill](./puppeteer.elementhandle.autofill.md) | | If the element is a form input, you can use [ElementHandle.autofill()](./puppeteer.elementhandle.autofill.md) to test if the form is compatible with the browser's autofill implementation. Throws an error if the form cannot be autofilled. | +| [boundingBox](./puppeteer.elementhandle.boundingbox.md) | | This method returns the bounding box of the element (relative to the main frame), or null if the element is [not part of the layout](https://drafts.csswg.org/css-display-4/#box-generation) (example: display: none). | +| [boxModel](./puppeteer.elementhandle.boxmodel.md) | | This method returns boxes of the element, or null if the element is [not part of the layout](https://drafts.csswg.org/css-display-4/#box-generation) (example: display: none). | +| [click](./puppeteer.elementhandle.click.md) | | This method scrolls element into view if needed, and then uses [Page.mouse](./puppeteer.page.md) to click in the center of the element. If the element is detached from DOM, the method throws an error. | +| [clickablePoint](./puppeteer.elementhandle.clickablepoint.md) | | Returns the middle point within an element unless a specific offset is provided. | +| [contentFrame](./puppeteer.elementhandle.contentframe.md) | | Resolves the frame associated with the element, if any. Always exists for HTMLIFrameElements. | +| [contentFrame](./puppeteer.elementhandle.contentframe_1.md) | | | +| [drag](./puppeteer.elementhandle.drag.md) | | Drags an element over the given element or point. | +| [dragAndDrop](./puppeteer.elementhandle.draganddrop.md) | | | +| [dragEnter](./puppeteer.elementhandle.dragenter.md) | | | +| [dragOver](./puppeteer.elementhandle.dragover.md) | | | +| [drop](./puppeteer.elementhandle.drop.md) | | Drops the given element onto the current one. | +| [drop](./puppeteer.elementhandle.drop_1.md) | | | +| [focus](./puppeteer.elementhandle.focus.md) | | Calls [focus](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus) on the element. | +| [hover](./puppeteer.elementhandle.hover.md) | | This method scrolls element into view if needed, and then uses [Page](./puppeteer.page.md) to hover over the center of the element. If the element is detached from DOM, the method throws an error. | +| [isHidden](./puppeteer.elementhandle.ishidden.md) | | Checks if an element is hidden using the same mechanism as [ElementHandle.waitForSelector()](./puppeteer.elementhandle.waitforselector.md). | +| [isIntersectingViewport](./puppeteer.elementhandle.isintersectingviewport.md) | | Resolves to true if the element is visible in the current viewport. If an element is an SVG, we check if the svg owner element is in the viewport instead. See https://crbug.com/963246. | +| [isVisible](./puppeteer.elementhandle.isvisible.md) | | Checks if an element is visible using the same mechanism as [ElementHandle.waitForSelector()](./puppeteer.elementhandle.waitforselector.md). | +| [press](./puppeteer.elementhandle.press.md) | | Focuses the element, and then uses [Keyboard.down()](./puppeteer.keyboard.down.md) and [Keyboard.up()](./puppeteer.keyboard.up.md). | +| [screenshot](./puppeteer.elementhandle.screenshot.md) | | This method scrolls element into view if needed, and then uses [Page.screenshot()](./puppeteer.page.screenshot_1.md) to take a screenshot of the element. If the element is detached from DOM, the method throws an error. | +| [screenshot](./puppeteer.elementhandle.screenshot_1.md) | | | +| [scrollIntoView](./puppeteer.elementhandle.scrollintoview.md) | | Scrolls the element into view using either the automation protocol client or by calling element.scrollIntoView. | +| [select](./puppeteer.elementhandle.select.md) | | Triggers a change and input event once all the provided options have been selected. If there's no <select> element matching selector, the method throws an error. | +| [tap](./puppeteer.elementhandle.tap.md) | | This method scrolls element into view if needed, and then uses [Touchscreen.tap()](./puppeteer.touchscreen.tap.md) to tap in the center of the element. If the element is detached from DOM, the method throws an error. | +| [toElement](./puppeteer.elementhandle.toelement.md) | | Converts the current handle to the given element type. | +| [touchEnd](./puppeteer.elementhandle.touchend.md) | | | +| [touchMove](./puppeteer.elementhandle.touchmove.md) | | | +| [touchStart](./puppeteer.elementhandle.touchstart.md) | | | +| [type](./puppeteer.elementhandle.type.md) | |

Focuses the element, and then sends a keydown, keypress/input, and keyup event for each character in the text.

To press a special key, like Control or ArrowDown, use [ElementHandle.press()](./puppeteer.elementhandle.press.md).

| +| [uploadFile](./puppeteer.elementhandle.uploadfile.md) | | Sets the value of an [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) to the given file paths. | +| [waitForSelector](./puppeteer.elementhandle.waitforselector.md) | |

Wait for an element matching the given selector to appear in the current element.

Unlike [Frame.waitForSelector()](./puppeteer.frame.waitforselector.md), this method does not work across navigations or if the element is detached from DOM.

| +| [waitForXPath](./puppeteer.elementhandle.waitforxpath.md) | | | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.press.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.press.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.press.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.press.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.screenshot.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.screenshot.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.screenshot.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.screenshot.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.screenshot_1.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.screenshot_1.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.screenshot_1.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.screenshot_1.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.scrollintoview.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.scrollintoview.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.scrollintoview.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.scrollintoview.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.select.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.select.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.select.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.select.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.tap.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.tap.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.tap.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.tap.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.toelement.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.toelement.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.toelement.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.toelement.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchend.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchend.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchend.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchend.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchmove.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchmove.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchmove.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchmove.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchstart.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchstart.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.touchstart.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.touchstart.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.type.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.type.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.type.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.type.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.uploadfile.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.uploadfile.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.uploadfile.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.uploadfile.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.waitforselector.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.waitforselector.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.waitforselector.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.waitforselector.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.waitforxpath.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.waitforxpath.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementhandle.waitforxpath.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementhandle.waitforxpath.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.elementscreenshotoptions.md b/website/versioned_docs/version-21.8.0/api/puppeteer.elementscreenshotoptions.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.elementscreenshotoptions.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.elementscreenshotoptions.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.errorcode.md b/website/versioned_docs/version-21.8.0/api/puppeteer.errorcode.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.errorcode.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.errorcode.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.errors.md b/website/versioned_docs/version-21.8.0/api/puppeteer.errors.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.errors.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.errors.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.evaluatefunc.md b/website/versioned_docs/version-21.8.0/api/puppeteer.evaluatefunc.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.evaluatefunc.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.evaluatefunc.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.evaluatefuncwith.md b/website/versioned_docs/version-21.8.0/api/puppeteer.evaluatefuncwith.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.evaluatefuncwith.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.evaluatefuncwith.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.addlistener.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.addlistener.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.addlistener.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.addlistener.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.emit.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.emit.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.emit.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.emit.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.listenercount.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.listenercount.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.listenercount.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.listenercount.md diff --git a/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.md new file mode 100644 index 00000000000..84932617c05 --- /dev/null +++ b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.md @@ -0,0 +1,34 @@ +--- +sidebar_label: EventEmitter +--- + +# EventEmitter class + +The EventEmitter class that many Puppeteer classes extend. + +#### Signature: + +```typescript +export declare class EventEmitter> implements CommonEventEmitter> +``` + +**Implements:** [CommonEventEmitter](./puppeteer.commoneventemitter.md)<[EventsWithWildcard](./puppeteer.eventswithwildcard.md)<Events>> + +## Remarks + +This allows you to listen to events that Puppeteer classes fire and act accordingly. Therefore you'll mostly use [on](./puppeteer.eventemitter.on.md) and [off](./puppeteer.eventemitter.off.md) to bind and unbind to event listeners. + +The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `EventEmitter` class. + +## Methods + +| Method | Modifiers | Description | +| -------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------ | +| [addListener](./puppeteer.eventemitter.addlistener.md) | | Add an event listener. | +| [emit](./puppeteer.eventemitter.emit.md) | | Emit an event and call any associated listeners. | +| [listenerCount](./puppeteer.eventemitter.listenercount.md) | | Gets the number of listeners for a given event. | +| [off](./puppeteer.eventemitter.off.md) | | Remove an event listener from firing. | +| [on](./puppeteer.eventemitter.on.md) | | Bind an event listener to fire when an event occurs. | +| [once](./puppeteer.eventemitter.once.md) | | Like on but the listener will only be fired once and then it will be removed. | +| [removeAllListeners](./puppeteer.eventemitter.removealllisteners.md) | | Removes all listeners. If given an event argument, it will remove only listeners for that event. | +| [removeListener](./puppeteer.eventemitter.removelistener.md) | | Remove an event listener. | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.off.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.off.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.off.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.off.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.on.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.on.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.on.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.on.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.once.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.once.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.once.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.once.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.removealllisteners.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.removealllisteners.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.removealllisteners.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.removealllisteners.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.removelistener.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.removelistener.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventemitter.removelistener.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventemitter.removelistener.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventswithwildcard.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventswithwildcard.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventswithwildcard.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventswithwildcard.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.eventtype.md b/website/versioned_docs/version-21.8.0/api/puppeteer.eventtype.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.eventtype.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.eventtype.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.executablepath.md b/website/versioned_docs/version-21.8.0/api/puppeteer.executablepath.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.executablepath.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.executablepath.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.experimentsconfiguration.md b/website/versioned_docs/version-21.8.0/api/puppeteer.experimentsconfiguration.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.experimentsconfiguration.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.experimentsconfiguration.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.accept.md b/website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.accept.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.accept.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.accept.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.cancel.md b/website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.cancel.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.cancel.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.cancel.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.ismultiple.md b/website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.ismultiple.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.ismultiple.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.ismultiple.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.md b/website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.md similarity index 58% rename from website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.md index 9e9dfe718c8..54d08da5a79 100644 --- a/website/versioned_docs/version-21.7.0/api/puppeteer.filechooser.md +++ b/website/versioned_docs/version-21.8.0/api/puppeteer.filechooser.md @@ -32,8 +32,8 @@ await fileChooser.accept(['/tmp/myfile.pdf']); ## Methods -| Method | Modifiers | Description | -| ----------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| [accept(paths)](./puppeteer.filechooser.accept.md) | | Accept the file chooser request with the given file paths. | -| [cancel()](./puppeteer.filechooser.cancel.md) | | Closes the file chooser without selecting any files. | -| [isMultiple()](./puppeteer.filechooser.ismultiple.md) | | Whether file chooser allow for [multiple](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-multiple) file selection. | +| Method | Modifiers | Description | +| --------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| [accept](./puppeteer.filechooser.accept.md) | | Accept the file chooser request with the given file paths. | +| [cancel](./puppeteer.filechooser.cancel.md) | | Closes the file chooser without selecting any files. | +| [isMultiple](./puppeteer.filechooser.ismultiple.md) | | Whether file chooser allow for [multiple](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-multiple) file selection. | diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.flattenhandle.md b/website/versioned_docs/version-21.8.0/api/puppeteer.flattenhandle.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.flattenhandle.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.flattenhandle.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame._.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame._.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame._.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame._.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.__.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.__.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.__.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.__.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.__eval.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.__eval.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.__eval.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.__eval.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame._eval.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame._eval.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame._eval.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame._eval.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame._x.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame._x.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame._x.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame._x.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.addscripttag.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.addscripttag.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.addscripttag.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.addscripttag.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.addstyletag.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.addstyletag.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.addstyletag.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.addstyletag.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.addstyletag_1.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.addstyletag_1.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.addstyletag_1.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.addstyletag_1.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.childframes.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.childframes.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.childframes.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.childframes.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.click.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.click.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.click.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.click.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.content.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.content.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.content.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.content.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.evaluate.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.evaluate.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.evaluate.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.evaluate.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.evaluatehandle.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.evaluatehandle.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.evaluatehandle.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.evaluatehandle.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.focus.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.focus.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.focus.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.focus.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.goto.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.goto.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.goto.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.goto.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.hover.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.hover.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.hover.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.hover.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.isdetached.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.isdetached.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.isdetached.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.isdetached.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.isoopframe.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.isoopframe.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.isoopframe.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.isoopframe.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.locator.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.locator.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.locator.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.locator.md diff --git a/website/versioned_docs/version-21.7.0/api/puppeteer.frame.locator_1.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.locator_1.md similarity index 100% rename from website/versioned_docs/version-21.7.0/api/puppeteer.frame.locator_1.md rename to website/versioned_docs/version-21.8.0/api/puppeteer.frame.locator_1.md diff --git a/website/versioned_docs/version-21.8.0/api/puppeteer.frame.md b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.md new file mode 100644 index 00000000000..0c941f3d4b7 --- /dev/null +++ b/website/versioned_docs/version-21.8.0/api/puppeteer.frame.md @@ -0,0 +1,107 @@ +--- +sidebar_label: Frame +--- + +# Frame class + +Represents a DOM frame. + +To understand frames, you can think of frames as `