Open belqit opened 4 years ago
browser ver? it's work correctly with firefox 61.0, new versions isnt work.
I've used:
docker run -d -p 4444:4444 -p 5900:5900 --name firefox --network selenium -v /dev/shm:/dev/shm selenium/standalone-firefox-debug:3.14.0-curium
You don't have to use the docker if you don't want to. I particularly preferred to remove the docker from my project and run the python script on the system directly.
I would need docker because I'm running it on headless linux
I would need docker because I'm running it on headless linux
I also use a vps linux to run my code, but I installed a graphical interface on my vps which helps me a lot to configure and start the bot. I gave up the docker because it was one more item I would need to configure every time I rebuild the runtime environment.
Have same problem. @belqit did you find a solution?
Have same problem. @belqit did you find a solution?
negative. I'm using new_messages_observer.py, it works but it can't read unread messages if python crash
I see... I tried downgrading selenium/firefox and geckodriver with no result. @erickythierry have you some tips to run standalone? (versions, dependences, sample code calling driver?) sorry for that and thanks!
I see... I tried downgrading selenium/firefox and geckodriver with no result. @erickythierry have you some tips to run standalone? (versions, dependences, sample code calling driver?) sorry for that and thanks!
I could only get my code to work using firefox version 61, and geckodriver version 0.21.0. I was also only able to work on linux ubuntu (from 16.04) using python3 (python2 gave a lot of problems). I used the echo example to build my code.
Thanks!
Thanks!
in the ubuntu terminal i install the python3 and the pip3.
then i clone this repository and run the comand
pip3 install -r requirements.txt
then I download and manually install firefox and geckodriver on the specific versions I sent before.
After these steps I can run this code that I sent in the image without problems (using python3)
I'm frustrated... Thanks to your recommendations @erickythierry, I'm installed all requirements, and run echo code modified. get_unread don't crash but return nothing. Also, If I try to send a message nothing happens..
Code: driver.chat_send_seen('5491158793853@c.us') (work) driver.send_message_to_id('5491158793853@c.us','skyrocketing...') (don't)
I'm using default echo.py with docker setup
this is the output when I receive a message: