well you can first locate the element and then there a few different ways to check if the element exists? http://watir.github.com/watir-webdriver/doc/Watir/Element.html#exists%3F-instance_method
On Thu, Sep 6, 2012 at 12:48 PM, Daniela <[email protected]> wrote: > Hi.. > > Please, how can i verify if an object appears on a page? .. for example, > look at this html: > > <a class="thumbnail-new add_related_contents" href="#">Adicionar mídia</a> > > I want to verify if the link "Adicionar mídia" is in the page. > > How can i do this? > > Thanks! > > -- > 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] > -- 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]
