Sha256: 4c0c525a6aac7af87c0b22353e484dd71a4f3b28196028153e065ed7bb3a7934

Contents?: true

Size: 518 Bytes

Versions: 45

Compression:

Stored size: 518 Bytes

Contents

module Frank
module Cucumber

module ScrollHelper

  def scroll_view_to_top( selector )
    frankly_map( selector, "FEX_scrollToTop" )
  end

  def scroll_view_to_bottom( selector )
    frankly_map( selector, "FEX_scrollToBottom" )
  end

  def scroll_view_to_position( selector, x, y )
    frankly_map( selector, "FEX_setContentOffsetX:y:", x.to_i, y.to_i)
  end

  def scroll_table_view( selector, row, section = 0)
    frankly_map(selector, "FEX_scrollToRow:inSection:", row.to_i, section.to_i)
  end

end

end end

Version data entries

45 entries across 45 versions & 4 rubygems

Version Path
frank-cucumber-1.1.0 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-1.0.0 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-0.9.8 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-0.9.7 lib/frank-cucumber/scroll_helper.rb
frank-cucumber-0.9.6 lib/frank-cucumber/scroll_helper.rb