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 <
[email protected]> 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 <[email protected]>
>
>>
>> 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/qa
>>
>>
>
> _______________________________________________
> QA mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/qa
>
>
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to