Ruby on Rails Thursday, May 28, 2015

but that's exactly what I want! I know that sometimes the element will not appear on the screen, so I need it to run another method, it is exactly this treatment I am trying to do. for this reason I put the IF condition. If the element exists, takes an action, orexists, performs the following method. Just to be clear, how would you do this?

Em quinta-feira, 28 de maio de 2015 11:10:14 UTC-3, Javix escreveu:
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 <rafae...@gmail.com> 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 <rafae...@gmail.com> 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
scott...@elevated-dev.com
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 rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a1f9f8d0-3b42-440a-843d-061cc6b50088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment