@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/dist/index.cjs +375 -326
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +375 -326
- package/dist/index.js.map +4 -4
- package/index.d.ts +5 -0
- package/package.json +1 -1
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
|
// =============================================================================
|