error while using chrome driver in eclipse/selenium java

36 views
Skip to first unread message

Krupali Prajapati

unread,
Mar 18, 2023, 5:56:52 AM3/18/23
to ChromeDriver Users
I tried almost everthing but my chrome version is  Version 111.0.5563.65 and my web driver version is    111.0.5563.64  and when i run the code 

ChromeOptions options = new ChromeOptions();

options.addArguments("--remote-allow-origins=*");

System.setProperty("webdriver.chrome.driver", "D:\\download\\chromedriver_win32\\chromedriver.exe");

WebDriver driver = new ChromeDriver(options);

driver.get("http://www.google.com/");   


i get above error

 System.setProperty("webdriver.chrome.driver",

"D:\\download\\chromedriver_win32\\chromedriver.exe" );

WebDriver driver = new ChromeDriver();

driver.get("https://google.com");

driver.quit();

the above code rus and throws exception the websocket connetion fail.  please help me with this 

siva kumar

unread,
Mar 19, 2023, 2:58:20 AM3/19/23
to ChromeDriver Users
Kindly send screenshots to me

siva kumar

unread,
Mar 19, 2023, 3:00:20 AM3/19/23
to ChromeDriver Users
webpage link error:(https://www.google.com)
Reply all
Reply to author
Forward
0 new messages