playwright-core 1.53.1 → 1.53.2
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.
|
@@ -339,6 +339,8 @@ async function urlToWSEndpoint(progress, endpointURL, headers) {
|
|
|
339
339
|
return endpointURL;
|
|
340
340
|
progress.log(`<ws preparing> retrieving websocket url from ${endpointURL}`);
|
|
341
341
|
const url = new URL(endpointURL);
|
|
342
|
+
if (!url.pathname.endsWith("/"))
|
|
343
|
+
url.pathname += "/";
|
|
342
344
|
url.pathname += "json/version/";
|
|
343
345
|
const httpURL = url.toString();
|
|
344
346
|
const json = await (0, import_network.fetchData)(
|
|
@@ -90,6 +90,8 @@ const chromiumSwitches = (assistantMode, channel) => [
|
|
|
90
90
|
"--disable-search-engine-choice-screen",
|
|
91
91
|
// https://issues.chromium.org/41491762
|
|
92
92
|
"--unsafely-disable-devtools-self-xss-warnings",
|
|
93
|
+
// Edge can potentially restart on Windows (msRelaunchNoCompatLayer) which looses its file descriptors (stdout/stderr) and CDP (3/4). Disable until fixed upstream.
|
|
94
|
+
"--edge-skip-compat-layer-relaunch",
|
|
93
95
|
assistantMode ? "" : "--enable-automation"
|
|
94
96
|
].filter(Boolean);
|
|
95
97
|
// Annotate the CommonJS export names for ESM import in node:
|