I know google colab can be used for selenium module, but before using selenium, there should be a browser in colab virtual machine, so I have successfully installed firefox in colab by using the commands
!apt-get update
!apt install firefox
but when I try to run firefox with the command
!firefox
it throws an error
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x7f4e34915040 Redirecting call to abort() to mozalloc_abort
The same problem occurs with other browsers such as chromium-browser and chrome.
I even tried
import webbrowser
webbrowser.get('firefox').open('https://www.youtube.com')
but it throws an error saying
could not found browser location
So in overall I need the solution for this error which occurs while running a browser
Attempt to free invalid pointer 0x7f4e34915040