Skip to main content

SelectDropdownByText

This activity changes the selected value of a dropdown (select element) on a web page based on the provided text. It operates on the specified page and targets the select element using the given selector.

Core Functions

  • Locates a select (dropdown) element using the provided selector.
  • Changes the selected option based on visible text.
  • Executes the selection change on the specified page.

Inputs

  • Page: The web page instance where the select element is located.

  • Type: Object

  • Selector: A selector used to identify the select (dropdown) element.

  • Type: String

  • Text: The visible text of the option to be selected.

  • Type: String

Outputs

  • Output: This activity does not return a direct output value.
  • Type: None

Short Technical Summary

Selects a dropdown option by visible text on a specified page using the provided selector.