open-wa / wa-automate-python

💬 🤖 The most advanced Python whatsapp library for chatbots with advanced features. Be sure to ⭐ this repository for updates!
Other
349 stars 75 forks source link

Feature: Chrome remote webdriver support #80

Closed alissonws closed 3 years ago

alissonws commented 3 years ago

I've created a new class attribute called remote that defines if the webdrive will be initialized as a remote connection. Now, the user can choose between firefox and chrome and set if it will be a remote connections parsing remote=True. I've maintained the client remote for compatibility, but added a warning saying that remote client is deprecated.

Also updated the docs and the samples.

Tested it on my environment using docker-compose with selenium/standalone-chrome:4.0.0 image.

mrodal commented 3 years ago

Excellent, thanks!