C# Class IWebElementExtensions, code

Mostra file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
SelectOptionByText ( IWebElement element, string optionText ) : void

Selects an option in a dropdown list by visible option text.

WithText ( IWebElement webElement, string text ) : IWebElement

Method Details

SelectOptionByText() public static method

Selects an option in a dropdown list by visible option text.
public static SelectOptionByText ( IWebElement element, string optionText ) : void
element IWebElement
optionText string
return void

WithText() public static method

public static WithText ( IWebElement webElement, string text ) : IWebElement
webElement IWebElement
text string
return IWebElement