diff --git a/src/Extensions/Selenium.php b/src/Extensions/Selenium.php index 5fd668d..7ac347e 100644 --- a/src/Extensions/Selenium.php +++ b/src/Extensions/Selenium.php @@ -105,6 +105,46 @@ public function click($name) return $this; } + + /** + * Click all elements in a Collection using a variable as the variable + * eg. ->clickAll(Confirmations::all(), 'label[for={$1}]', 'slug') + * the Confirmation Model would have a slug field which populates + * the