@skrillex1224/playwright-toolkit 3.0.48 → 3.0.49

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 CHANGED
@@ -246,13 +246,9 @@ var ActorInfo = {
246
246
  },
247
247
  device: Device.Desktop,
248
248
  share: {
249
- mode: "response",
250
- prefix: "https://www.doubao.com/thread/",
251
- xurl: [
252
- "/share/save",
253
- "data",
254
- "share_id"
255
- ]
249
+ mode: "custom",
250
+ prefix: "",
251
+ xurl: []
256
252
  }
257
253
  }),
258
254
  deepseek: createActorInfo({
@@ -10433,16 +10429,6 @@ var Share = {
10433
10429
  ]);
10434
10430
  if (timer) clearTimeout(timer);
10435
10431
  if (actionResult.type === "error") {
10436
- const selected = candidates[share.mode];
10437
- if (selected?.link) {
10438
- 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}`);
10439
- return {
10440
- link: selected.link,
10441
- payloadText: selected.payloadText,
10442
- payloadSnapshot: toSnapshot(selected.payloadText, payloadSnapshotMaxLen),
10443
- source: share.mode
10444
- };
10445
- }
10446
10432
  logger17.fail("captureLink.performActions", actionResult.error);
10447
10433
  throw actionResult.error;
10448
10434
  }