@puberty-labs/clits
Version:
CLiTS (Chrome Logging and Inspection Tool Suite) is a powerful Node.js library for AI-controlled Chrome browser automation, testing, and inspection. Features enhanced CSS selector support (:contains(), XPath), dry-run mode, element discovery tools, and co
8 lines (7 loc) • 306 B
JavaScript
// BSD: Injects a script into the browser context to monitor common user interaction events (clicks, key presses, input changes) and report their details via console logs.
export const USER_INTERACTION_MONITOR_SCRIPT = `
(function() {
document.addEventListener('click', (event) => {
}, true);
})();
`;