Skip to content

Select Option

Type: page-select  ·  Package: Browser v1.0.0

Choose an option from an HTML drop-down list (<select>). You can select by internal value, by visible label or by index (position). Also supports multiple selection.

Locate <select> by its selector and choose the option that matches value. Zoan Automation attempts to interpret value as the option’s value, its visible text, or its index (starting at 0).

ParameterEditorDescription
selectorselectorThe <select> element.
valueexpressionValue, label or index (base 0) of the option. For multiple, pass an array expression.
ParameterEditorDescription
pagesessionThe page session. Omit it inside a body; outside, pass = page.
timeoutnumberMaximum in ms to wait. By default 30000.
Page Select selector = (#pais) value = "Colombia" // por etiqueta visible
Page Select selector = (#pais) value = "CO" // por valor interno
Page Select selector = (#pais) value = 0 // por índice (primera opción)
Page Select selector = (#temas) value = = arr("RPA", "IA") // selección múltiple
  • Click — for non-native dropdowns (made with div/JS).
  • Get Value — read the currently selected option.