foodsoft/spec/support/integration.rb

5 lines
119 B
Ruby
Raw Permalink Normal View History

2016-02-18 22:34:06 +01:00
# @see http://stackoverflow.com/a/11048669/2866660
def scrolldown
page.execute_script "window.scrollBy(0,10000)"
end