Guides
Guides
Copy-paste examples that submit a signup form with a mailsocket address and wait for the OTP. Most call the REST API directly; the Playwright guide uses the TypeScript SDK.
-
Waiting for an OTP in pytest
A pytest test that submits a signup form with a mailsocket inbox address, then blocks on the wait endpoint until the OTP arrives.
-
Waiting for an OTP in Cypress
A Cypress test that drives a real signup form with a mailsocket address and awaits the OTP over Cypress's built-in HTTP client.
-
Waiting for an OTP in Puppeteer
A Puppeteer script that submits a signup form, then blocks on the wait endpoint with fetch until the OTP arrives.
-
Waiting for an OTP in GitHub Actions
Wire a wait-for-OTP test into CI by storing your mailsocket key and inbox id as encrypted secrets and exporting them to your test run.
-
Waiting for an OTP in Playwright
A Playwright test that fills a signup form with a mailsocket inbox address, then waits for the OTP using the TypeScript SDK.