@skrillex1224/playwright-toolkit 2.1.275 → 2.1.276

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/index.d.ts CHANGED
@@ -694,6 +694,8 @@ export interface ShareScreenCaptureOptions {
694
694
  restore?: boolean;
695
695
  /** 最大截图高度 (默认: 8000px) */
696
696
  maxHeight?: number;
697
+ /** 截图水印合成模式;`cloakbrowser` 时走兼容分支。 */
698
+ mode?: 'default' | 'cloakbrowser';
697
699
  /** 返回 base64 字符串的最大字节数,默认 5MiB。 */
698
700
  maxBytes?: number;
699
701
  /** maxBytes 的别名。 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.275",
3
+ "version": "2.1.276",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",