You can use [Google-Colab-Selenium][1]
!pip install google-colab-selenium
Then you can use Selenium as such:
import google_colab_selenium as gs
driver = gs.Chrome()
driver.get('https://www.google.com')
print(driver.title)
driver.quit()
[1]: https://github.com/jpjacobpadilla/Google-Colab-Selenium