ExtensionsGetSelectedValueFromSelectTagDropDown Method |
Gets the selected value from "Select" Tag dropdown
Namespace: SeleniumUtilitiesAssembly: SeleniumUtilities (in SeleniumUtilities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GetSelectedValueFromSelectTagDropDown(
this IWebElement element,
string exceptThisString = "Select"
)
<ExtensionAttribute>
Public Shared Function GetSelectedValueFromSelectTagDropDown (
element As IWebElement,
Optional exceptThisString As String = "Select"
) As String
public:
[ExtensionAttribute]
static String^ GetSelectedValueFromSelectTagDropDown(
IWebElement^ element,
String^ exceptThisString = L"Select"
)
[<ExtensionAttribute>]
static member GetSelectedValueFromSelectTagDropDown :
element : IWebElement *
?exceptThisString : string
(* Defaults:
let _exceptThisString = defaultArg exceptThisString "Select"
*)
-> string
Parameters
- element
- Type: IWebElement
[Missing <param name="element"/> documentation for "M:SeleniumUtilities.Extensions.GetSelectedValueFromSelectTagDropDown(OpenQA.Selenium.IWebElement,System.String)"]
- exceptThisString (Optional)
- Type: SystemString
[Missing <param name="exceptThisString"/> documentation for "M:SeleniumUtilities.Extensions.GetSelectedValueFromSelectTagDropDown(OpenQA.Selenium.IWebElement,System.String)"]
Return Value
Type:
String[Missing <returns> documentation for "M:SeleniumUtilities.Extensions.GetSelectedValueFromSelectTagDropDown(OpenQA.Selenium.IWebElement,System.String)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IWebElement. 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