@skrillex1224/playwright-toolkit 2.0.22 → 2.0.23

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -99,9 +99,10 @@ await Actor.exit();
99
99
  | `Stealth` | `syncViewportWithScreen(page)` | 同步视口与屏幕 |
100
100
  | `Stealth` | `hideWebdriver(page)` | 隐藏 webdriver |
101
101
  | `Stealth` | `setupBlockingResources(page, types?)` | 资源拦截 |
102
- | `Humanize` | `humanType(page, selector, text, options?)` | 人类化输入 |
102
+ | `Stealth` | `setChinaTimezone(context)` | 设置中国时区 (UTC+8) |
103
+ | `Humanize` | `humanType(page, selector, text, options?)` | 人类化输入 (支持中文) |
103
104
  | `Humanize` | `humanClick(page, cursor, selector, options?)` | 人类化点击 |
104
- | `Humanize` | `warmUpBrowsing(page, cursor, durationMs?)` | 页面预热 |
105
+ | `Humanize` | `warmUpBrowsing(page, cursor, duration)` | 页面预热 (支持 `{min,max}` 随机) |
105
106
  | `Humanize` | `naturalScroll(page, direction?, distance?, steps?)` | 自然滚动 |
106
107
  | `Humanize` | `simulateGaze(cursor, durationMs?)` | 模拟注视 |
107
108
  | `Humanize` | `randomSleep(min, max)` | 随机延迟 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",