'How to install firefox on google colab to use it for selenium testing?

I am trying to run a python selenium script on google colab and I need to install Firefox on GC. i don't want to use chrome because it doesn't support emojis like firefox do.

what are the commands that I should run to install Firefox on Google Colab?

Thank you!



Solution 1:[1]

I have not been able to run selenium in google colab with firefox, but to install firefox on colab run this code:

!apt-get update
!apt install firefox

See also:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ernesto