The error points it out clearly that the element does not exist on the page. 
Try to check the html CSS code to compare with one you test.

Sent from my iPhone

> On 28 May 2015, at 15:33, Rafael s <[email protected]> wrote:
> 
> Hey Scott,
> 
> I've tried without displayed but appears the same error.
> 
> Em quinta-feira, 28 de maio de 2015 09:24:20 UTC-3, Scott Ribe escreveu:
>> 
>> On May 28, 2015, at 6:15 AM, Rafael s <[email protected]> wrote: 
>> > 
>> > I want to just make one condition: IF find the button...clicks, else 
>> > continues execution of the other methods 
>> 
>> If the button doesn’t exist, you’re calling displayed? on it anyway. 
>> 
>> -- 
>> Scott Ribe 
>> [email protected] 
>> http://www.elevated-dev.com/ 
>> https://www.linkedin.com/in/scottribe/ 
>> (303) 722-0567 voice 
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/rubyonrails-talk/LyRY6Xm0nl4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/38c137c3-e1cc-44b4-b9ca-8f592543a9da%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/2CF92232-B577-4DD2-ADBE-CE9C7677A5E6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to