brave-real-playwright-core 1.57.0-patch.11 → 1.57.0-patch.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🦁 brave-real-playwright-core v1.57.0-patch.11
1
+ # 🦁 brave-real-playwright-core v1.57.0-patch.13
2
2
 
3
3
  **Based on Playwright Core v1.57.0**
4
4
 
@@ -48,7 +48,7 @@ await page.goto('https://bot-detector.rebrowser.net/');
48
48
 
49
49
  - **playwright-core**: v1.57.0
50
50
  - **rebrowser-patches**: Latest stealth optimizations
51
- - **Brave optimization**: v1.57.0-patch.11
51
+ - **Brave optimization**: v1.57.0-patch.13
52
52
 
53
53
  ## 🔗 Links
54
54
 
@@ -5,7 +5,7 @@
5
5
  timingRange: '1-5ms',
6
6
  stealthLevel: 'professional',
7
7
  engine: 'playwright',
8
- braveVersion: '1.57.0-patch.11',
8
+ braveVersion: '1.57.0-patch.13',
9
9
  features: {
10
10
  performanceOptimization: true,
11
11
  navigatorSpoofing: true,
@@ -175,18 +175,9 @@
175
175
  configurable: true
176
176
  });
177
177
 
178
- // Remove chrome runtime detection
179
- if (window.chrome) {
180
- if (window.chrome.runtime) {
181
- delete window.chrome.runtime;
182
- }
183
- if (window.chrome.loadTimes) {
184
- delete window.chrome.loadTimes;
185
- }
186
- if (window.chrome.csi) {
187
- delete window.chrome.csi;
188
- }
189
- }
178
+ // NOTE: Do NOT delete window.chrome.runtime - ReCaptcha V3 needs it!
179
+ // Keeping chrome object intact for better ReCaptcha scores
180
+ // Previously this code was deleting chrome.runtime which caused low ReCaptcha scores
190
181
 
191
182
  // Spoof permissions API
192
183
  if (navigator.permissions && navigator.permissions.query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brave-real-playwright-core",
3
- "version": "1.57.0-patch.11",
3
+ "version": "1.57.0-patch.13",
4
4
  "description": "Brave-optimized Playwright Core (v1.57.0) with comprehensive stealth patches and error stack sanitization",
5
5
  "keywords": [
6
6
  "playwright",
@@ -48,16 +48,16 @@
48
48
  ],
49
49
  "brave": {
50
50
  "optimized": true,
51
- "version": "1.57.0-patch.11",
51
+ "version": "1.57.0-patch.13",
52
52
  "basedOn": {
53
53
  "playwright-core": "1.57.0",
54
- "patches-version": "1.57.0-patch.11",
55
- "release-info": "Brave Playwright v1.57.0-patch.11 based on Playwright Core v1.57.0"
54
+ "patches-version": "1.57.0-patch.13",
55
+ "release-info": "Brave Playwright v1.57.0-patch.13 based on Playwright Core v1.57.0"
56
56
  },
57
57
  "versionInfo": {
58
- "braveVersion": "1.57.0-patch.11",
58
+ "braveVersion": "1.57.0-patch.13",
59
59
  "playwrightVersion": "1.57.0",
60
- "fullName": "Brave Playwright Core v1.57.0-patch.11 (Playwright 1.57.0)"
60
+ "fullName": "Brave Playwright Core v1.57.0-patch.13 (Playwright 1.57.0)"
61
61
  },
62
62
  "features": [
63
63
  "error-stack-sanitization",
@@ -139,18 +139,9 @@
139
139
  configurable: true
140
140
  });
141
141
 
142
- // Remove chrome runtime detection
143
- if (window.chrome) {
144
- if (window.chrome.runtime) {
145
- delete window.chrome.runtime;
146
- }
147
- if (window.chrome.loadTimes) {
148
- delete window.chrome.loadTimes;
149
- }
150
- if (window.chrome.csi) {
151
- delete window.chrome.csi;
152
- }
153
- }
142
+ // NOTE: Do NOT delete window.chrome.runtime - ReCaptcha V3 needs it!
143
+ // Keeping chrome object intact for better ReCaptcha scores
144
+ // Previously this code was deleting chrome.runtime which caused low ReCaptcha scores
154
145
 
155
146
  // Spoof permissions API
156
147
  if (navigator.permissions && navigator.permissions.query) {