How to clear the text from a TEXTAREA in Selenium

To clear the text from a TEXTAREA, use the element’s clear() method.

Java

driver.findElement(By.id("myID")).clear()

Python

driver.find_element_by_id("myID").clear()

C#

driver.FindElement(By.Id("myID")).Clear()