Test different form submission patterns and what happens after
Different ways forms can submit (AJAX, traditional POST) and different post-submission behaviors (redirects, inline success, SPA navigation). The SDK should capture identity before the redirect occurs.
Form POSTs via fetch, then immediately redirects via window.location. SDK must capture before redirect.
Form submits via fetch, shows inline success message. No page navigation.
Form submits via AJAX, shows success message, then redirects after 2 seconds.
Form submits, shows "Processing..." state, then redirects after 3 seconds.
3-step form: Name (step 1), Email (step 2), Confirm (step 3). Email captured at step 2.
Form submits, DOM changes to show success (no page reload). Simulates React/Vue navigation.
Form submitted via SPA navigation.