Add a wait before sending keys to the awesome bar

This should fix the test failure for test_browser_tabs and resolve issue #645