If CAPTCHAs happen to show up on the page, we provide two functions to help you handle them: captcha_exists and wait_for_captcha.
Python
Copy
Ask AI
from simplex import Simplexsimplex = Simplex(api_key="your-api-key")simplex.create_session(workflow_name="captcha_flow", proxies=False)simplex.goto("https://www.simplex.sh/captcha-example.html")simplex.wait_for_captcha() # wait for the CAPTCHA to finishsimplex.press_tab() # tab into the text fieldsimplex.type("Test information")simplex.click("Submit button") # click the submit buttonsimplex.close_session()