Reputation: 31
I am getting java.lang.UnsupportedOperationException: getDomAttribute
for Select in Selenium 4. Does anyone know how to resolve this issue? My selenium version is 4.6.0. Tried multiple things but nothing worked..
java.lang.UnsupportedOperationException: getDomAttribute at org.openqa.selenium.WebElement.getDomAttribute(WebElement.java:131) at org.openqa.selenium.support.ui.Select.<init>(Select.java:54)
Upvotes: 2
Views: 554
Reputation: 193058
This error message...
java.lang.UnsupportedOperationException: getDomAttribute
at org.openqa.selenium.WebElement.getDomAttribute(WebElement.java:131)
at org.openqa.selenium.support.ui.Select.<init>(Select.java:54)
...indicates a dependency conflict and it's almost always a dependency management issue.
getDomAttribute()
is a new addition in selenium4.
Ensure that:
You can find a couple of relevant detailed discussion in:
Upvotes: 0