Click or drag to resize

SearchContextExtensions Class

Framework to automate tests using Selenium WebDriver
Extensions methods for both IWebDriver and IWebElement.
Inheritance Hierarchy
SystemObject
  Ocaramba.ExtensionsSearchContextExtensions

Namespace: Ocaramba.Extensions
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static class SearchContextExtensions
Request Example

The SearchContextExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, Double) Finds and waits for an element that is visible and displayed at specified time.
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, String) Finds and waits for an element that is visible and displayed for long timeout.
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, Double, String) Finds and waits for an element that is visible and displayed at specified time.
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, FuncIWebElement, Boolean, String) Finds and waits for an element that meets specified conditions for long timeout.
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, Double, FuncIWebElement, Boolean, String) Finds and waits for an element that meets specified conditions at specified time.
Public Extension MethodCode exampleGetElement(ISearchContext, ElementLocator, Double, Double, FuncIWebElement, Boolean, String) Finds and waits for an element that meets specified conditions at specified time, recheck condition at specific time interval.
Public Extension MethodCode exampleGetElementT(ISearchContext, ElementLocator, Double) Finds and waits for an element that is visible and displayed at specified time.
Public Extension MethodCode exampleGetElementT(ISearchContext, ElementLocator, String) Finds and waits for an element that is visible and displayed for long timeout.
Public Extension MethodCode exampleGetElementT(ISearchContext, ElementLocator, FuncIWebElement, Boolean, String) Finds and waits for an element that meets specified conditions for long timeout.
Public Extension MethodCode exampleGetElementT(ISearchContext, ElementLocator, Double, FuncIWebElement, Boolean, String) Finds and waits for an element that meets specified conditions at specified time.
Public Extension MethodCode exampleGetElements(ISearchContext, ElementLocator) Finds elements that are enabled and displayed.
Public Extension MethodCode exampleGetElements(ISearchContext, ElementLocator, FuncIWebElement, Boolean) Finds elements that meet specified conditions.
Public Extension MethodCode exampleGetElements(ISearchContext, ElementLocator, Int32) Finds and waits for LongTimeout timeout for at least minimum number of elements that are enabled and displayed.
Public Extension MethodCode exampleGetElements(ISearchContext, ElementLocator, Double, FuncIWebElement, Boolean, Int32) Finds and waits for given timeout for at least minimum number of elements that meet specified conditions.
Public Extension MethodCode exampleGetElementsT(ISearchContext, ElementLocator) Finds elements that are visible and displayed.
Public Extension MethodCode exampleGetElementsT(ISearchContext, ElementLocator, FuncIWebElement, Boolean) Finds elements that meet specified conditions.
Public Extension MethodToDriver To the driver.
Top
See Also