what about `self.wait_for_condition(lambda m: m.execute_script("return window.wrappedJSObject.Browser.currentScreen;") == 'tabs-screen')`

basically the same as line 158
`