Giter Site home page Giter Site logo

Web = Browser() , Error about webbot HOT 6 OPEN

Tecspay avatar Tecspay commented on August 17, 2024
Web = Browser() , Error

from webbot.

Comments (6)

jayyoung12643 avatar jayyoung12643 commented on August 17, 2024

I get the same issue - follow the documentation for installation, try the demo code and get an error on 2nd line of code..

"web = Browser()"

"
Traceback (most recent call last):
File "C:\Users\jayyo\OneDrive\Documents\KCL\LSF webbot", line 10, in
web = Browser()
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-packages\webbot\webbot.py", line 68, in init
self.driver = webdriver.Chrome(executable_path=driverpath, options=options)
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in init
RemoteWebDriver.init(
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\jayyo\AppData\Local\Programs\Python\Python39\lib\site-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.562718 (9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 10.0.19045 x86_64)

[Finished in 7.7s]
"

from webbot.

jemaleng avatar jemaleng commented on August 17, 2024

See : https://stackoverflow.com/questions/76550506/typeerror-webdriver-init-got-an-unexpected-keyword-argument-executable-p

Looks like it relates to an update of selenium. I'm afraid that the library needs correction. I have the same issue.

from webbot.

ercag avatar ercag commented on August 17, 2024

any update about this problem?
looks like selenium changed the cunstructor and executable_path is not necessary any more...

from webbot.

pidgeon777 avatar pidgeon777 commented on August 17, 2024

Yes, please an update?

from webbot.

pidgeon777 avatar pidgeon777 commented on August 17, 2024

After a good amount of work I was able to fix it somehow, you can find a guide I just wrote here:

#95

Hopefully it will be useful to all of you.

from webbot.

rayud avatar rayud commented on August 17, 2024

Could anyone kindly explain what is the resolution for this??

from webbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.