Method | Description | |
---|---|---|
ClassName ( string classNameToFind ) : |
Gets a mechanism to find elements by their CSS class. If an element has many classes then this will match against each of them. For example if the value is "one two onone", then the following values for the className parameter will match: "one" and "two". |
|
CssSelector ( string cssSelectorToFind ) : |
Gets a mechanism to find elements by their cascading stylesheet (CSS) selector.
|
|
Equals ( object obj ) : bool |
Determines whether the specified
|
|
FakeBy ( ) : System | ||
FindElement ( ISearchContext context ) : IWebElement |
/// Determines if two T:OpenQA.Selenium.By instances are equal. /// /// Determines if two T:OpenQA.Selenium.By instances are unequal. /// /// Finds the first element matching the criteria. ///
|
|
FindElements ( ISearchContext context ) : ReadOnlyCollection |
Finds all elements matching the criteria.
|
|
GetHashCode ( ) : int |
Serves as a hash function for a particular type.
|
|
Id ( string idToFind ) : |
Gets a mechanism to find elements by their ID.
|
|
LinkText ( string linkTextToFind ) : |
Gets a mechanism to find elements by their link text.
|
|
Name ( string nameToFind ) : |
Gets a mechanism to find elements by their name.
|
|
PartialLinkText ( string partialLinkTextToFind ) : |
Gets a mechanism to find elements by a partial match on their link text.
|
|
TagName ( string tagNameToFind ) : |
Gets a mechanism to find elements by their tag name.
|
|
ToString ( ) : string |
Gets a string representation of the finder.
|
|
XPath ( string xpathToFind ) : |
Gets a mechanism to find elements by an XPath query.
|
public static ClassName ( string classNameToFind ) : |
||
classNameToFind | string | The CSS class to find. |
return |
public static CssSelector ( string cssSelectorToFind ) : |
||
cssSelectorToFind | string | The CSS selector to find. |
return |
public Equals ( object obj ) : bool | ||
obj | object | The |
return | bool |
public FindElement ( ISearchContext context ) : IWebElement | ||
context | ISearchContext | An |
return | IWebElement |
public FindElements ( ISearchContext context ) : ReadOnlyCollection |
||
context | ISearchContext | An |
return | ReadOnlyCollection |
public static Id ( string idToFind ) : |
||
idToFind | string | The ID to find. |
return |
public static LinkText ( string linkTextToFind ) : |
||
linkTextToFind | string | The link text to find. |
return |
public static Name ( string nameToFind ) : |
||
nameToFind | string | The name to find. |
return |
public static PartialLinkText ( string partialLinkTextToFind ) : |
||
partialLinkTextToFind | string | The partial link text to find. |
return |
public static TagName ( string tagNameToFind ) : |
||
tagNameToFind | string | The tag name to find. |
return |
public static XPath ( string xpathToFind ) : |
||
xpathToFind | string | The XPath query to use. |
return |