mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 797 forks source link

docker geckodriver path #972

Open mhndm opened 3 years ago

mhndm commented 3 years ago

i am using docker when i run the command: docker run --network selenium -it -e SELENIUM='http://firefox:4444/wd/hub' -v $(pwd):/app webwhatsapi /bin/bash -c "pip install ./;pip list;python sample/echo.py" i get the following error: selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. i tried to put geckodriver in /usr/bin , /usr/local/bin and in the script path location and i have the same error

regmibijay commented 3 years ago

You need to relog/relaunch terminal after putting geckodriver to your path, if you have not tried it yet. That fixed it for me.

mhndm commented 3 years ago

You need to relog/relaunch terminal after putting geckodriver to your path, if you have not tried it yet. That fixed it for me.

can you send me how please?