C# Class Bumblebee.Extensions.WebElementConvenience

Show file Open project: bumblebee/bumblebee

Public Methods

Method Description
GetClasses ( this element ) : IEnumerable
GetDriver ( this element ) : IWebDriver
GetID ( this element ) : string
HasClass ( this element, string className ) : bool
SetAttribute ( this element, string attribute, string value ) : void

Private Methods

Method Description
GetElement ( this driver, By by ) : IWebElement
GetElements ( this driver, By by ) : IList

Method Details

GetClasses() public static method

public static GetClasses ( this element ) : IEnumerable
element this
return IEnumerable

GetDriver() public static method

public static GetDriver ( this element ) : IWebDriver
element this
return IWebDriver

GetID() public static method

public static GetID ( this element ) : string
element this
return string

HasClass() public static method

public static HasClass ( this element, string className ) : bool
element this
className string
return bool

SetAttribute() public static method

public static SetAttribute ( this element, string attribute, string value ) : void
element this
attribute string
value string
return void