Forms

Fields and buttons for fill, type, select, check and click. Values are echoed to the event log as they change.

FRM-01Text field

Fill or type into the name field, then press Save.

ExpectThe log shows FRM-01 saved name=<your text>. Unicode is kept as typed.

FRM-02Password field

A protected field. The agent refuses it unless the browser has approved this operator for unattended use.

ExpectWithout unattended approval: unattended_required. With it: the log shows FRM-02 length=<n> (the value itself is never logged).

FRM-03Select

Choose an option by value (oak) or by its label (Oak).

ExpectFRM-03 tree=oak.

FRM-04Checkbox and radio

Check the terms box, then pick a plan. Unchecking a radio is not possible and should be refused.

ExpectFRM-04 terms=true, FRM-04 plan=team.

Plan

FRM-05Textarea and contenteditable

Type several lines, then press Tab to move focus away.

ExpectFRM-05 notes chars=<n> and FRM-05 editor chars=<n> when each loses focus.

Edit me

FRM-06Read-only and disabled

Filling the read-only field and clicking the disabled button must not change anything.

ExpectThe agent reports an error (unsupported or timeout); nothing is logged for FRM-06.

FRM-07Two buttons with the same name

A locator for role=button, name=Copy link matches both. Use nth to choose.

ExpectWithout nth: ambiguous. With nth: 1: FRM-07 copied link 2.

FRM-08Covered button

A striped layer sits on top of the button, so a real click would hit the layer.

ExpectThe agent refuses the click (it fails the hit test); FRM-08 clicked never appears.

FRM-09Submit a form

Submitting stays on this page and logs the fields.

ExpectFRM-09 submitted email=<value> size=<value>.