Removed globale mouse on over before click.

This commit is contained in:
Martin Edenhofer 2015-11-22 01:03:21 +01:00
parent 9fb77318ff
commit 8c3ad8d8f4

View file

@ -255,8 +255,8 @@ class TestCase < Test::Unit::TestCase
if params[:css] if params[:css]
element = instance.find_elements( { css: params[:css] } )[0] element = instance.find_elements( { css: params[:css] } )[0]
instance.mouse.move_to(element) #instance.mouse.move_to(element)
sleep 0.2 #sleep 0.2
element.click element.click
# trigger also focus on input/select and textarea fields # trigger also focus on input/select and textarea fields