Table of Contents

Class ElementClickInterceptedException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

The exception that is thrown when an element is not visible.

public class ElementClickInterceptedException : ElementNotInteractableException, ISerializable
Inheritance
ElementClickInterceptedException
Implements
Inherited Members

Constructors

ElementClickInterceptedException()

Initializes a new instance of the ElementNotInteractableException class.

public ElementClickInterceptedException()

ElementClickInterceptedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ElementNotInteractableException class with serialized data.

protected ElementClickInterceptedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

ElementClickInterceptedException(string)

Initializes a new instance of the ElementNotInteractableException class with a specified error message.

public ElementClickInterceptedException(string message)

Parameters

message string

The message that describes the error.

ElementClickInterceptedException(string, Exception)

Initializes a new instance of the ElementNotInteractableException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ElementClickInterceptedException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.