@skrillex1224/playwright-toolkit 2.1.239 → 2.1.240

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 CHANGED
@@ -2555,7 +2555,7 @@ var createActorInfo = (info) => {
2555
2555
  const normalizeShare = (value) => {
2556
2556
  const raw = value && typeof value === "object" ? value : {};
2557
2557
  const modeRaw = String(raw.mode || "dom").trim().toLowerCase();
2558
- const mode = modeRaw === "response" ? "response" : "dom";
2558
+ const mode = ["dom", "response", "custom"].includes(modeRaw) ? modeRaw : "dom";
2559
2559
  const prefix = String(raw.prefix || "").trim();
2560
2560
  const rawXurl = Array.isArray(raw.xurl) ? raw.xurl : [];
2561
2561
  const normalizeMatcherList = (input) => {
@@ -2639,9 +2639,8 @@ var ActorInfo = {
2639
2639
  qbot: createActorInfo({
2640
2640
  key: "qbot",
2641
2641
  name: "QQ\u6D4F\u89C8\u5668AI\u641C",
2642
- domain: "m.sogou.com",
2642
+ domain: "sogou.com",
2643
2643
  path: "/web",
2644
- device: Device.Mobile,
2645
2644
  share: {
2646
2645
  mode: "dom",
2647
2646
  prefix: "",
@@ -2713,7 +2712,7 @@ var ActorInfo = {
2713
2712
  path: "/",
2714
2713
  device: Device.Mobile,
2715
2714
  share: {
2716
- mode: "dom",
2715
+ mode: "custom",
2717
2716
  prefix: "",
2718
2717
  xurl: []
2719
2718
  }