Skip to content

Automate browser based workflows with AI

add shadow host element into interactable detecting list (#2124)

Shuchang Zheng7e81386b63e8
diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js
index 1d0c45ae4..6e0a782a0 100644
--- a/skyvern/webeye/scraper/domUtils.js
+++ b/skyvern/webeye/scraper/domUtils.js
@@ -590,9 +590,6 @@ function isValidCSSSelector(selector) {
}
function isInteractable(element, hoverStylesMap) {
- if (element.shadowRoot) {
- return false;
- }
if (!isElementVisible(element)) {
return false;
}