JacobLinCool / JacobLinCool/recaptcha-solver

No reCAPTCHA detected in certain cases

Open
#10 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
43
Forks
16
PR merge metrics
No merged PRs in 30d

Description

My cases is with google lens and google search pages when they present the recaptcha v2. The `:visible` selector for the bframe is not valid, or due to this it fails to even do anything. If I remove that css selector from the code it works.

Solution until this is addressed in mainline (in package.json):

```json
"postinstall": "sed -i 's/:visible//g' node_modules/recaptcha-solver/lib/index.js node_modules/recaptcha-solver/lib/index.mjs || true"
````

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the generated files node_modules/recaptcha-solver/lib/index.js and node_modules/recaptcha-solver/lib/index.mjs, then compare the behavior with and without the :visible selector on the Google Lens and Google Search reCAPTCHA v2 pages. The work is done when those cases are detected and handled without the package.json postinstall workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.