Google News
logo
Selenium - Quiz(MCQ)
What would be the exception thrown by the WebDriver if the web page is refreshed after the element was located?
A)
NoSuchElementException
B)
ElementNotVisibleException
C)
Both (A) and (B)
D)
StaleElementReferenceException

Correct Answer :   StaleElementReferenceException

Advertisement