[QA] deprecation warnings from page_object
Chris McMahon
christopher.mcmahon at gmail.com
Fri Sep 27 16:26:04 UTC 2013
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.)
On Fri, Sep 27, 2013 at 9:14 AM, Amir E. Aharoni <
amir.aharoni at mail.huji.ac.il> wrote:
> 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 :)
>
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> “We're living in pieces,
> I want to live in peace.” – T. Moore
>
>
> 2013/9/27 Chris McMahon <cmcmahon at wikimedia.org>
>
>>
>> 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:
>>
>> https://github.com/cheezy/page-object/issues/192
>>
>> *** DEPRECATION WARNING
>>
>> *** You are calling a method named select_text at
>>
>> from line
>> (FooPage).content_element.select_text "This is a new line"
>>
>> *** DEPRECATION WARNING
>> *** You are calling a method named class_name
>>
>> from line:
>> (FooPage).foo_element.class_name.should match /disabled/
>>
>> _______________________________________________
>> QA mailing list
>> QA at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/qa
>>
>>
>
> _______________________________________________
> QA mailing list
> QA at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/qa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20130927/37c40c83/attachment.html>
More information about the QA
mailing list