I want to clear a text area for inserting something new. However, I am not able to do that.
I used the following command-
code_element=browser.find_element_by_xpath(’//*[@id=“file_div”]/textarea’)
code_element.clear()
But this is not working. Can you please tell me a way to do that, so that i can some new keys into that text area.