Skip to content

Commit 403f3d1

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll puppeteer-core
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/RECORDER_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8704930891890557569 [email protected] Bug: none Change-Id: I585bf69c252e72ed2f651d8fc19aad04c77355a9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6903953 Reviewed-by: Nikolay Vitkov <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent 9f50e2f commit 403f3d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2688
-2430
lines changed

front_end/third_party/puppeteer/README.chromium

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Name: Puppeteer Core
22
Short Name: Puppeteer Core
33
URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
4-
Version: 24.17.1
4+
Version: 24.18.0
55
License: Apache-2.0
66
License File: LICENSE
7-
Revision: 5bedba6c1e7000bdd8fe36a79eccf2858ac8b1fe
7+
Revision: 92fb12975de0db0a2af69c7e2862e09ec4dcd55a
88
Security Critical: no
99
Shipped: yes
1010
Update Mechanism: Autoroll

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import type { KeyInput } from '../common/USKeyboardLayout.js';
1010
import { _isElementHandle } from './ElementHandleSymbol.js';
1111
import type { KeyboardTypeOptions, KeyPressOptions, MouseClickOptions, TouchHandle } from './Input.js';
1212
import { JSHandle } from './JSHandle.js';
13+
import type { Locator } from './locators/locators.js';
1314
import type { QueryOptions, ScreenshotOptions, WaitForSelectorOptions } from './Page.js';
1415
/**
1516
* @public
@@ -611,6 +612,12 @@ export declare abstract class ElementHandle<ElementType extends Node = Element>
611612
* or by calling element.scrollIntoView.
612613
*/
613614
scrollIntoView(this: ElementHandle<Element>): Promise<void>;
615+
/**
616+
* Creates a locator based on an ElementHandle. This would not allow
617+
* refreshing the element handle if it is stale but it allows re-using other
618+
* locator pre-conditions.
619+
*/
620+
asLocator(this: ElementHandle<Element>): Locator<Element>;
614621
/**
615622
* If the element is a form input, you can use {@link ElementHandle.autofill}
616623
* to test if the form is compatible with the browser's autofill

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,17 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
23432343
* ```
23442344
*/
23452345
abstract waitForDevicePrompt(options?: WaitTimeoutOptions): Promise<DeviceRequestPrompt>;
2346+
/**
2347+
* Resizes the browser window the page is in so that the content area
2348+
* (excluding browser UI) is according to the specified widht and height.
2349+
*
2350+
* @experimental
2351+
* @internal
2352+
*/
2353+
abstract resize(params: {
2354+
contentWidth: number;
2355+
contentHeight: number;
2356+
}): Promise<void>;
23462357
/** @internal */
23472358
[disposeSymbol](): void;
23482359
/** @internal */

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)