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 Java17, using selenium devtools, it was found that the input.readArray method does not exist.
My pom.xml only import selenium-java 4.20.0 for selenium
How can we reproduce the issue?
1. Create java workspace, use java 17.0.9
2. Use Selenium 4.20.0
3. Create ChromeDevTools
3.1 this.chromeDevTools.createSession();
3.2 this.chromeDevTools.send(Network.enable(Optional.empty(), Optional.empty(), Optional.empty()));
3.3 this.chromeDriver.get("https://www.google.com");
4. Run java workspace
Relevant log output
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.openqa.selenium.devtools.v124.target.Target.getTargets(Target.java:150)
The following method did not exist:
'java.util.function.Function org.openqa.selenium.devtools.ConverterFunctions.map(java.lang.String, java.util.function.Function)'
The calling method's class, org.openqa.selenium.devtools.v124.target.Target, was loaded from the following location: jar:file:/Users/user/.m2/repository/org/seleniumhq/selenium/selenium-devtools-v124/4.20.0/selenium-devtools-v124-4.20.0.jar!/org/openqa/selenium/devtools/v124/target/Target.classThe called method's class, org.openqa.selenium.devtools.ConverterFunctions, is available from the following locations:
jar:file:/Users/user/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/4.1.4/selenium-remote-driver-4.1.4.jar!/org/openqa/selenium/devtools/ConverterFunctions.class
The called method's class hierarchy was loaded from the following locations: org.openqa.selenium.devtools.ConverterFunctions: file:/Users/user/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/4.1.4/selenium-remote-driver-4.1.4.jarAction:Correct the classpath of your application so that it contains compatible versions of the classes org.openqa.selenium.devtools.v124.target.Target and org.openqa.selenium.devtools.ConverterFunctions
Operating System
macOS
Selenium version
4.20.0
What are the browser(s) and version(s) where you see this issue?
Chrome 124
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 124.0.6367.201
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered:
@danchaobing, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
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.
What happened?
In Java17, using selenium devtools, it was found that the input.readArray method does not exist.
My pom.xml only import selenium-java 4.20.0 for selenium
How can we reproduce the issue?
Relevant log output
Operating System
macOS
Selenium version
4.20.0
What are the browser(s) and version(s) where you see this issue?
Chrome 124
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 124.0.6367.201
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: