<div dir="ltr"><br><div>They are not actually deprecated methods. The page_object code throws that message whenever it sees something it doesn't recognize, and it doesn't recognize some of the lesser-used methods. (From watir-webdriver mostly. The watir-webdriver API is about three times as many methods as the raw Selenium API.)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 9:14 AM, 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> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">I noticed these! It's quite useful. It would be even more useful to have some way to find how to replace them with non-deprecated methods, though :)<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>
<br><br><div class="gmail_quote"><div dir="ltr">2013/9/27 Chris McMahon <span dir="ltr"><<a href="mailto:cmcmahon@wikimedia.org" target="_blank">cmcmahon@wikimedia.org</a>></span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr"><br><div>We're using some methods that the page_object gem does not recognize. I've asked the maintainer of page_object to let these pass through: </div><div><br></div><div><a href="https://github.com/cheezy/page-object/issues/192" target="_blank">https://github.com/cheezy/page-object/issues/192</a><br>
</div><div><br></div><div><span style="background-color:rgb(251,251,251);color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:12.800000190734863px;line-height:17.600000381469727px">*** DEPRECATION WARNING</span><br>
</div><div><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:12.800000190734863px;line-height:17.600000381469727px;background-color:rgb(251,251,251)">*** You are calling a method named select_text at</p>
<p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:12.800000190734863px;line-height:17.600000381469727px;background-color:rgb(251,251,251)">from line<br>(FooPage).content_element.select_text "This is a new line"</p>
<p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:12.800000190734863px;line-height:17.600000381469727px;background-color:rgb(251,251,251)">*** DEPRECATION WARNING<br>
*** You are calling a method named class_name</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:12.800000190734863px;line-height:17.600000381469727px;background-color:rgb(251,251,251)">
from line:<br>(FooPage).foo_element.class_name.should match /disabled/</p></div></div>
<br></div></div>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org" target="_blank">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div>