Click or drag to resize
ExtensionsGetSelectedValueFromSelectTagDropDown Method
Gets the selected value from "Select" Tag dropdown

Namespace: SeleniumUtilities
Assembly: SeleniumUtilities (in SeleniumUtilities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string GetSelectedValueFromSelectTagDropDown(
	this IWebElement element,
	string exceptThisString = "Select"
)

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