@skrillex1224/playwright-toolkit 2.1.234 → 2.1.236

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
@@ -236,16 +236,13 @@ var ActorInfo = {
236
236
  erine: createActorInfo({
237
237
  key: "erine",
238
238
  name: "\u6587\u5FC3\u4E00\u8A00",
239
- domain: "yiyan.baidu.com",
239
+ domain: "wenxin.baidu.com",
240
240
  path: "/",
241
+ device: Device.Mobile,
241
242
  share: {
242
- mode: "response",
243
- prefix: "https://yiyan.baidu.com/share/",
244
- xurl: [
245
- "/eb/share/key/gen",
246
- "data",
247
- "key"
248
- ]
243
+ mode: "dom",
244
+ prefix: "",
245
+ xurl: []
249
246
  }
250
247
  }),
251
248
  wenxin: createActorInfo({
@@ -283,6 +280,7 @@ var ActorInfo = {
283
280
  name: "\u5143\u5B9D",
284
281
  domain: "yuanbao.tencent.com",
285
282
  path: "/chat/",
283
+ device: Device.Mobile,
286
284
  share: {
287
285
  mode: "response",
288
286
  prefix: "https://yb.tencent.com/s/",
@@ -297,6 +295,7 @@ var ActorInfo = {
297
295
  name: "Kimi",
298
296
  domain: "www.kimi.com",
299
297
  path: "/",
298
+ device: Device.Mobile,
300
299
  share: {
301
300
  mode: "response",
302
301
  prefix: "https://www.kimi.com/share/",
@@ -2853,14 +2852,14 @@ var Humanize = {
2853
2852
  * @param {import('playwright').Page} page
2854
2853
  * @param {string|import('playwright').ElementHandle} target - CSS 选择器或元素句柄
2855
2854
  * @param {Object} [options]
2856
- * @param {number} [options.maxSteps=14] - 最大滚动步数
2855
+ * @param {number} [options.maxSteps=20] - 最大滚动步数
2857
2856
  * @param {number} [options.minStep=260] - 单次滚动最小步长
2858
2857
  * @param {number} [options.maxStep=800] - 单次滚动最大步长
2859
2858
  * @param {number} [options.maxDurationMs] - 最长耗时上限 (默认随 maxSteps 估算)
2860
2859
  */
2861
2860
  async humanScroll(page, target, options = {}) {
2862
2861
  const {
2863
- maxSteps = 14,
2862
+ maxSteps = 20,
2864
2863
  minStep = 260,
2865
2864
  maxStep = 800,
2866
2865
  maxDurationMs = maxSteps * 220 + 800
@@ -3781,7 +3780,7 @@ var MobileHumanize = {
3781
3780
  },
3782
3781
  async humanScroll(page, target, options = {}) {
3783
3782
  const {
3784
- maxSteps = 12,
3783
+ maxSteps = 20,
3785
3784
  minStep = 180,
3786
3785
  maxStep = 520,
3787
3786
  maxDurationMs = maxSteps * 280 + 1200,