Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 8s
PR Checklist / pr-checklist (pull_request) Successful in 1m17s
Smoke Test / smoke (pull_request) Failing after 7s
Validate Config / YAML Lint (pull_request) Failing after 7s
Validate Config / JSON Validate (pull_request) Successful in 7s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 9s
Validate Config / Shell Script Lint (pull_request) Successful in 15s
Validate Config / Cron Syntax Check (pull_request) Successful in 6s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 5s
Validate Config / Playbook Schema Validation (pull_request) Successful in 8s
Architecture Lint / Lint Repository (pull_request) Failing after 6s
12 lines
438 B
Python
12 lines
438 B
Python
import json
|
|
from hermes_tools import browser_navigate, browser_vision
|
|
|
|
def bypass_captcha():
|
|
analysis = browser_vision(
|
|
question="Solve the CAPTCHA on the current page. Provide the solution text or coordinate clicks required. Provide a PASS/FAIL."
|
|
)
|
|
return {"status": "PASS" if "PASS" in analysis.upper() else "FAIL", "solution": analysis}
|
|
|
|
if __name__ == '__main__':
|
|
print(json.dumps(bypass_captcha(), indent=2))
|