Город МОСКОВСКИЙ
00:07:59

Solve SessionNotCreatedException: session not created: version not support and chrome not reachable

Аватар
Лаборатория Квантового Кода
Просмотры:
23
Дата загрузки:
02.12.2023 22:34
Длительность:
00:07:59
Категория:
Обучение

Описание

Find More about this issue and many more at https://www.issuesolver.in/selenium-automation/solve-sessionnotcreatedexception-version-does-not-support-and-chrome-not-reachable/

I found two major reasons for this exception are below,

1. Your WebDriver(exe) and web browser version not matching, here ‘ChromeDriver.exe’ version not matching with your systems Chrome Browsers version installed.
In your error log, you can find the ChromeDriver version capture during your execution. At the start of log “Starting ChromeDriver 81.0.4044.20” and your chrome browser version you can find at, options - help - about google chrome.
So you can solve this issue by matching these two, by upgrading or downgrading any one of them. To download ChromeDriver for selenium link:
chromeDriver:- https://chromedriver.chromium.org/downloads
chrome browser:- https://www.google.com/intl/en_in/chrome/

2 The second scenario occurs when your chrome gets crash just after you try to launch site a chrome driver and initialize it in the program. i.e. Webdriver chromeDrv = new ChromeDriver(); chromeDrv.get("https://www.google.com");

Рекомендуемые видео