Hi Joe,

Thank you a lot!

It work's for me!

Daniela

Em quinta-feira, 6 de setembro de 2012 15h13min42s UTC-3, Joe Fl escreveu:
>
> Hi Daniela, 
>
> You can do the following: 
>
> browser.a(:text,'Adicionar mídia').visible? 
>
> Joe 
>
> On Thu, Sep 6, 2012 at 12:56 PM, Oscar Rieken <[email protected]<javascript:>> 
> wrote: 
> > 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]<javascript:>> 
> 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] <javascript:> 
> >> http://groups.google.com/group/watir-general 
> >> [email protected] <javascript:> 
> > 
> > 
> > -- 
> > Before posting, please read http://watir.com/support. In short: search 
> > before you ask, be nice. 
> > 
> > [email protected] <javascript:> 
> > http://groups.google.com/group/watir-general 
> > [email protected] <javascript:> 
>

-- 
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]

Reply via email to