Skip to main content
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:
  • Button becomes invisible/disabled
  • Maximum number of clicks reached
  • No change detected in container content (when containerLocator is provided)

Examples

Arguments

input
Object
required
Configuration options

Returns: Promise<void>

Promise that resolves when clicking is exhausted