Stay over element until click it.
This commit is contained in:
parent
d115fe8993
commit
9fb77318ff
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class SwitchToUserTest < TestCase
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
@browser.mouse.move_to( @browser.find_elements( { css: '#content .table-overview tbody tr:first-child' } )[0] )
|
@browser.mouse.move_to( @browser.find_elements( { css: '#content .table-overview tbody tr:first-child' } )[0] )
|
||||||
|
sleep 0.5
|
||||||
click(
|
click(
|
||||||
css: '#content .icon-switchView',
|
css: '#content .icon-switchView',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue