Answers for "get span text selenium python"

0

get span text selenium python

from selenium import webdriver
browser = webdriver.Firefox()
browser.get("http://www.google.com")
for elem in browser.find_elements_by_xpath('.//span[@class = "gbts"]'):
    print elem.text
Posted by: Guest on March-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language