Method | Description | |
---|---|---|
FindElement ( By by ) : IWebElement |
Find the first element that matches the By mechanism
|
|
FindElementByClassName ( string className ) : IWebElement |
Method to return the first element that matches the CSS class passed in
|
|
FindElementById ( string id ) : IWebElement |
Find the first element that has this ID
|
|
FindElementByLinkText ( string linkText ) : IWebElement |
Finds the first of elements that match the link text supplied
|
|
FindElementByName ( string name ) : IWebElement |
Find the first element that matches by name
|
|
FindElementByPartialLinkText ( string partialLinkText ) : IWebElement |
Find the first element that matches part of the text
|
|
FindElementByTagName ( string tagName ) : IWebElement |
Find the first element that matches the tag
|
|
FindElementByXPath ( string xpath ) : IWebElement |
Find the first element that matches the XPath
|
|
FindElements ( By by ) : ReadOnlyCollection |
Find all Elements that match the By mechanism
|
|
FindElementsByClassName ( string className ) : ReadOnlyCollection |
Method to find all the elements on the page that match the CSS Classname
|
|
FindElementsById ( string id ) : ReadOnlyCollection |
Finds the first element in the page that matches the ID supplied
|
|
FindElementsByLinkText ( string linkText ) : ReadOnlyCollection |
Finds a list of elements that match the link text supplied
|
|
FindElementsByName ( string name ) : ReadOnlyCollection |
Find all the elements that match the name
|
|
FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection |
Method to return all elements that match the link text passed in
|
|
FindElementsByTagName ( string tagName ) : ReadOnlyCollection |
Find all elements that match the tag
|
|
FindElementsByXPath ( string xpath ) : ReadOnlyCollection |
Find all the elements taht match the XPath
|
|
Finder ( |
Initializes a new instance of the Finder class.
|
public FindElement ( By by ) : IWebElement | ||
by | By | By mechanism |
return | IWebElement |
public FindElementByClassName ( string className ) : IWebElement | ||
className | string | CSS class name |
return | IWebElement |
public FindElementById ( string id ) : IWebElement | ||
id | string | ID of web element on the page |
return | IWebElement |
public FindElementByLinkText ( string linkText ) : IWebElement | ||
linkText | string | Link text of element |
return | IWebElement |
public FindElementByName ( string name ) : IWebElement | ||
name | string | Name of the element |
return | IWebElement |
public FindElementByPartialLinkText ( string partialLinkText ) : IWebElement | ||
partialLinkText | string | text to be use |
return | IWebElement |
public FindElementByTagName ( string tagName ) : IWebElement | ||
tagName | string | tagName of element on the page |
return | IWebElement |
public FindElementByXPath ( string xpath ) : IWebElement | ||
xpath | string | XPath to the element |
return | IWebElement |
public FindElements ( By by ) : ReadOnlyCollection |
||
by | By | By mechanism |
return | ReadOnlyCollection |
public FindElementsByClassName ( string className ) : ReadOnlyCollection |
||
className | string | CSS Class you wish to find |
return | ReadOnlyCollection |
public FindElementsById ( string id ) : ReadOnlyCollection |
||
id | string | ID of the Element |
return | ReadOnlyCollection |
public FindElementsByLinkText ( string linkText ) : ReadOnlyCollection |
||
linkText | string | Link text of element |
return | ReadOnlyCollection |
public FindElementsByName ( string name ) : ReadOnlyCollection |
||
name | string | Name of element on the page |
return | ReadOnlyCollection |
public FindElementsByPartialLinkText ( string partialLinkText ) : ReadOnlyCollection |
||
partialLinkText | string | Text to search for |
return | ReadOnlyCollection |
public FindElementsByTagName ( string tagName ) : ReadOnlyCollection |
||
tagName | string | tagName of element on the page |
return | ReadOnlyCollection |
public FindElementsByXPath ( string xpath ) : ReadOnlyCollection |
||
xpath | string | XPath to the element |
return | ReadOnlyCollection |
public Finder ( |
||
driver | InternetExplorerDriver in use | |
parent | ElementHandle to for use with the Native methods | |
return | System.Collections.Generic |