question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: NoSuchMethodError: org.openqa.selenium.WebElement.getDomAttribute

See original GitHub issue

What happened?

Tried to use the Select class (org.openqa.selenium.support.ui.Select) as before but this feature doesn’t work anymore.

How can we reproduce the issue?

Select groupBy = new Select(groupByButton());

//the definition of groupByButton
public WebElement groupByButton();

Relevant log output

org.openqa.selenium.WebElement.getDomAttribute(Ljava/lang/String;)Ljava/lang/String;
java.lang.NoSuchMethodError: org.openqa.selenium.WebElement.getDomAttribute(Ljava/lang/String;)Ljava/lang/String;
	at org.openqa.selenium.support.ui.Select.<init>(Select.java:54)

Operating System

Win 10

Selenium version

Java 4.0.0

What are the browser(s) and version(s) where you see this issue?

Chrome v96.0.4664.45

What are the browser driver(s) and version(s) where you see this issue?

chromedriver v96.0.4664.45

Are you using Selenium Grid?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
asolntsevcommented, Nov 24, 2021

@RedDevil91 Did the tomorrow morning come in the end? 😃

@titusfortner Pretty sure, it’s an issue with dependency versions, I believe the issue can be closed.

0reactions
github-actions[bot]commented, Dec 26, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1 - Stack Overflow
This error message... java.lang.NoSuchMethodError: org.openqa.selenium.WebElement.getDomAttribute(Ljava/lang/String;)Ljava/lang/String;.
Read more >
Getting "java.lang.NoSuchMethodError: org.openqa.selenium ...
Hi,. I am using Selenium 4.0.0-beta-4 version and trying to select value from drop down using select class but getting exception "java.lang.NoSuchMethodError: ...
Read more >
Not able to select value from drop down menu
Looking to the problem statement, I think we have 2 different requirements here: ... WebElement; import org.openqa.selenium.firefox.
Read more >
Java.lang.NoSuchMethodError is throwing | Selenium Forum
NoSuchMethodError is throwing .Throwing the below error while executing the program, Attached the ... at org.openqa.selenium.remote.service.
Read more >
How To Fix java.lang.NoSuchMethodError:org ... - YouTube
NoSuchMethodError : org.testng.TestRunner.addListener(Ljava/lang/Object;)V issue. ... Selenium Realtime Videos With Quick Solutions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found