Get Text

Last modified: June 18, 2025

Description

Returns the text value inside a WebElement.

Usage

Pass the WebElement you want to get the text value from.

Input Parameters

NameDatatypeRequiredDescription
Web ElementWebElementyesThe WebElement you want to get the text value from.

Return Value

NameDatatypeDescription
ValueStringThe current value of the WebElement.