MailSlurp logo
Extract codes from email and TXT messages in Selenium tests

Selenium email accounts and phone numbers

Generate real email addresses and phone numbers on demand to test user workflows, extract verification codes, and automate end-to-end tests. Increase test coverage and reliability with MailSlurp in Selenium.

Trusted by top companies worldwide

  • Broadcom
  • Scraper
  • Trivago
  • Avast
  • Wolt
  • Panasonic

E2E QA

Authentic user testing

Generate unlimited genuine user identities with real email addresses and mobile numbers, then send / receive email and SMS inside your Selenium suites.

Real user identities

Spin up real user profiles during Selenium runs. Assign email addresses and phone numbers to user fixtures during each QA test run.

Explore

Consistent, repeatable tests

No more manual checks or flaky flows—MailSlurp is built for end-to-end automation with deep Selenium integrations.

Explore

Unique test utilities

Wait for matching messages, pull out links or OTP codes, and complete flows such as verification or password reset.

Explore

Quicker delivery

Skip raw SMTP or Gmail hacks—get unlimited email accounts instantly with MailSlurp.

Explore
MailSlurp product screenshot

Test user actions for real!

Write deep tests of OTP and 2FA verification using Selenium and MailSlurp. Create email accounts and phone numbers during test runs then verify sign-up, login, password reset and more.

MailSlurp product screenshot

Programmatic email and SMS

Integrate seamlessly with Selenium in every major language including Java, Javascript, Python, CSharp, Ruby and more.

Provision real phone numbers

Provision real phone numbers

Spin up regional numbers for OTP, account verification, and messaging workflows with API control.

Developer integration

Use inbox APIs, SMTP, and webhook events in the same workflow

Start with SDK helpers for inbox creation and message waits, then move into event-driven routing when the workflow expands.

  • Generated SDKs for major languages
  • API + SMTP + IMAP support where needed
  • Docs-backed patterns for inboxes and message assertions

Make QA matter

Make QA matter

Integrate email and SMS into Selenium