SOM.js (Set of Mark) is an open-source JavaScript library designed to identify and analyze interactive elements on a web page. It provides developers with an easy-to-use API to detect buttons, links, input fields, and other actionable elements, making it ideal for accessibility audits, automated testing, and user interaction tracking.
✅ Detects interactive elements such as buttons, links, inputs, and more
✅ Provides structured data on detected elements
✅ Lightweight and fast, with no external dependencies
✅ Compatible with modern browsers and frameworks
npm install @smartesting/som
import '@smartesting/som'
const marks = window.markPage(false)
console.log(marks)
Contributions are welcome! Feel free to open issues, suggest features, or submit pull requests.
📌 GitHub Repo: github.com/Smartesting/som 📜 Licensed under MIT