hello
Jun 29, 2023 2:54:30 PM org.openqa.selenium.remote.service.DriverService$Builder getLogOutput
INFO: Driver logs no longer sent to console by default; https://www.selenium.dev/documentation/webdriver/drivers/service/#setting-log-output
Exception in thread "main" java.lang.NoClassDefFoundError: io/netty/util/Timer
at org.openqa.selenium.remote.http.netty.NettyClient$Factory.createClient(NettyClient.java:133)
at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:115)
at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:92)
at org.openqa.selenium.remote.service.DriverCommandExecutor.<init>(DriverCommandExecutor.java:89)
at org.openqa.selenium.chromium.ChromiumDriverCommandExecutor.<init>(ChromiumDriverCommandExecutor.java:43)
at org.openqa.selenium.chrome.ChromeDriver$ChromeDriverCommandExecutor.<init>(ChromeDriver.java:111)
at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:101)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:87)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:82)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:50)
at latest.newclassjava.main(newclassjava.java:11)
Caused by: java.lang.ClassNotFoundException: io.netty.util.Timer
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 11 more
public class sampleclass {
public static void main(String args[]) {
System.setProperty("webdriver.chrome.driver","C:\\Users\\ramya.vanam\\Downloads\\chromedriver\\chromedriver.exe");
WebDriver driver= new ChromeDriver();
driver.get("google.com");
}
}
Jun 29, 2023 11:54:10 PM org.openqa.selenium.remote.service.DriverService$Builder getLogOutput
INFO: Driver logs no longer sent to console by default; https://www.selenium.dev/documentation/webdriver/drivers/service/#setting-log-output
Exception in thread "main" java.lang.NoSuchMethodError: 'java.io.OutputStream com.google.common.io.ByteStreams.nullOutputStream()'
at org.openqa.selenium.remote.service.DriverService$Builder.getLogOutput(DriverService.java:471)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.createDriverService(ChromeDriverService.java:417)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.createDriverService(ChromeDriverService.java:197)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:507)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:166)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:50)
at testcase.sampleclass.main(sampleclass.java:13)
.png?part=0.1&view=1)
--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chromedriver-users/6f5c1840-f25a-47f8-9131-1d1389c0bc87n%40googlegroups.com.
|

