Skip to main content
Reads a value from the page and writes it to the test’s env map. When schema is set, the returned value must validate against it or the step fails. Set iframe to read a value from a specific iframe. With browser.autoExpandIframes enabled, the step also reads values inside iframes without an iframe target.

Parameters

Shorthand

Pair with saveAs to capture the value into env.

Examples