Let the Cloudflare Turnstile challenge of a protected form pass at once, so the submit button is enabled. A scripted browser cannot solve the real challenge; this replaces Cloudflare's script with a stub that hands the form a token. Give it before opening the page: the runtime loads the script when the page is ready. Use it on a staging copy or with the form endpoint steps, never to bypass the protection of a live form.
Examples
Given the Turnstile challenge passes
Given the form challenge passes
Given the webflow form challenge passes
And the Turnstile challenge passes
Given the Turnstile challenge always passes
Pattern
Given(/^the (?:webflow form |form )?(?:Turnstile )?challenge (?:always )?passes$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.