Skip to content

Commit 8679e54

Browse files
committed
Added missing exception catch
1 parent 312a967 commit 8679e54

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Selenium2Driver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ private function clickOnElement(Element $element)
794794
$this->wdSession->moveto(array('element' => $element->getID()));
795795
} catch (UnknownCommand $e) {
796796
// If the Webdriver implementation does not support moveto (which is not part of the W3C WebDriver spec), proceed to the click
797+
} catch (UnknownError $e) {
798+
797799
}
798800

799801
$element->click();

0 commit comments

Comments
 (0)