-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reporting] Bump puppeteer 5.4.1 + roll chromium rev #85066
[Reporting] Bump puppeteer 5.4.1 + roll chromium rev #85066
Conversation
Pinging @elastic/kibana-app-services (Team:AppServices) |
@@ -19,6 +19,9 @@ | |||
"number": 8467, | |||
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9" | |||
}, | |||
"config": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed so puppeteer doesn't auto-download it's own copy of chromium (we take care of that)
@@ -158,7 +158,7 @@ export class HeadlessChromiumDriver { | |||
): Promise<ElementHandle<Element>> { | |||
const { timeout } = opts; | |||
logger.debug(`waitForSelector ${selector}`); | |||
const resp = await this.page.waitFor(selector, { timeout }); // override default 30000ms | |||
const resp = await this.page.waitForSelector(selector, { timeout }); // override default 30000ms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
waitFor
is now deprecated in favor of the downstream calls it makes (it's a simple higher-order fn)
archiveChecksum: '020303e829745fd332ae9b39442ce570', | ||
binaryChecksum: '5cdec11d45a0eddf782bed9b9f10319f', | ||
binaryRelativePath: 'headless_shell-darwin/headless_shell', | ||
archiveFilename: 'chromium-ef768c9-darwin_x64.zip', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The architecture of the platform is now added to the filename since we've introduced arm64, and this is the first full update since we've done so
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
* Update puppeteer + new headless shell bin * Bump types for pptr * Fix broken mock for pptr Co-authored-by: Kibana Machine <[email protected]>
Removes our small "type-wrapper" in favor of vanilla puppeteer and bumps chromium. I've also gone ahead and move the
page.waitFor
function to their lower-level calls since it's now deprecated.I've personally tested on the big 3!
QA
Please ensure that we test on all the relevant OSes. There's no behavioral changes here, simply a new version of Chrome on all platforms (including ARM).