Class ElementsNotShownException
Defines an exception for when expected elements are not shown.
Namespace: Legerity.Exceptions
Assembly: Legerity.Core.dll
Syntax
public class ElementsNotShownException : LegerityException
Constructors
| Improve this Doc View SourceElementsNotShownException(String)
Initializes a new instance of the ElementsNotShownException class.
Declaration
public ElementsNotShownException(string locator)
Parameters
Type | Name | Description |
---|---|---|
System.String | locator | The locator used to locate the element. |
ElementsNotShownException(String, Exception)
Initializes a new instance of the ElementsNotShownException class.
Declaration
public ElementsNotShownException(string locator, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | locator | The locator used to locate the element. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
| Improve this Doc View SourceLocator
Gets the locator used to locate the elements.
Declaration
public string Locator { get; }
Property Value
Type | Description |
---|---|
System.String |