Skip to main content

Get Text from a Web Input

Web inputs commonly use <input>, <textarea>, or <div contenteditable> elements. The property that contains the entered text depends on the element type.

First obtain a web element with Get Web Element, Get Similar Web Elements, or Get Related Web Elements. Then use the Get Property command to read the appropriate property.

input and textarea elements​

You can read the entered text in the following ways:

  1. Select the element's value field.

  2. Read properties["value"] with a Python expression.

  3. Use Get Property and specify the value property.

contenteditable elements​

Select the element's innerText field.

tip

Requires browser extension version 2.1.0 or later.

Requires Runavelo 7.6.0 or later.