I\'m running a simple example of selenium on Linux:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
Selenium requires geckodriver to interface with Firefox. Here's how to install geckodriver:
sudo mv ~/Downloads/geckodriver /usr/bin