<div dir="rtl"><div dir="ltr">You can see the test code here:<br><a href="https://gerrit.wikimedia.org/r/#/c/86194/1/tests/browser/features/step_definitions/signed_in_and_approved_user_steps.rb">https://gerrit.wikimedia.org/r/#/c/86194/1/tests/browser/features/step_definitions/signed_in_and_approved_user_steps.rb</a><br>
<br></div><div dir="ltr">(Notice line 43.)<br></div></div><div class="gmail_extra"><br clear="all"><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 dir="ltr"><br><br><div class="gmail_quote">2013/9/27 Amir E. Aharoni <span dir="ltr"><<a href="mailto:amir.aharoni@mail.huji.ac.il" target="_blank">amir.aharoni@mail.huji.ac.il</a>></span><br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div dir="rtl"><div dir="ltr">Hi!<br><br></div><div dir="ltr">We are writing browser tests for the new <a href="http://translatewiki.net" target="_blank">translatewiki.net</a> Main Page.<br><br></div><div dir="ltr">The page is here:<br>
<a href="https://translatewiki.net/wiki/Special:MainPage" target="_blank">https://translatewiki.net/wiki/Special:MainPage</a><br>
</div><div dir="ltr">(You'll only see it if you are logged in.)<br></div><div dir="ltr"><br>It has some tests for checking behavior on hover. There is a .hover method in WebDriver (or is it PageObject? I'm never sure), but it seems that it only works if the element is in the viewport. What's the right way to make it work?<br>
<br>Thanks!<br clear="all"></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>
</blockquote></div></div></div>