ExtensionsGetValuesFromDropDown Method |
Get values from the selected Dropdown
**This extension is not working correctly yet, need to update"
Namespace: SeleniumUtilitiesAssembly: SeleniumUtilities (in SeleniumUtilities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static List<string> GetValuesFromDropDown(
this IList<IWebElement> elementList
)
<ExtensionAttribute>
Public Shared Function GetValuesFromDropDown (
elementList As IList(Of IWebElement)
) As List(Of String)
public:
[ExtensionAttribute]
static List<String^>^ GetValuesFromDropDown(
IList<IWebElement^>^ elementList
)
[<ExtensionAttribute>]
static member GetValuesFromDropDown :
elementList : IList<IWebElement> -> List<string>
Parameters
- elementList
- Type: System.Collections.GenericIListIWebElement
[Missing <param name="elementList"/> documentation for "M:SeleniumUtilities.Extensions.GetValuesFromDropDown(System.Collections.Generic.IList{OpenQA.Selenium.IWebElement})"]
Return Value
Type:
ListString[Missing <returns> documentation for "M:SeleniumUtilities.Extensions.GetValuesFromDropDown(System.Collections.Generic.IList{OpenQA.Selenium.IWebElement})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListIWebElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also