DriverUtilitiesGetAllItemsToStringList Method |
This method is used to get a list of "Text" values for items in IWebelement list
Namespace: SeleniumUtilitiesAssembly: SeleniumUtilities (in SeleniumUtilities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static List<string> GetAllItemsToStringList(
List<IWebElement> allElements,
string textFromWhereToTrim = "AmolDakhane"
)
Public Shared Function GetAllItemsToStringList (
allElements As List(Of IWebElement),
Optional textFromWhereToTrim As String = "AmolDakhane"
) As List(Of String)
public:
static List<String^>^ GetAllItemsToStringList(
List<IWebElement^>^ allElements,
String^ textFromWhereToTrim = L"AmolDakhane"
)
static member GetAllItemsToStringList :
allElements : List<IWebElement> *
?textFromWhereToTrim : string
(* Defaults:
let _textFromWhereToTrim = defaultArg textFromWhereToTrim "AmolDakhane"
*)
-> List<string>
Parameters
- allElements
- Type: System.Collections.GenericListIWebElement
[Missing <param name="allElements"/> documentation for "M:SeleniumUtilities.DriverUtilities.GetAllItemsToStringList(System.Collections.Generic.List{OpenQA.Selenium.IWebElement},System.String)"]
- textFromWhereToTrim (Optional)
- Type: SystemString
[Missing <param name="textFromWhereToTrim"/> documentation for "M:SeleniumUtilities.DriverUtilities.GetAllItemsToStringList(System.Collections.Generic.List{OpenQA.Selenium.IWebElement},System.String)"]
Return Value
Type:
ListString[Missing <returns> documentation for "M:SeleniumUtilities.DriverUtilities.GetAllItemsToStringList(System.Collections.Generic.List{OpenQA.Selenium.IWebElement},System.String)"]
See Also