Make TerminalSession#clear block until the screen is cleared

This commit is contained in:
Eric Freese 2017-01-29 10:40:05 -07:00
parent 2c465a932a
commit 5151adfe40
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class TerminalSession
def clear
send_keys('C-l')
sleep(0.1) until content == ''
end
def destroy