Improved scroll_to behaviour.
This commit is contained in:
parent
a609b13825
commit
8f2eb904ae
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class TestCase < Test::Unit::TestCase
|
|||
|
||||
execute(
|
||||
browser: instance,
|
||||
js: "\$('#{params[:css]}').get(0).scrollIntoView(true)",
|
||||
js: "\$('#{params[:css]}').get(0).scrollIntoView(false)",
|
||||
mute_log: params[:mute_log]
|
||||
)
|
||||
sleep 0.4
|
||||
|
|
Loading…
Reference in a new issue