@skrillex1224/playwright-toolkit 3.0.49 → 3.0.50
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/index.cjs +10 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +10 -0
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -10429,6 +10429,16 @@ var Share = {
|
|
|
10429
10429
|
]);
|
|
10430
10430
|
if (timer) clearTimeout(timer);
|
|
10431
10431
|
if (actionResult.type === "error") {
|
|
10432
|
+
const selected = candidates[share.mode];
|
|
10433
|
+
if (selected?.link) {
|
|
10434
|
+
logger17.warning(`performActions \u6267\u884C\u5931\u8D25\u4F46\u5DF2\u6355\u83B7\u5206\u4EAB\u94FE\u63A5\uFF0C\u4F7F\u7528\u5DF2\u6355\u83B7\u7ED3\u679C: source=${share.mode}, link=${selected.link}`);
|
|
10435
|
+
return {
|
|
10436
|
+
link: selected.link,
|
|
10437
|
+
payloadText: selected.payloadText,
|
|
10438
|
+
payloadSnapshot: toSnapshot(selected.payloadText, payloadSnapshotMaxLen),
|
|
10439
|
+
source: share.mode
|
|
10440
|
+
};
|
|
10441
|
+
}
|
|
10432
10442
|
logger17.fail("captureLink.performActions", actionResult.error);
|
|
10433
10443
|
throw actionResult.error;
|
|
10434
10444
|
}
|