Class JavaScriptException
Represents exceptions that are thrown when an error occurs during execution of JavaScript.
[Serializable]
public class JavaScriptException : WebDriverException, ISerializable
- Inheritance
-
JavaScriptException
- Implements
- Inherited Members
Constructors
JavaScriptException()
Initializes a new instance of the JavaScriptException class.
public JavaScriptException()
JavaScriptException(string?)
Initializes a new instance of the JavaScriptException class with a specified error message.
public JavaScriptException(string? message)
Parameters
message
stringThe message that describes the error.
JavaScriptException(string?, Exception?)
Initializes a new instance of the JavaScriptException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public JavaScriptException(string? message, Exception? innerException)