When installing geckodriver on ubuntu using apt install firefox-geckodriver
I get promt saying :
Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by
presenting a list of cities, representing the time zones in which they are located.
- Africa 3. Antarctica 5. Arctic 7. Atlantic 9. Indian 11. SystemV 13. Etc
- America 4. Australia 6. Asia 8. Europe 10. Pacific 12. US
Geographic area:
Since this needs manual input, I am unable to run this in docker-compose.
How to remove this prompt or supply default input options in command
2
Answers
Edit:
you can try:
You can
wget
the latest release tarball from github, extract it and than move it toyour
PATH
or add the path to geckodriver toPATH
Assuming /usr/local/bin is in your
PATH
DEBIAN_FRONTEND
env variable should help, try running withnoninteractive
option