Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select text in a div selenium python

    price = driver.find_element_by_xpath("//div[@class='price inlineBlock strong mediumText']")
    price_content = price.get_attribute('innerHTML')
    print price_content.strip()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #text #div #selenium #python
ADD COMMENT
Topic
Name
8+7 =