driver = webdriver.Firefox()
URL = 'http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_textarea'
driver.get(URL)
driver.switch_to.frame('iframeResult')
textarea = driver.find_element_by_tag_name('textarea')
print(textarea.get_attribute('value'))
print(textarea.get_attribute('rows'))
print(textarea.get_attribute('cols'))
How do I get the text contents of a textarea with webdriver?