How to Resolve session not created Exception i.e. “org.openqa.selenium.SessionNotCreatedException”?

How to Resolve session not created Exception i.e. “org.openqa.selenium.SessionNotCreatedException”?

Programmer World

54 года назад

44,908 Просмотров

This video shows how to fix “Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version xx
Current browser version is xxx.x.xxxx.xx with binary path C:\xxxx\xxx\Chrome\Application\chrome.exe”


I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: [email protected]


https://programmerworld.co/selenium/how-to-resolve-fix-session-not-created-exception-i-e-org-openqa-selenium-sessionnotcreatedexception-in-selenium/



import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.interactions.SendKeysAction;

public class Demo {

public static void main(String[] args) {
// TODO Auto-generated method stub
System.setProperty("webdriver.chrome.driver", "C:\\Ulearning\\chromedriver_win32\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("https://programmerworld.co/");

}
}


-

Тэги:

#Selenium #web #application #testing #manual #automation #automate #automation_testing #hybris #manual_testing #application_testing #apps #app #web-bsed #web-based #website #web_application #SessionNotCreatedException #selenium #webdriver #session #not #created #browser_not_opening #could_not_create_session #browser_opening_but_closing_immediately #session_not_created #browser #chrome #binary #path #version
Ссылки и html тэги не поддерживаются


Комментарии: