diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts b/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts index ea90e8bf8316..c419cae26340 100644 --- a/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts +++ b/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts @@ -36,7 +36,7 @@ export class HeadlessChromiumDriver { this.logger.debug(`HeadlessChromiumDriver:opening url ${url}`); await this.page.setExtraHTTPHeaders(headers); - await this.page.goto(url, { waitUntil: 'networkidle0' }); + await this.page.goto(url, { waitUntil: 'domcontentloaded' }); await this.page.waitFor(waitForSelector); }