Skip to content Skip to sidebar Skip to footer

How To Send Text To Invisible Input Field

I need to automate file uploading. Here is a HTML code for path-to-file input field and button for manual uploading:

Solution 1:

You should try with

driver.execute_script(document.getElementById('fileUpload').style.display='bloc‌​k';");

Post a Comment for "How To Send Text To Invisible Input Field"