@skrillex1224/playwright-toolkit 2.1.187 → 2.1.189
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/dist/browser.js +0 -4
- package/dist/browser.js.map +2 -2
- package/dist/index.cjs +0 -6
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +0 -6
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1316,10 +1316,6 @@ var normalizeBrowserProfileCore = (value) => {
|
|
|
1316
1316
|
if (locale) {
|
|
1317
1317
|
profile.locale = locale;
|
|
1318
1318
|
}
|
|
1319
|
-
const profileKey = String(source.profile_key || "").trim();
|
|
1320
|
-
if (profileKey) {
|
|
1321
|
-
profile.profile_key = profileKey;
|
|
1322
|
-
}
|
|
1323
1319
|
const browserMajorVersion = Number(source.browser_major_version || 0);
|
|
1324
1320
|
if (Number.isFinite(browserMajorVersion) && browserMajorVersion > 0) {
|
|
1325
1321
|
profile.browser_major_version = browserMajorVersion;
|
|
@@ -2689,7 +2685,6 @@ var buildReplayableBrowserProfile = (runtimeState, launcher) => {
|
|
|
2689
2685
|
timezone_id: timezoneId,
|
|
2690
2686
|
locale,
|
|
2691
2687
|
browser_major_version: currentBrowserMajorVersion > 0 ? currentBrowserMajorVersion : fingerprintBrowserMajorVersion,
|
|
2692
|
-
profile_key: String(nextState.envId || "").trim(),
|
|
2693
2688
|
schema_version: DEFAULT_BROWSER_PROFILE_SCHEMA_VERSION
|
|
2694
2689
|
};
|
|
2695
2690
|
nextState = RuntimeEnv.setBrowserProfileCore(nextState, browserProfileCore);
|
|
@@ -2702,7 +2697,6 @@ var buildReplayableBrowserProfile = (runtimeState, launcher) => {
|
|
|
2702
2697
|
...browserProfileCore,
|
|
2703
2698
|
timezone_id: timezoneId,
|
|
2704
2699
|
locale,
|
|
2705
|
-
profile_key: String(browserProfileCore.profile_key || nextState.envId || "").trim(),
|
|
2706
2700
|
schema_version: Number(browserProfileCore.schema_version || 0) > 0 ? Number(browserProfileCore.schema_version || 0) : DEFAULT_BROWSER_PROFILE_SCHEMA_VERSION,
|
|
2707
2701
|
browser_major_version: currentBrowserMajorVersion > 0 ? currentBrowserMajorVersion : Number(browserProfileCore.browser_major_version || 0)
|
|
2708
2702
|
};
|