Selenium WebDriver Opens Chrome Browser But Doesn't Open URL | Selenium Forum
youralok Posted on 27/12/2021



Selelnium doesn't navigate or get the URL, but just opens the Chrome Browser and the test is passing in TestNg. Please assist ASAP.

I have checked the browser version which is 95 and accordingly I am using the chromedriver.exe file and using correct path as well.


if(browserName.equals("Chrome")) {
System.setProperty("", "C:\\.....\\chromedriver.exe");
driver = new ChromeDriver();


Here is the pom.xml snippet

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">



<!-- -->

<!-- -->





Ashish Thakur Replied on 05/01/2022

Is there any error message which you receive?

youralok Replied on 15/04/2022

It is resolved. Let us close this.

youralok Replied on 02/06/2023

Let's close this for now. If needed,  I will come back to this question.