RE: How to upload an Image using selenium webdriver?
I am facing the issue while uploading an image into website using selenium. I tried with the simplest solution which we identify the locator of the upload button and pass the Path of the file.But it is not working for me as the attribute type=button not type=file..
Is there any workaround for this.. Please let me know if anyone has the solution other than using AutoIT.
HTML snippet is :
<input id=”dzuploadbttn“ class=”pink-button“ type=”button“ name=”dzuploadbttn“ value=”Upload“ style=”display: block;“>
here is the site
https://www.designerexchange.com/ —–>click on Sell To US —>