@skrillex1224/playwright-toolkit 2.1.220 → 2.1.221

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
@@ -341,8 +341,13 @@ export interface CaptchaMonitorOptions {
341
341
  onDetected?: () => Promise<void>;
342
342
  }
343
343
 
344
+ export interface CaptchaStrategyOptions {
345
+ [key: string]: any;
346
+ }
347
+
344
348
  export interface CaptchaModule {
345
349
  useCaptchaMonitor(page: Page, options: CaptchaMonitorOptions): { stop: () => Promise<void> };
350
+ solveCaptchaWithStrategy(strategyName: string, page: Page, options?: CaptchaStrategyOptions): Promise<boolean>;
346
351
  }
347
352
 
348
353
  // =============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.220",
3
+ "version": "2.1.221",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",