selenium doesn't click flash upload in an embed tag

645 Views Asked by At

I tried to click on it directly and tried switching frame but it doesn't automate it when i manually click on it it works an d open a window popup to upload file but using selenium it doesn't:

<div>
    <input id="id" name="name" type="file" class="class" size="31" style="display: none; background-color: grey;" width="95" height="31">
    <embed src="some_url" quality="high" width="95" height="31" id="fnameUploader" class="fileUploaderBtn" name="fnameUploader" type="application/x-shockwave-flash">
</div>
0

There are 0 best solutions below