-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webbot is not working on linux(parrot) #74
Comments
Perform step no 3 to 6, Step 1: Open cmd and fire pip command Step 2: check your chrome version Step 3: Download chrome driver as per the chrome version from below link Step 4: extract the driver file and save it to, Step 5: In drivers forlder, make copy of chrome_windows (Simply copy the file & paste it in same folder) Step 6: Rename the extracted file "chromedriver.exe" to "chrome_windows.exe" |
If you are working under linux you actually need to rename the chrome driver to chrome_linux, not chrome_windows.exe |
New driver download page If you're on linux. The path is Copy "chromedriver" file here and rename it to "chrome_linux" |
┌─[✗]─[nawnit@asus]─[~]
└──╼ $python /home/nawnit/Desktop/python3.py
Traceback (most recent call last):
File "/home/nawnit/Desktop/python3.py", line 4, in
driver = Browser()
File "/home/nawnit/.local/lib/python3.9/site-packages/webbot/webbot.py", line 68, in init
self.driver = webdriver.Chrome(executable_path=driverpath, options=options)
File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in init
RemoteWebDriver.init(
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
(Driver info: chromedriver=2.39.562737 (dba483cee6a5f15e2e2d73df16968ab10b38a2bf),platform=Linux 5.10.0-6parrot1-amd64 x86_64)
The text was updated successfully, but these errors were encountered: