Stabilize cleaning up open tabs
For some reason, about:blank isn't properly loaded sometimes. But this should always work.
This commit is contained in:
parent
2f12233cb7
commit
8440303d82
@ -162,7 +162,7 @@ def clean_open_tabs(quteproc):
|
||||
quteproc.send_cmd(':window-only')
|
||||
quteproc.send_cmd(':tab-only --force')
|
||||
quteproc.send_cmd(':tab-close --force')
|
||||
quteproc.wait_for_load_finished_url('about:blank')
|
||||
quteproc.wait_for(message="Changing title for idx 0 to 'about:blank'")
|
||||
|
||||
|
||||
@bdd.given('pdfjs is available')
|
||||
|
Loading…
Reference in New Issue
Block a user