Timeout
A maximum wait time after which a test action or assertion is abandoned and treated as failed.
What is Timeout?
What is Timeout?
A timeout is the upper bound on how long a test will wait for something—an element to appear, a condition to become true, a page to load—before giving up and failing. Timeouts prevent tests from hanging indefinitely, but they must be tuned thoughtfully: too short and you get false failures on slow runs, too long and failures take forever to surface. Modern frameworks pair sensible timeouts with auto-waiting so tests wait exactly as long as needed. Well-configured timeouts are part of keeping runs both fast and reliable.