File tree 1 file changed +4
-2
lines changed
packages/plugin-node/src/services
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,8 @@ export class BrowserService extends Service implements IBrowserService {
266
266
websiteKey : hcaptchaKey ,
267
267
} ) ;
268
268
await page . evaluate ( ( token ) => {
269
- // @ts -expect-error expecting window.hcaptcha
269
+ // eslint-disable-next-line
270
+ // @ts -ignore
270
271
window . hcaptcha . setResponse ( token ) ;
271
272
} , solution . gRecaptchaResponse ) ;
272
273
return ;
@@ -279,7 +280,8 @@ export class BrowserService extends Service implements IBrowserService {
279
280
websiteKey : recaptchaKey ,
280
281
} ) ;
281
282
await page . evaluate ( ( token ) => {
282
- // @ts -expect-error expecting window.grecaptcha
283
+ // eslint-disable-next-line
284
+ // @ts -ignore
283
285
document . getElementById ( "g-recaptcha-response" ) . innerHTML =
284
286
token ;
285
287
} , solution . gRecaptchaResponse ) ;
You can’t perform that action at this time.
0 commit comments