I’m using the latest version of Chrome for Windows and Chromedriver version 80, however when I try to run the test, it says "SessionNotCreatedException. How to solve this?
I used the webdrive manager to fix these kinds of issues.
Using the webdrive-manager, you may utilise the correct chromedriver automatically. Install webdrive-manager as follows:
install webdriver-manager with pip Then, in Python, utilize the driver as follows:
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager
driver=webdriver
Chrome(ChromeDriverManager().install())