Managing timeouts and handling slow-Loading elements
“Is there any way we can increase the timeout from 30s? I have a page that takes a while to load because it’s on the test system.”This is a common challenge, and while the global timeout is intentionally capped at 30 seconds, there are effective strategies to handle slow-loading pages without slowing down your tests across the board.
assertion
to wait for a specific element (e.g. spinner) to disappear.optional
, so that if the assertion fails, the test still continues.Adding optional step, 07/2025
Wait step interaction type, 07/2025
wait step
, which supports several waiting strategies:
Fixed timeout per step, 07/2025
optional assertions
or wait steps
.
These techniques allow for flexible waiting, adapt to varying load speeds between environments, and help you avoid unnecessary delays in faster systems.