Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee committed Nov 22, 2024
1 parent 79bdabb commit 502d386
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/plugin-node/src/services/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ export class BrowserService extends Service implements IBrowserService {
websiteKey: hcaptchaKey,
});
await page.evaluate((token) => {
// @ts-expect-error expecting window.hcaptcha
// eslint-disable-next-line
// @ts-ignore
window.hcaptcha.setResponse(token);
}, solution.gRecaptchaResponse);
return;
Expand All @@ -279,7 +280,8 @@ export class BrowserService extends Service implements IBrowserService {
websiteKey: recaptchaKey,
});
await page.evaluate((token) => {
// @ts-expect-error expecting window.grecaptcha
// eslint-disable-next-line
// @ts-ignore
document.getElementById("g-recaptcha-response").innerHTML =
token;
}, solution.gRecaptchaResponse);
Expand Down

0 comments on commit 502d386

Please sign in to comment.