selenium: [π Bug]: Unable to obtain chromedriver using Selenium Manager
What happened?
i cannot enter to google with chromedriver i didnt find any answer selenium site
How can we reproduce the issue?
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.service import Service
s = Service(r'C:\Users\gurda\Desktop\chromedriver-win64')
driver = webdriver.Chrome(service=s)
driver.get("https://www.google.co.il/")
Relevant log output
Traceback (most recent call last):
File "C:\Users\gurda\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\common\driver_finder.py", line 42, in get_path
path = SeleniumManager().driver_location(options) if path is None else path
File "C:\Users\gurda\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\common\selenium_manager.py", line 96, in driver_location
result = self.run(args)
File "C:\Users\gurda\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\common\selenium_manager.py", line 121, in run
raise WebDriverException(f"Unsuccessful command executed: {command}.\n{result}{stderr}")
selenium.common.exceptions.WebDriverException: Message: Unsuccessful command executed: C:\Users\gurda\AppData\Roaming\Python\Python38\site-packages\selenium\webdriver\common\windows\selenium-manager.exe --browser chrome --output json.
The chromedriver version cannot be discovered
Operating System
windows 10
Selenium version
python / pycharm community 2021
What are the browser(s) and version(s) where you see this issue?
119.0.6045.160 chrome
What are the browser driver(s) and version(s) where you see this issue?
chrome driver 119.0.6045.160
Are you using Selenium Grid?
4.15.2
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 21 (9 by maintainers)
@Maytham-MJ please do not paste Chat-GPT answers to issues in this repoβ¦