Simplex home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
SDK (Python/TypeScript)
CAPTCHAs
Documentation
API/SDK Reference
SDK (Python/TypeScript)
Constructor and Session Lifecycle
Agentic
Actions
Extractors
File Upload and Download
Login Sessions
Dialogs
Network Requests and Responses
CAPTCHAs
Helper functions
API Reference
GET
Retrieve Session Replay
GET
Retrieve Session Logs
On this page
captcha_exists
wait_for_captcha
SDK (Python/TypeScript)
CAPTCHAs
captcha_exists
Python
TypeScript
Copy
Ask AI
def
captcha_exists
(
self
) ->
bool
:
Checks if a CAPTCHA is present in the current session.
return
bool
True if a CAPTCHA is detected, False otherwise.
raises
ValueError
Raises ValueError if the API request fails or if the API key is not set.
wait_for_captcha
Python
TypeScript
Copy
Ask AI
def
wait_for_captcha
(
self
) ->
bool
:
Waits for a CAPTCHA to be solved in the current session. If there’s no CAPTCHA, returns immediately.
return
bool
True if the CAPTCHA was successfully solved, False otherwise.
raises
ValueError
Raises ValueError if the API request fails or if the API key is not set.
Was this page helpful?
Yes
No
Network Requests and Responses
Helper functions
Assistant
Responses are generated using AI and may contain mistakes.