# Don't use find_element_by_class use find_element_by_xpath textFromDiv = driver.find_element_by_xpath("//div[@class='']").text