In some CSS frameworks (e.g. Bootstrap 4) it is possible to use custom checkbox designs. They hide the actual input element behind the label element.
When submitting such a form an exception is generated:
Facebook\WebDriver\Exception\ElementClickInterceptedException : Element \ is not clickable at point (23,422) because another element \
In such a case it would be possible to automatically click the label to set the checkbox value.
As a proof of concept i modified src/Client.phpsubmit function and replaced $form->get($field)->setValue($value); (line 217) with
In some CSS frameworks (e.g. Bootstrap 4) it is possible to use custom checkbox designs. They hide the actual
input
element behind thelabel
element. When submitting such a form an exception is generated:In such a case it would be possible to automatically click the label to set the checkbox value. As a proof of concept i modified
src/Client.php
submit
function and replaced$form->get($field)->setValue($value);
(line 217) withWould such a behavior be accepted?