Replies: 1 comment
-
|
Nevermind - the awesome PHP Webdriver has what I needed. Just add the found element in a PHP array of arguments: $driver->executeScript("arguments[0].click()", [$element]); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In other languages I can executeScript with the found element as an argument, C# Example:
.. because the element does not have an ID so I cannot use "getElementById". Can I do this in the PHP version?
Beta Was this translation helpful? Give feedback.
All reactions