message: wait for domcontentloaded
diff: @@ -26,6 +26,8 @@ export async function screenshot(
  // font load affects layout
  /* istanbul ignore next */
  await page.evaluate(() => document.fonts.ready);
  + await page.waitForLoadState("domcontentloaded");
  +
  const { selector = "#mount > *:not(.AppRoot), .AppRoot > *" } = options;
  /* istanbul ignore next */
  const { x, y, bottom, right } = await page.evaluate((selector) => {
  