0

When running directly in pychram selenium, chrome driver (ChromeDriverManager().install()) install successful.

But when host in iis server getting access denied.

Here is the code

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))

Error Message

webdriver closed.... [WinError 5] Access is denied: "C:\WINDOWS\system32\config\systemprofile\.wdm"

Please Give me Some Tips..

I was trying Manual download chrome driver path. But I need Auto Install in IIS server.

aravinth C
  • 95
  • 5

1 Answers1

0

Using Selenium v4.6 and above Selenium Manager would take care of downloading the matching chromedriver binary. So your effective line of code will be:

driver = webdriver.Chrome()
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
  • I Have Using Same version 4.6.0 but getting Error " webdriver closed.... Message: session not created: This version of ChromeDriver only supports Chrome version 108 Current browser version" – aravinth C Jul 17 '23 at 09:58
  • I want to run in IIS server. can u please check and respond. – aravinth C Jul 17 '23 at 10:01
  • You can refer to another answer of this answerer about this error: https://stackoverflow.com/a/71086902/20058276. – TengFeiXie Jul 28 '23 at 06:50