---
title: "Discussion on \"Testing SMS OTP with Playwright: Stubs, Fake Timers and Rate Limits\" | Hashnode"
description: "Discussion on \"Testing SMS OTP with Playwright: Stubs, Fake Timers and Rate Limits\". Test SMS OTP flows with Playwright: read codes from a stubbed outbox, fake the resend timer with page.clock and assert rate limits."
url: "https://hashnode.com/posts/testing-sms-otp-playwright/6aee0ca4c208b8531236dd08"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Testing SMS OTP with Playwright: Stubs, Fake Timers and Rate Limits](https://tempsmss.hashnode.dev/testing-sms-otp-playwright?utm_source=hashnode&utm_medium=feed)

Test SMS OTP flows with Playwright: read codes from a stubbed outbox, fake the resend timer with page.clock and assert rate limits.

Nov 6 · 6 min read · tempsmss.hashnode.dev  
Read the article

-   [#playwright](https://hashnode.com/tag/playwright)
-   [#testing](https://hashnode.com/tag/testing)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Temp SMS](https://hashnode.com/@tempsmss)

@tempsmss

  
[View profile](https://hashnode.com/@tempsmss)

Guides on SMS verification, OTP testing and phone number privacy.

Temp SMS (https://tempsmss.com) lists free temporary phone numbers in the US, Canada, UK and Europe. Here we write practical guides on SMS verification, OTP testing for developers and keeping your phone number private.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
