- Button becomes invisible/disabled
- Maximum number of clicks reached
- No change detected in container content (when containerLocator is provided)
Typescript SDK
clickUntilExhausted
Repeatedly click a button until no new content appears or max clicks reached.
This function is useful for “Load More” buttons or paginated content where you need to
keep clicking until all content is loaded. It provides several stopping conditions: