Get Selected Option Text

1 minute to read Download PDF Edit

Description

Returns the text of the currently selected item of a WebElement, e.g. select

Usage

Pass the parent WebElement of which you want to get the currently selected option’s text from.

Input Parameters

Name Datatype Required Description
Select Element WebElement yes The parent WebElement, e.g. select

Return Value

Name Datatype Description
Selected Option Text String The text of the currently selected WebElement

Copyright © Mendix. All rights reserved. | Mendix.com | Terms of Use | Privacy Policy