0

the only one change was that i have a new pc. since this, each simple python 3.10 script using selenium module, is givin me this error message:

selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process.

following my 'whole' code:

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
driver=webdriver.Chrome(service=Service('C:/chromedriver.exe'))
Ryan M
  • 18,333
  • 31
  • 67
  • 74
Tommy
  • 101
  • 8
  • Did you try the solutions [here](https://stackoverflow.com/questions/59489803/selenium-common-exceptions-webdriverexception-message-unknown-error-failed-to)? – Enzo Massaki Jun 13 '22 at 13:34
  • Checkout the `chromedriver` path, make sure your `chromedriver` located on the same location provided – Akzy Jun 13 '22 at 13:35
  • sure, it is on c:/chromedriver.exe – Tommy Jun 13 '22 at 13:48
  • should probably be a "\"... and don't run it from root.... put it in your user folder. Pretty sure Windows 10 has special permissions for root. Also check to be sure Chrome is installed and working and that the major version matches the chromedriver major version. – pcalkins Jun 13 '22 at 19:49
  • chrome and chromedriver are same versions, and i copied chromedriver in many folders but nothing...same error – Tommy Jun 14 '22 at 10:04

0 Answers0