StaleElementReferenceException Constructor (String, Exception)WebDriver
Initializes a new instance of the StaleElementReferenceException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public StaleElementReferenceException(
	string message,
	Exception innerException
)

Parameters

message
Type: SystemString
The error message that explains the reason for the exception.
innerException
Type: SystemException
The exception that is the cause of the current exception, or if no inner exception is specified.
See Also

Reference