added stop/resume on found the first item
This commit is contained in:
@@ -136,6 +136,9 @@ class DynamicFlow:
|
||||
|
||||
click_step = self._run_click(item_id, scroll_step.data.get("element"))
|
||||
result.steps.append(click_step)
|
||||
if click_step.success and self.cfg.get("stop_on_first_click", 0):
|
||||
log.info("Item '%s' clicked — stopping flow", item_id)
|
||||
return result
|
||||
human_delay(1.0, 2.5)
|
||||
|
||||
log.info(
|
||||
|
||||
Reference in New Issue
Block a user