Hi,

I am trying click SWF upload file button using watir-webdriver in IE9, for some 
reasons it is not working.

Sample HTML code is the below:

<div class="plupload flash" id="flash_container">
<object id="flash"data="/plupload.flash.swf" 
type="application/x-shockwave-flash">

I have tried the following watir-webdriver codes:

br.div(:class => "plupload flash").object.present? - returns TRUE
br.div(:class => "plupload flash").object.flash - object is highlighted.
but br.div(:class => "plupload flash").object.click - nothing happened just 
clicked and file browse window is not triggered.

br.object(:id=> "flash").present? - returns TRUE
br.object(:id=> "flash").flash - object is highlighted.
but br.object(:id=> "flash").click - nothing happened just clicked and file 
browse window is not triggered.

Could anyone help me on this issue?

Thanks in advance.


---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/213
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to