Closed kazurayam closed 10 months ago
This seems to have something to do with
which includes a post
titusfortner commented on Mar 9 AsyncHttp Client has not been actively maintained (looks like this just changed), so we've been requesting people upgrade to the Java 11 HTTP client https://www.selenium.dev/blog/2022/using-java11-httpclient/ Looks like latest version of AsyncHttp still relies on Netty 4 and is compiled with Java 11 anyway? So I don't think continuing with that library is going to be the solution regardless.
Artur- commented [on Mar 9] (https://github.com/SeleniumHQ/selenium/issues/11750#issuecomment-1460580132) Adding
<dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-http-jdk-client</artifactId> </dependency>
and
System.setProperty("webdriver.http.factory", "jdk-http-client");
makes tests work again
NettyClient and JdkHttpClient?
This issue closely related to the following issue as well:
In the kazurayam8b branch, I ran
io.github.bonigarcia.webdriver.junit4.ch02.helloworld.HelloWorldChromeJUnit4Test
and got the following WARNING with a Stacktrace: