Method: RUTL::Interface::Base#goto
- Defined in:
- lib/rutl/interface/base.rb
#goto(view) ⇒ Object
Attempts to navigate to the view. Takes screenshot if successful.
35 36 37 38 39 |
# File 'lib/rutl/interface/base.rb', line 35 def goto(view) raise 'expect View class' unless view?(view) find_view(view).go_to_here @camera.screenshot end |