r/selenium • u/sunnyWave8 • Aug 18 '26
What’s your go-to approach for Selenium testing?
I usually start with the smallest reliable layer, then use Selenium for the flows that actually need a browser.
I’m revisiting our approach because the suite is getting slower to trust as it grows. For people maintaining Selenium tests day to day: what’s your go-to setup for keeping tests readable and failures actionable?
Mostly interested in practical habits around waits, page objects or alternatives, test data, and deciding what not to automate in the UI.
18
Upvotes
1
u/Kaeyacheng Aug 18 '26
actionable failures beat green local every time. we attach the last request id plus a dom snippet on fail, because a naked screenshot of a white page teaches nobody anything
1
u/IlClothespins Aug 18 '26
explicit waits with a custom message on every condition is the only thing that kept our suite readable. implicit waits just hide the race until ci makes it everyone else's problem tbh
2
u/shaqattackchuck Aug 18 '26
Honestly a lot of Ul paths should just not be in selenium. If an API check or a contract test covers it, dragging a browser through the same form is mostly ceremony.
2
u/[deleted] Aug 18 '26
[removed] — view removed comment
1
u/[deleted] Aug 18 '26
[removed] — view removed comment