Selenium and reCAPTCHA: waiting for the token without flaky retries
You click the checkbox, the spinner does its little dance, and your Selenium test sits there hoping that a token appears. If the wait is too short, the form submits with an empty g-recaptcha-response.