- Button becomes invisible/disabled
- Maximum number of clicks reached
- No change detected in container content (when container_locator is provided)
Examples
Arguments
Playwright Page object
Locator for the button to click repeatedly
Optional callback invoked after each click. Defaults to lambda: None.
Optional content container to detect changes. Defaults to None.
Maximum number of times to click the button. Defaults to 50.
Delay after each click (in seconds). Defaults to 0.5.
Minimum change in content size to continue clicking. Defaults to 0.