Wait for gBrowser to finish loading in tabs tests