Closed nidabaigg closed 1 week ago
@nidabaigg, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Did you upgrade Selenium as well or just DevTools?
@diemol I've only upgraded my devtools
You should upload all Selenium dependencies
@diemol here you go:
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide-appium</artifactId>
<exclusions>
<exclusion>
<!-- Added this to resolved java.lang.NoSuchMethodError: com.google.common.collect.ImmutableMap -->
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
<version>6.17.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-devtools-v123</artifactId>
<version>4.21.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
<version>4.11.0</version>
</dependency>
<dependency>
<groupId>net.itarray</groupId>
<artifactId>automotion</artifactId>
<version>3.0.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/resources/automotion-3.0.0-jar-with-dependencies.jar</systemPath>
<exclusions>
<exclusion>
<!-- Added this to resolved java.lang.NoSuchMethodError: com.google.common.collect.ImmutableMap -->
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
</exclusion>
<exclusion>
<!-- Added this to resolved java.lang.NoSuchMethodError: com.google.common.collect.ImmutableMap -->
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-remote-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
You are using a mix of different versions. Selenide's latest is 7.3.1, and Selenium is 4.21.0.
I believe if you use the latest Selenide, you will get the latest Selenium. Avoid mixing versions like that.
speaking of selenide, from the project lead: https://www.javaadvent.com/2020/12/how-to-debug-dependency-conflicts-in-maven-and-gradle.html
What happened?
I was previously using selenium-devtools-v119 but when I updated my chrome I was getting error to upgrade my devtools. When I upgraded my devtools to latest version I started getting error on createSession() method
How can we reproduce the issue?
Relevant log output
Operating System
Ubuntu
Selenium version
Java 11.0.23
What are the browser(s) and version(s) where you see this issue?
chrome 124.0.6367.201
What are the browser driver(s) and version(s) where you see this issue?
chrome 124.0.6367.201
Are you using Selenium Grid?
no