As charlie said it's just a div that shows up for a while. if you know the properties of the div then you can check to see if it's there.
Likely it's just being switched by some client side javascript from being visible to not being visible. If that's the case, again if you know enough properties of the div you can use the .visible? method to check and see if it's displayed or not.. On Feb 23, 8:19 am, Charley Baker <[email protected]> wrote: > I'm not entirely sure what you mean by "overlay form", but on that > page is a div that shows up for a bit to download IE8. It's simply a > div with links. So something like > > browser.div(:id, 'lspTileContainer').link(:id, 'whatever').click > > Cheers, > > Charley Baker > Lead Developer, Watir,http://watir.com > > On Wed, Feb 23, 2011 at 3:28 AM, Inder Pal Singh Parmar > > > > > > > > <[email protected]> wrote: > > Hi all, > > How can we detect a overlay form using Watir. > > Say for example onhttp://www.microsoft.com/en/us/default.aspxthere is a > > overlay form for downloading IE8. > > how to detect controls on this overlay form. > > thanks in advance. > > Inder Pal > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > [email protected] > >http://groups.google.com/group/watir-general > > [email protected] -- 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]
