symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.93k stars 219 forks source link

apt-get install firefox-geckodriver won't work on Ubuntu 22(.04?) #576

Closed hwarmelink closed 1 year ago

hwarmelink commented 1 year ago

This seems to be because Firefox for ubuntu 22(.04?) got moved to a snap package.

See https://forum.snapcraft.io/t/firefox-geckodriver-package-is-now-missing-from-ubuntu-22-04/29486 And https://askubuntu.com/questions/1399383/ubuntu-22-04-jammy-traditional-deb-package-for-firefox

It would be great if someone could simplify the instructions on the second link and confirm that Panther will then also work.

Thanks, cheers!

hwarmelink commented 1 year ago

Well, turns out it was no big deal! I installed Firefox through the snap package ... sudo snap install firefox and I manually put the geckodriver in a folder already referenced in $PATH and then the usual command ... vendor/bin/bdi detect drivers ...led to the identification of the geckodriver. All done!