From a80d1fe382c039728cdffb8ede044288350397ef Mon Sep 17 00:00:00 2001 From: Nirupam Bhowmick <48842933+heydryft@users.noreply.github.com> Date: Mon, 22 Dec 2025 01:33:54 +0000 Subject: [PATCH] fix: update Navigator.cpp Webdriver line number for Firefox 146 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update hunk from 2315→2318 - Fixes Navigator::Webdriver() reject file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- patches/playwright/0-playwright.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/playwright/0-playwright.patch b/patches/playwright/0-playwright.patch index b2181d0c..f37c2006 100644 --- a/patches/playwright/0-playwright.patch +++ b/patches/playwright/0-playwright.patch @@ -975,10 +975,10 @@ index 11a57adbb57b0adccf7ae491e7d7757f838bd9dc..e478244cedc2089fb99b3153d7493b7d // The returned value is cached by the binding code. The window listens to the // accept languages change and will clear the cache when needed. It has to -@@ -2315,7 +2325,8 @@ bool Navigator::Webdriver() { +@@ -2318,7 +2328,8 @@ bool Navigator::Webdriver() { } #endif - + - return false; + // Playwright is automating the browser, so we should pretend to be a webdriver + return true;