class AX::Button
A generic push button and the base class for most, but not all, other buttons, including close buttons and sort buttons, but not including pop-up buttons or radio buttons.
Public Instance Methods
==(other)
click to toggle source
Test equality with another object. Equality can be with another {AX::Element} or it can be with a string that matches the title of the button.
@return [Boolean]
Calls superclass method
AX::Element#==
# File lib/ax/button.rb, line 15 def == other if other.is_a? String attribute(:title) == other else super end end