from selenium import webdriver
driver = webdriver.Firefox()
driver.get('http://www.google.com')
content = driver.find_element_by_css_selector('title')
print content
I can't seem to get any content by any means(tag_name, class_name, name...) What is the problem with this code?
print content.textWith the WebElement you can do any of the actions mentioned [here] (selenium-python.readthedocs.org/…)content.tag_name?