MCPcopy Create free account
hub / github.com/InverseUI/InverseUI-Recorder / init

Method init

modules/action/events/input.js:37–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 init() {
38 // Essential form events for Selenium automation
39 document.addEventListener('input', this.handleInput.bind(this), true);
40 document.addEventListener('change', this.handleChange.bind(this), true);
41 document.addEventListener('select', this.handleSelect.bind(this), true);
42 document.addEventListener('focus', this.handleFocus.bind(this), true);
43
44 // Form submission events
45 document.addEventListener('submit', this.handleSubmit.bind(this), true);
46 document.addEventListener('reset', this.handleReset.bind(this), true);
47
48 // Form validation events
49 document.addEventListener('invalid', this.handleInvalid.bind(this), true);
50 }
51
52 /**
53 * Handle focus events - record for dropdown correlation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected