Skip to content

Commit 3cdc654

Browse files
committed
fixup! Add automatic handling of "ElementNotInteractable" exceptions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 566fe98 commit 3cdc654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/acceptance/features/core/ElementWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private function executeCommandOnVisibleElement(\Closure $commandCallback, $erro
317317
if (stripos($exception->getMessage(), "element not interactable") === false) {
318318
throw $exception;
319319
}
320-
$this->printFailedCommandMessage($exception);
320+
$this->printFailedCommandMessage($exception, $errorMessage);
321321
}
322322

323323
$this->waitForElementToBeVisible();

0 commit comments

Comments
 (0)