open-wa / wa-automate-python

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

geckodriver path using docker #59

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

mrodal commented 3 years ago

try adding geckodriver to the path in the same command you are executing

mhndm commented 3 years ago

try adding geckodriver to the path in the same command you are executing

how?