Selenium fix: SessionNotCreated "this version only supports Chrome version" error in Python

Pubblicato il: 04 dicembre 2021
sul canale di: Jonathan Soma
22,798
178

A tutorial on setting up and automatically upgrading ChromeDriver for Selenium in Python. If you have a webdriver SessionNotCreatedException error like "this version of ChromeDriver only supports Chrome version 96" we'll fix it quick and easy! This solution also works for Firefox, Safari, Edge, etc. If you just want the answer now without an explanation, skip the video and check the rest of the description.

=====

HOW TO INSTALL WEBDRIVER-MANAGER
!pip install webdriver-manager

HOW TO USE WEBDRIVER-MANAGER
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(ChromeDriverManager().install())

=====

LINKS

webdriver-manager on PyPi: https://pypi.org/project/webdriver-ma...

====

CHAPTERS

00:00 Intro
00:28 SessionNotCreatedException version error
01:13 What are WebDrivers and ChromeDriver?
02:34 Why upgrading Chrome breaks Selenium
03:28 Downloading ChromeDriver? No!
03:59 webdriver-manager for upgrading ChromeDriver
04:58 Installing webdriver-manager
05:51 Using webdriver-manager
07:20 Using webdriver-manager with Firefox, Chromium, Safari


In questa pagina del sito puoi guardare il video online Selenium fix: SessionNotCreated "this version only supports Chrome version" error in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Jonathan Soma 04 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 22,798 volte e gli è piaciuto 178 spettatori. Buona visione!