Class Image
Defines a
Implements
IElementWrapper<RemoteWebElement>
Inherited Members
Namespace: Legerity.Web.Elements.Core
Assembly: Legerity.Web.dll
Syntax
public class Image : WebElementWrapper, IElementWrapper<RemoteWebElement>
Constructors
| Improve this Doc View SourceImage(IWebElement)
Initializes a new instance of the Image class.
Declaration
public Image(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
Image(RemoteWebElement)
Initializes a new instance of the Image class.
Declaration
public Image(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceAltText
Gets the alt text of the image.
Declaration
public virtual string AltText { get; }
Property Value
Type | Description |
---|---|
System.String |
Height
Gets the height of the image.
Declaration
public virtual double Height { get; }
Property Value
Type | Description |
---|---|
System.Double |
Source
Gets the source URI of the image.
Declaration
public virtual string Source { get; }
Property Value
Type | Description |
---|---|
System.String |
Width
Gets the width of the image.
Declaration
public virtual double Width { get; }
Property Value
Type | Description |
---|---|
System.Double |
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to Image)
Allows conversion of a
Declaration
public static implicit operator Image(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
Image | The Image. |