I am using following python script to copy contents from a local file and paste it into text-area, which actually works fine. However, it takes lots of time to complete this tas
If your goal is solely Task Automation you could speed up the typing by writing a function and pass the element and the text setting the field directly with a script injection as follows :
def set_text(element, text):
element._parent.execute_script("""
var elm = arguments[0], text = arguments[1];
if (!('value' in elm))
throw new Error('Expected an or