mirror of
https://github.com/daijro/camoufox.git
synced 2026-10-30 00:06:21 +00:00
fix: update Navigator.cpp Webdriver line number for Firefox 146
- Update hunk from 2315→2318 - Fixes Navigator::Webdriver() reject file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
d3f4551f57
commit
a80d1fe382
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user