Reg.openqa.selenium.StaleElementReferenceException: stale element reference:

46 views
Skip to first unread message

HumbleBee

unread,
Jan 31, 2016, 9:57:23 PM1/31/16
to Selenium Users
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)

Mark Collin

unread,
Feb 1, 2016, 3:51:57 AM2/1/16
to Selenium Users
Reply all
Reply to author
Forward
0 new messages