---
title: "Discussion on \"Why never use Thread.sleep() in Selenium.\" | Hashnode"
description: "Discussion on \"Why never use Thread.sleep() in Selenium.\". Why using Thread.sleep will cost you a lot in your test execution. Instead use dynamic waits like Implicit, Explicit and Fluent waits."
url: "https://hashnode.com/posts/why-never-use-threadsleep-in-selenium/6881df0a2678e4e23147dec2"
---

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

Discussion

# [Why never use Thread.sleep() in Selenium.](https://sdetjournal.hashnode.dev/why-never-use-threadsleep-in-selenium?utm_source=hashnode&utm_medium=feed)

Why using Thread.sleep will cost you a lot in your test execution. Instead use dynamic waits like Implicit, Explicit and Fluent waits.

Jul 21, 2025 · 2 min read · sdetjournal.hashnode.dev  
Read the article

-   [#selenium](https://hashnode.com/tag/selenium)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#chromedriver](https://hashnode.com/tag/chromedriver)
-   [#apis](https://hashnode.com/tag/apis)
-   [#uiautomation](https://hashnode.com/tag/uiautomation)
-   [#sdet](https://hashnode.com/tag/sdet)
-   [#testing](https://hashnode.com/tag/testing)
-   [#test-automation](https://hashnode.com/tag/test-automation)

## Written by

[Chetan Shinde](https://hashnode.com/@Chetans19)

@Chetans19 · India

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

SDET | Automating tests, not emotions

SDET | Writing about test automation, Java, Selenium, and everything in between. Helping devs build better software through clean, reliable testing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
