Skip to content

Automate browser based workflows with AI

Revert "An element is interactable if it has a click event listener (#1119)" (#313)

Kerem Yilmaz1953874717ab
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js
index d78c888f5..6a332aec3 100644
--- a/skyvern/webeye/scraper/domUtils.js
+++ b/skyvern/webeye/scraper/domUtils.js
@@ -358,8 +358,7 @@ function isInteractable(element) {
if (
element.hasAttribute("onclick") ||
element.isContentEditable ||
- element.hasAttribute("jsaction") ||
- getEventListeners(element).click !== undefined
+ element.hasAttribute("jsaction")
) {
return true;
}