From 200d95d4116e597b8ff80a8a8328efe6b44321f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Thu, 12 Feb 2026 12:30:43 -0300 Subject: [PATCH] Disable ReadAnythingOmniboxChip and IPH_ReadingModePageActionLabel by default Port of upstream puppeteer PR #14621. These Chrome features execute scripts on the page to determine readability, which interferes with JS coverage measurements. Co-Authored-By: Claude Opus 4.6 --- lib/PuppeteerSharp/ChromeLauncher.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PuppeteerSharp/ChromeLauncher.cs b/lib/PuppeteerSharp/ChromeLauncher.cs index 54b24b9a8..492420983 100644 --- a/lib/PuppeteerSharp/ChromeLauncher.cs +++ b/lib/PuppeteerSharp/ChromeLauncher.cs @@ -45,6 +45,8 @@ internal static string[] GetDefaultArgs(LaunchOptions options) "AcceptCHFrame", "MediaRouter", "OptimizationHints", + "IPH_ReadingModePageActionLabel", + "ReadAnythingOmniboxChip", "ProcessPerSiteUpToMainFrameThreshold", };