(event)
| 592 | |
| 593 | @when("click", buttons_collection) |
| 594 | def on_click(event): |
| 595 | nonlocal called |
| 596 | called = True |
| 597 | call_flag.set() |
| 598 | |
| 599 | # Now let's simulate a click on the button (using the low level JS API) |
| 600 | # so we don't risk dom getting in the way |