boolean function ( ) { return ! browser . findElements ( By . id ( AUTHENTICATED_USER_ERROR_ID ) ) . isEmpty ( ) ; }
returns true if the authenticated user error is visible on the page and false otherwise . concode_field_sep String LOGIN_FORM_ID concode_elem_sep String LOGIN_ERROR_ALERT_ID concode_elem_sep WebDriver browser concode_elem_sep String AUTHENTICATED_USER_ERROR_ID concode_elem_sep String pageUrl concode_elem_sep String PASSWORD_INPUT_ID concode_elem_sep String EMAIL_ADDRESS_INPUT_ID concode_field_sep String getPassword concode_elem_sep String getEmailAddress concode_elem_sep boolean isOpen concode_elem_sep boolean isLoginAlertVisible concode_elem_sep void submitLoginForm concode_elem_sep boolean isLoginFormVisible concode_elem_sep boolean isOpenWithLoginErrorUrl concode_elem_sep void typePassword concode_elem_sep LoginPage loginAndExpectFailure concode_elem_sep TaskListPage login concode_elem_sep LoginPage open concode_elem_sep void typeEmailAddress