We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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'm trying to $driver->findElement(), findElements(), or RemoteWebElement->findElement(). All throw an exception
I get an error "Undefined index: ELEMENT" on lines that use $raw_element['ELEMENT']
$raw_element['ELEMENT']
var_dump($raw_element) outputs the following structure
array(1) { 'element-6066-11e4-a52e-4f735466cecf' => string(36) "1ba86d2e-0292-9242-b5b3-d90149516cef" }
to fix this I temporary replaced all usages of $raw_element['ELEMENT'] with \array_values($raw_element)[0] and findElement() works now for me.
\array_values($raw_element)[0]
The text was updated successfully, but these errors were encountered:
See #469 - this fix is merged to community branch and will be part of release 1.8.0.
For now you can use dev version of the branch, see #469 (comment)
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to achieve? (Expected behavior)
I'm trying to $driver->findElement(), findElements(), or RemoteWebElement->findElement().
All throw an exception
What do you get instead? (Actual behavior)
I get an error "Undefined index: ELEMENT" on lines that use
$raw_element['ELEMENT']
var_dump($raw_element) outputs the following structure
to fix this I temporary replaced all usages of
$raw_element['ELEMENT']
with\array_values($raw_element)[0]
and findElement() works now for me.Details
The text was updated successfully, but these errors were encountered: