Skip to content

Automate browser based workflows with AI

Allow p tags in cursor pointer detection (#1217)

Cody Raymente656f1add606
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js
index 7d7725bb0..2d70b43c6 100644
--- a/skyvern/webeye/scraper/domUtils.js
+++ b/skyvern/webeye/scraper/domUtils.js
@@ -672,7 +672,8 @@ function isInteractable(element) {
tagName === "span" ||
tagName === "a" ||
tagName === "i" ||
- tagName === "li"
+ tagName === "li" ||
+ tagName === "p"
) {
const computedStyle = window.getComputedStyle(element);
if (computedStyle.cursor === "pointer") {