Get Selected Option Value
Last modified: May 15, 2023
1 Description
Returns the value of the currently selected item of a WebElement, for example, select
2 Usage
Pass the parent WebElement of which you want to get the currently selected option’s value from.
3 Input Parameters
Name | Datatype | Required | Description |
---|---|---|---|
Select Element | WebElement | yes | The parent WebElement, for example, select |
4 Return Value
Name | Datatype | Description |
---|---|---|
Selected Option Value | String | The value of the currently selected WebElement |
Feedback
Was this page helpful?
Glad to hear it! Thank you for your response.
Sorry to hear that. Please tell us how we can improve.