playwright-core 1.57.0-beta-1763718928000 → 1.57.0-beta-1763739794000
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.
|
@@ -248,7 +248,7 @@ class AndroidDevice extends import_instrumentation.SdkObject {
|
|
|
248
248
|
"--disable-fre",
|
|
249
249
|
"--no-default-browser-check",
|
|
250
250
|
`--remote-debugging-socket-name=${socketName}`,
|
|
251
|
-
...(0, import_chromiumSwitches.chromiumSwitches)(),
|
|
251
|
+
...(0, import_chromiumSwitches.chromiumSwitches)(void 0, void 0, true),
|
|
252
252
|
...this._innerDefaultArgs(options)
|
|
253
253
|
];
|
|
254
254
|
return chromeArguments;
|
|
@@ -50,7 +50,7 @@ const disabledFeatures = (assistantMode) => [
|
|
|
50
50
|
"OptimizationHints",
|
|
51
51
|
assistantMode ? "AutomationControlled" : ""
|
|
52
52
|
].filter(Boolean);
|
|
53
|
-
const chromiumSwitches = (assistantMode, channel) => [
|
|
53
|
+
const chromiumSwitches = (assistantMode, channel, android) => [
|
|
54
54
|
"--disable-field-trial-config",
|
|
55
55
|
// https://source.chromium.org/chromium/chromium/src/+/main:testing/variations/README.md
|
|
56
56
|
"--disable-background-networking",
|
|
@@ -96,7 +96,7 @@ const chromiumSwitches = (assistantMode, channel) => [
|
|
|
96
96
|
// Less annoying popups.
|
|
97
97
|
"--disable-search-engine-choice-screen",
|
|
98
98
|
// Prevents the "three dots" menu crash in IdentityManager::HasPrimaryAccount for ephemeral contexts.
|
|
99
|
-
"--disable-sync"
|
|
99
|
+
android ? "" : "--disable-sync"
|
|
100
100
|
].filter(Boolean);
|
|
101
101
|
// Annotate the CommonJS export names for ESM import in node:
|
|
102
102
|
0 && (module.exports = {
|