I am using QWebView with python to create an automate application and I could select Qwebelements by tags and id, also it's easy to click buttons but I can't do the following - click elements with tag "Textarea" to prepare them to insert data - send keys to textrea elements
the code example for what I can do to fill a form is below but it doesn't work for textarea elements
page = webview.page().mainFrame()
doc = page.documentElement()
username = doc.findFirst("input[id=email]")
username.setAttribute('value', "user@user.com")
password = doc.findfirst("input[id=pass]")
bt.evaluateJavaScript('this.click()')
#this one after getting button element as above ones