Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geckodriver path using docker #59

Open
mhndm opened this issue Nov 29, 2020 · 2 comments
Open

geckodriver path using docker #59

mhndm opened this issue Nov 29, 2020 · 2 comments

Comments

@mhndm
Copy link

mhndm commented Nov 29, 2020

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
Copy link
Collaborator

mrodal commented Nov 29, 2020

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

@mhndm
Copy link
Author

mhndm commented Nov 29, 2020

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

how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants