Thanks for the nudge in the right direction. In this app it's using display: none to hide the lightbox, so I was able to check for that.
Richard On Tue, Jan 20, 2009 at 1:56 PM, Paul Rogers <paul.rog...@shaw.ca> wrote: > > it depends how it is displayed or hidden. In the app I work on things > are often moved off the visibile part of the screen by setting the css > position to -1000, -1000 > > Paul > > On Tue, Jan 20, 2009 at 1:48 PM, Richard Lawrence <rslawre...@gmail.com> > wrote: >> >> Has anyone found a good way to determine whether or not a lightbox is >> showing with Watir? Since the lightbox div is always on the page, >> checking for the existence of particular text or controls returns true >> either way. >> >> Thanks, >> >> Richard >> >> -- >> Richard Lawrence >> Certified Scrum Coach >> Founder and Principal Consultant, Humanizing Work, LLC >> 303-895-7688 >> rich...@humanizingwork.com >> www.humanizingwork.com >> www.richardlawrence.info >> >> > >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---