Module: UIAutomation::Traits::Cancellable

Included in:
ActionSheet, ActivityView, Alert
Defined in:
lib/ui_automation/traits/cancellable.rb

Overview

Defines methods for elements that can be cancelled using a cancel button.

Instance Method Summary collapse

Instance Method Details

#cancel_buttonUIAutomation::Element

Returns The element's cancel button.

Returns:


7
8
9
# File 'lib/ui_automation/traits/cancellable.rb', line 7

def cancel_button
  element_proxy_for(:cancelButton)
end