I'm using the below code, my input are wrong user name and password, I want to assert the container popup. Why do i get this error?
Line i got exception assertThat(loginPage.isLoginError()).isTrue();
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
(Session info: chrome=47.0.2526.111)