nateshmbhat / webbot

Web automation library for simple and easy end to end testing and web browser automation that offers super charged features while keeping it simple to use and master
https://pypi.org/project/webbot/
Mozilla Public License 2.0
239 stars 87 forks source link

Does it work on a headless server? #32

Closed TravelTrader closed 3 years ago

TravelTrader commented 4 years ago

First: I LOVE IT! With this library, everything gets easy and works!

I plan to use it on a server without any screen. Does the library work in a headless browser? What are the requirements?

First check results in:

[...]
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
  (Driver info: chromedriver=2.39.562737 (abcdefg),platform=Linux 4.15.0-64-generic x86_64)

UPDATE: When I am in the Python shell nothing happens after web = Browser() and I have to CTRL-C the shell to get out...

Thank you for your help!

nateshmbhat commented 3 years ago

yes , it works on a headless server also. There will be some option regarding to configure the x-window environment to run gui programs.

Exploring that would help you.