C# Class SizSelCsZzz.WebDriverExtensions

显示文件 Open project: fschwiet/SizSelCsZzz

Public Properties

Property Type Description
MaxWaitMS int
WaitIntervalMS int

Public Methods

Method Description
ClearThenSendKeys ( this element, string text ) : void
ContainsText ( this browser, string text ) : bool
CountElementsMatching ( this browser, string cssSelector ) : int
GetBodyText ( this browser ) : string
WaitForElement ( this node, By condition ) : IWebElement
WaitForElementEx ( this node, By condition, int maxWaitMS = null, int waitIntervalMS = null ) : IWebElement

Method Details

ClearThenSendKeys() public static method

public static ClearThenSendKeys ( this element, string text ) : void
element this
text string
return void

ContainsText() public static method

public static ContainsText ( this browser, string text ) : bool
browser this
text string
return bool

CountElementsMatching() public static method

public static CountElementsMatching ( this browser, string cssSelector ) : int
browser this
cssSelector string
return int

GetBodyText() public static method

public static GetBodyText ( this browser ) : string
browser this
return string

WaitForElement() public static method

public static WaitForElement ( this node, By condition ) : IWebElement
node this
condition OpenQA.Selenium.By
return IWebElement

WaitForElementEx() public static method

public static WaitForElementEx ( this node, By condition, int maxWaitMS = null, int waitIntervalMS = null ) : IWebElement
node this
condition OpenQA.Selenium.By
maxWaitMS int
waitIntervalMS int
return IWebElement

Property Details

MaxWaitMS public_oe static_oe property

public static int MaxWaitMS
return int

WaitIntervalMS public_oe static_oe property

public static int WaitIntervalMS
return int