<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I believe I use a timed delay and then a should not be visible. Better would be to trigger on something that happens after your element would have become visible and wait for that to appear. <br><br>Sent from my iPhone</div><div><br>On Sep 27, 2013, at 9:55 PM, "Amir E. Aharoni" <<a href="mailto:amir.aharoni@mail.huji.ac.il">amir.aharoni@mail.huji.ac.il</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="rtl"><div dir="ltr">Hi,<br><br></div><div dir="ltr">I am trying to check that an element does not appear:<br><a href="https://gerrit.wikimedia.org/r/#/c/86348/1/tests/browser/features/step_definitions/signed_in_source_language_steps.rb">https://gerrit.wikimedia.org/r/#/c/86348/1/tests/browser/features/step_definitions/signed_in_source_language_steps.rb</a><br>

<br></div><div dir="ltr">I tried to do <element>.<span class="">should_not be_visible, but apparently that is invalid.<br><br></span></div><div dir="ltr"><span class="">What is the most robust way to do it?<br><br>
Thanks!<br>
</span></div><div><div><br>--<br>Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי<br><a href="http://aharoni.wordpress.com" target="_blank">http://aharoni.wordpress.com</a><br>‪“We're living in pieces,<br>I want to live in peace.” – T. Moore‬</div>


</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>QA mailing list</span><br><span><a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a></span><br><span><a href="https://lists.wikimedia.org/mailman/listinfo/qa">https://lists.wikimedia.org/mailman/listinfo/qa</a></span><br></div></blockquote></body></html>