@skrillex1224/playwright-toolkit 2.1.188 → 2.1.190
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.js
CHANGED
|
@@ -1288,10 +1288,6 @@ var normalizeBrowserProfileCore = (value) => {
|
|
|
1288
1288
|
if (locale) {
|
|
1289
1289
|
profile.locale = locale;
|
|
1290
1290
|
}
|
|
1291
|
-
const profileKey = String(source.profile_key || "").trim();
|
|
1292
|
-
if (profileKey) {
|
|
1293
|
-
profile.profile_key = profileKey;
|
|
1294
|
-
}
|
|
1295
1291
|
const browserMajorVersion = Number(source.browser_major_version || 0);
|
|
1296
1292
|
if (Number.isFinite(browserMajorVersion) && browserMajorVersion > 0) {
|
|
1297
1293
|
profile.browser_major_version = browserMajorVersion;
|
|
@@ -2661,7 +2657,6 @@ var buildReplayableBrowserProfile = (runtimeState, launcher) => {
|
|
|
2661
2657
|
timezone_id: timezoneId,
|
|
2662
2658
|
locale,
|
|
2663
2659
|
browser_major_version: currentBrowserMajorVersion > 0 ? currentBrowserMajorVersion : fingerprintBrowserMajorVersion,
|
|
2664
|
-
profile_key: String(nextState.envId || "").trim(),
|
|
2665
2660
|
schema_version: DEFAULT_BROWSER_PROFILE_SCHEMA_VERSION
|
|
2666
2661
|
};
|
|
2667
2662
|
nextState = RuntimeEnv.setBrowserProfileCore(nextState, browserProfileCore);
|
|
@@ -2674,7 +2669,6 @@ var buildReplayableBrowserProfile = (runtimeState, launcher) => {
|
|
|
2674
2669
|
...browserProfileCore,
|
|
2675
2670
|
timezone_id: timezoneId,
|
|
2676
2671
|
locale,
|
|
2677
|
-
profile_key: String(browserProfileCore.profile_key || nextState.envId || "").trim(),
|
|
2678
2672
|
schema_version: Number(browserProfileCore.schema_version || 0) > 0 ? Number(browserProfileCore.schema_version || 0) : DEFAULT_BROWSER_PROFILE_SCHEMA_VERSION,
|
|
2679
2673
|
browser_major_version: currentBrowserMajorVersion > 0 ? currentBrowserMajorVersion : Number(browserProfileCore.browser_major_version || 0)
|
|
2680
2674
|
};
|