We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to load an element by class, but it was not found and I get
PHPWebDriver_UnhandledWebDriverError in WebDriverBase.php line 50: Cannot find matching element locator to: class
How can I even catch this error and do something?
I tried it like this:
use PHPWebDriver_WebDriver; use PHPWebDriver_WebDriverException; use PHPWebDriver_UnhandledWebDriverError; ... try { return $this->driver->element($using, $value); } catch(UnhandledWebDriverError $exception) { exit("UnhandledWebDriverError: $exception"); }
But the catch is not executed.
The text was updated successfully, but these errors were encountered:
I had to use "PHPWebDriver_UnhandledWebDriverError" instead of "UnhandledWebDriverError "
Sorry, something went wrong.
No branches or pull requests
I tried to load an element by class, but it was not found and I get
PHPWebDriver_UnhandledWebDriverError in WebDriverBase.php line 50:
Cannot find matching element locator to: class
How can I even catch this error and do something?
I tried it like this:
But the catch is not executed.
The text was updated successfully, but these errors were encountered: