Click on element before enter text (to improved work with contenteditable).
This commit is contained in:
parent
b0b61191aa
commit
0cb6e34870
1 changed files with 1 additions and 2 deletions
|
@ -402,8 +402,7 @@ class TestCase < Test::Unit::TestCase
|
|||
instance = params[:browser] || @browser
|
||||
|
||||
element = instance.find_elements( { css: params[:css] } )[0]
|
||||
#element.click
|
||||
|
||||
element.click
|
||||
element.clear
|
||||
|
||||
if !params[:slow]
|
||||
|
|
Loading…
Reference in a new issue