You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Java Selenium WebDriver 2, we click elements by obtaining a WebElement reference using driver.findElement( ... ) and then we use javascript executor to call the click method.
This works fine in 130. Since updating to 131, clicking no longer works, with the following error reported
org.openqa.selenium.WebDriverException: javascript error: Cannot read properties of undefined (reading 'click')
To reproduce
I print to console the number of elements found and what the elements are.
Describe the bug
In Java Selenium WebDriver 2, we click elements by obtaining a WebElement reference using driver.findElement( ... ) and then we use javascript executor to call the click method.
This works fine in 130. Since updating to 131, clicking no longer works, with the following error reported
To reproduce
I print to console the number of elements found and what the elements are.
Expected behavior
I should see the number of elements, along with an array of the specified elements.
It does print the correct number of elements, but it's simply an array of undefined.
The text was updated successfully, but these errors were encountered: