Skip to content

SeleniumChain Classes

Arman edited this page Oct 11, 2022 · 2 revisions

SeleniumChainBase.cs - this class is for shared and easy-for-use driven types. Properties:

  • IWebDriver Driver
  • IChainBase ChainBase

IChainBase.cs - It is used in the ChainSelenium.cs class for code readability and cleanliness.

ClickOnElementBy.cs

  • Id
  • ClassName
  • CssSelector
  • LinkText
  • Name
  • PartialLinkText
  • TagName
  • XPath

FindElementBy.cs

  • Id
  • ClassName
  • CssSelector
  • LinkText
  • Name
  • PartialLinkText
  • TagName
  • XPath

FindElementsBy.cs

  • Id
  • ClassName
  • CssSelector
  • LinkText
  • Name
  • PartialLinkText
  • TagName
  • XPath

FindElementWithResultBy.cs and FindElementsWithResultBy.cs

  • Id with out variable to pick IWebelement(s)
  • ClassName with out variable to pick IWebelement(s)
  • CssSelector with out variable to pick IWebelement(s)
  • LinkText with out variable to pick IWebelement(s)
  • Name with out variable to pick IWebelement(s)
  • PartialLinkText with out variable to pick IWebelement(s)
  • TagName with out variable to pick IWebelement(s)
  • XPath with out variable to pick IWebelement(s)
Clone this wiki locally