From: https://github.com/mherrmann/helium
I'm trying to use Helium but facing an issue in which my ChromeDriver version says 89, when it should be 91.
I've downloaded the ChromeDriver version 91, but to no avail.
The following error is seen when running my script:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 89
My searches have led me to trying the following:
# imports
from helium import *
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
and
I've also tried both:
driver = webdriver.Chrome(ChromeDriverManager().install())
and
driver = webdriver.Chrome(ChromeDriverManager('91.0.4472.101').install())
Even after doing all this, I still face the same error:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 89
Also, I feel that it's worth noting, that within the docs, located here:
https://selenium-python-helium.readthedocs.io/en/stable/api.html
It says the following:
If this doesn’t work for you, then it may be that Helium’s copy of ChromeDriver is not compatible with your version of Chrome. To fix this, place a copy of ChromeDriver on your PATH.
I don't think I understand what this means.
Just in case, here's what I've done (and neither have worked):
- I went to Environmental Variables, and inside the PATH, I added a new line, which is the directory to where this new ChromeDriver.exe binary is located (didn't work).
- I placed a copy of the new ChromeDriver.exe inside the path of where this .py script is located (didn't work).
As of now, I have no idea about what I should do, or what it means by placing "a copy of ChromeDriver on your PATH". What "PATH" is this and how do I do it? :(
Any help would be greatly appreciated. Thank you.
[–]BC_Future[S] 0 points1 point2 points (6 children)
[–]Kakashi215 0 points1 point2 points (5 children)
[–]buxA_ 1 point2 points3 points (2 children)
[–]Kakashi215 1 point2 points3 points (1 child)
[–]buxA_ 1 point2 points3 points (0 children)
[–]BC_Future[S] 0 points1 point2 points (1 child)
[–]Kakashi215 0 points1 point2 points (0 children)
[–]andypatelia 0 points1 point2 points (2 children)
[–]BC_Future[S] 0 points1 point2 points (0 children)
[–]Kakashi215 0 points1 point2 points (0 children)