webbot
webbot copied to clipboard
Premission denied [WinError 5]
Had to change the webbot.py block to define the executable path for chromedrive. Now it finds it but the program can't access it.
PermissionError: [WinError 5] Access is denied: '...path/chrome_windows.exe'
Selenium doesn't have this problem.
Any suggestions?
Step 1: Open cmd and fire pip command pip install webbot
Step 2: check your chrome version go to Menu -> Help -> About Google Chrome
Step 3: Download chrome driver as per the chrome version from below link https://sites.google.com/a/chromium.org/chromedriver/downloads
Step 4: extract the driver file and save it to, C:\Users%USERNAME%\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\drivers\
Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder) new file will be like "chrome_windows - Copy.exe" and delete the original "chrome_windows.exe"
Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe"