Skip to content

Get Value

Type: page-get-value  ·  Package: Browser v1.0.0  ·  Output: string

Reads the value of a form field—a <input>, <select>, or <textarea>—and returns it as text. Use it to check what’s typed in a field, read a prefilled value, or confirm what the bot just typed.

Locates the field by its selector and returns its value property (what the field contains), which is not always the same as its visible text. Save the result in an output variable.

ParameterEditorDescription
selectorselectorThe input/select/textarea field to read.
ParameterEditorDescription
pagesessionThe page session. Omit it inside a body; outside, pass = page.
timeoutnumberMaximum ms to wait for the element. By default 30000.

Returns a string with the field value.

Page Fill selector = (#cantidad) value = "10"
Page Get Value selector = (#cantidad) → output: cantidadActual
If condition = = cantidadActual != "10"
└─ then:
Throw message = "El campo no aceptó el valor esperado"
  • Get Text — visible text for non-field elements.
  • Fill Field — write a value to the field.