Be smart and handle wait conditions smarter in selenium — Part I

Sajitha Pathirana
Nerd For Tech
Published in
3 min readOct 25, 2021

--

We often complain about script failures, flaky tests and we use different combinations of wait conditions offered by selenium. Finally, we switch to Thread sleeps. Don’t we? 😁 That is the life cycle of an automation engineer.

Photo by Randy Fath on Unsplash

Well in my previous article I discussed avoiding the use of thread sleep. You can check it out!

--

--

Sajitha Pathirana
Nerd For Tech

A Test automation enthusiast, passionate to help the teams to enhance their testing journey with his decade of experience in the field.