driver = webdriver.Firefox()
driver.get('http://www.google.com')
driver.execute_script("document.getElementById('lga').style.display = 'none';")
Selenium (with python) how to modify an element css style