Sotana 1
Sotana 1

Reputation: 1

Splinter in Rasberry Pi 5

I am having issues running a very basic script on my rasberry pi

from splinter import Browser


browser = Browser('chrome')

# Visit Google
browser.visit("https://www.google.com")

#
# import time
# time.sleep(10)

# Close the browser
browser.quit()

This is the error message I'm getting. wondering if someone had an idea on how to work around it?

python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 38, in get_path
    path = SeleniumManager().driver_location(options) if path is None else path
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Fipython3.11/site-packages/selenium/webdriver/common/selenium_manager.py", line 86, in driver_location
    args = [str(self.get_binary()), "--browser", browser]
                ^^^^^^^^^^^^^^^^^

This is being ran off a virtual environment.

1- making sure all libraries were installed correctly. 2- doing this in another env


Expectations : for the browser to run and show Google.Com

Upvotes: 0

Views: 59

Answers (0)

Related Questions