Thanks Zeljko, the flash is always there on the page: <div class="grid" style="margin-top: 18px;"> <div id="defaultId"> <script type="text/javascript"> </div> <object id="defaultId" width="726" height="310" type="application/x- shockwave-flash" data="/mypath/to/flash/init.swf_823752224.swf"> </div>
On May 24, 9:26 am, Željko Filipin <[email protected]> wrote: > On Thu, May 24, 2012 at 9:36 AM, Litha K <[email protected]> wrote: > > browser.div(:class, 'some_class').element(:id, > > 'flash_object_id').exists?, but its returning false. > > Please share HTML when flash element is present, and when it is not. > > Željko > -- > watir.com/book - author -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
