Improved scroll_to behaviour.

This commit is contained in:
Martin Edenhofer 2015-11-17 15:28:00 +01:00
parent a609b13825
commit 8f2eb904ae

View file

@ -291,7 +291,7 @@ class TestCase < Test::Unit::TestCase
execute( execute(
browser: instance, browser: instance,
js: "\$('#{params[:css]}').get(0).scrollIntoView(true)", js: "\$('#{params[:css]}').get(0).scrollIntoView(false)",
mute_log: params[:mute_log] mute_log: params[:mute_log]
) )
sleep 0.4 sleep 0.4