parameters: (self, action_runner)
docstring: Waits until it can detect either the login form, or already logged in.
docstring_summary: Waits until it can detect either the login form, or already logged in.
docstring_tokens: Waits until it can detect either the login form or already logged in .
function: def _WaitForLoginState(self, action_runner):
      """Waits until it can detect either the login form, or already logged in."""
      condition = '(document.querySelector("#%s") !== null) || (%s)' % (
          self.login_form_id, self.logged_in_javascript)
      action_runner.WaitForJavaScriptCondition(condition, 60)
function_tokens: def _WaitForLoginState ( self , action_runner ) : condition = '(document.querySelector("#%s") !== null) || (%s)' % ( self . login_form_id , self . logged_in_javascript ) action_runner . WaitForJavaScriptCondition ( condition , 60 )