Menu

It Wrote a Form and Filled It
📰

It Wrote a Form and Filled It

DEV Community: python·Savindu Thathsara·2 days ago
#Q4rlseWE
#devtopython#devto#dev#form#html
Reading 0:00
15s threshold

It Wrote a Form and Filled It

The sentence was “create an html form and fill it”. Forty-nine seconds later the browser showed two filled boxes.

Savindu Thathsara, savithathsara.me . This is a Hearthlen note from the ThinkPad, still offline, still the 360M model.

What the sentence produced

The agent opened FeatherPad, typed a form, saved it, opened that file in Chromium, and typed into both fields. The clock for the whole run was 48881 ms .

The saved file, /home/savindu/one-2.html , is one line:

<form> <input name= goaltype > <input name= goaltype ></form>

Enter fullscreen mode

Exit fullscreen mode

The address bar read file:///home/savindu/one-2.html . Both inputs contained onehtmlfile . The window title was one-2.html - Chromium .

The model chose the field name and the value. The grammar only allowed a form with two inputs, a new .html name, and a short word in each box. Without that fence the same sentence failed twice. The first save began with the instruction itself.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.