Autofill

Practice

Enter the shown rules in Autofill, save, and reload. Use fictional data; nothing is submitted.

01 / Input types

PracticeRule
Type
text
Signature
input[id="sample-text"]
Type
text
Signature
textarea[id="sample-multiline"]
Type
text
Signature
input[id="search"][type="search"]
Type
text
Signature
input[id="password"][type="password"]
Type
text
Signature
input[id="quantity"][type="number"]

02 / Pickers, selections & OTP

PracticeRule
Type
text
Signature
input[id="start-date"][type="date"]
Type
text
Signature
input[id="month"][type="month"]
Type
text
Signature
input[id="week"][type="week"]
Type
text
Signature
input[id="time"][type="time"]
Type
text
Signature
input[id="datetime"][type="datetime-local"]
Type
text
Signature
input[id="color"][type="color"]
Type
text
Signature
input[id="range"][type="range"]
Type
text
Signature
select[id="country"]
Type
multiselect
Signature
select[id="interests"]
Radio buttons
Type
radioGroup
Signature
input[type="radio"][name="contact_method"]
Checkboxes
Type
checkGroup
Signature
input[type="checkbox"][name="topics"]
OTP
Type
otpGroup
Signature
div[id="otp"]
Type
ariaSelect
Signature
button[id="aria-city"][role="combobox"]
Type
ariaSelect
Signature
input[id="aria-search"][role="combobox"]

03 / Editable text, advanced fields & boundaries

PracticeRule
Type
text
Signature
input[id="readonly"]
Type
text
Signature
input[id="placeholder-target"]
Modifier
placeholder
Type
text
Signature
div[id="editable"][role="textbox"]
Text content

example

Type
text
Signature
p[id="text-target"]

Linked hidden value: Empty

Type
text
Signature
input[id="linked-visible"]
Type
text
Signature
practice-shadow[id="open-shadow"] >>> input[name="shadow-input"]
Type
text
Signature
practice-shadow[id="closed-shadow"] >>> input[name="shadow-input"]
Type
text
Signature
input[id="late-field"]
Type
click
Signature
button[id="insert-field"][type="button"]
URL: practice/frame.html
Type
text
Signature
input[id="frame-name"]
Document: about:srcdoc
Type
text
Signature
input[id="srcdoc-name"]
Type
text
Signature
input[id="disabled-input"]

04 / Click actions

PracticeRule
Type
click
Signature
button[id="click-target"][type="button"]
Type
click
Signature
a[id="click-link"]
Expand details

A click rule can open this disclosure.

Type
click
Signature
summary
Type
click
Signature
button[id="role-tab"][type="button"][role="tab"]

05 / Libraries & widgets

Loading libraries…

Select & tag widgets

PracticeRule
Type
bootstrapSelect
Signature
select[id="bootstrap"]
Type
select2
Signature
select[id="select2"]
Type
tomSelect
Signature
select[id="tom-select"]
Type
chosen
Signature
select[id="chosen"]
Type
tomSelect
Signature
input[id="tom-input"]
Type
tagify
Signature
input[id="tags"]

Date & color widgets

PracticeRule
Type
text
Signature
input[id="flatpickr"][type="text"]
Type
text
Signature
input[id="jquery-date"]
Type
text
Signature
input[id="jscolor-input"]
Type
text
Signature
input[id="coloris"]

Editors

PracticeRule
Quill
ProseMirror
Lexical
Draft.js
Slate
TinyMCE
React controlled input