##### [s_texts](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L8) > def s_texts Get an array of text texts. __Returns:__      [Array] -- ##### [e_s_texts](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L14) > def e_s_texts Get an array of text elements. __Returns:__      [Array] -- ##### [first_s_text](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L20) > def first_s_text Get the first text element. __Returns:__      [Text] -- ##### [last_s_text](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L26) > def last_s_text Get the last text element __Returns:__      [Text] -- ##### [s_text](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L33) > def s_text text Get the first element that includes text. __Parameters:__      [String, Integer] text - the text to find. If int then the text at that index is returned. __Returns:__      [Text] -- ##### [s_text_exact](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/text.rb#L41) > def s_text_exact text Get the first textfield that matches text. __Parameters:__      [String] text - the text that the tag must match __Returns:__      [Text] -- ##### [window_size](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/window.rb#L5) > def window_size Get the window's size -- ##### [button](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L8) > def button text, number=0 Find a button by text and optionally number. __Parameters:__      [String, Integer] text - the text to exactly match. If int then the button at that index is returned.      [Integer] number - the occurrence of the button matching text. Defaults to the first button. __Returns:__      [Button] the button found with text and matching number -- ##### [buttons](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L19) > def buttons text=nil Get an array of button texts or button elements if text is provided. __Parameters:__      [String] text - the text to exactly match __Returns:__      [Array, Array] either an array of button texts or an array of button elements if text is provided. -- ##### [first_button](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L26) > def first_button Get the first button element. __Returns:__      [Button] -- ##### [last_button](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L32) > def last_button Get the last button element. __Returns:__      [Button] -- ##### [button_exact](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L39) > def button_exact text Get the first button element that exactly matches text. __Parameters:__      [String] text - the text to match exactly __Returns:__      [Button] -- ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ccf8e375283bd9038fcf6c1db576f7539065e6d0/lib/appium_lib/common/element/button.rb#L46) > def buttons_exact text Get all button elements that exactly match text. __Parameters:__      [String] text - the text to match exactly __Returns:__      [Array