diff --git a/skyvern/webeye/scraper/domUtils.js b/skyvern/webeye/scraper/domUtils.js index bc60f77c..5ba5bc4c 100644 --- a/skyvern/webeye/scraper/domUtils.js +++ b/skyvern/webeye/scraper/domUtils.js @@ -938,7 +938,8 @@ function buildElementObject(frame, element, interactable, purgeable = false) { attr.name === "selected" || attr.name === "aria-selected" || attr.name === "readonly" || - attr.name === "aria-readonly" + attr.name === "aria-readonly" || + attr.name === "disabled" ) { if (attrValue && attrValue.toLowerCase() === "false") { attrValue = false; diff --git a/skyvern/webeye/scraper/scraper.py b/skyvern/webeye/scraper/scraper.py index c142da1f..85fa31f2 100644 --- a/skyvern/webeye/scraper/scraper.py +++ b/skyvern/webeye/scraper/scraper.py @@ -30,6 +30,7 @@ RESERVED_ATTRIBUTES = { "checked", "data-original-title", # for bootstrap tooltip "data-ui", + "disabled", # for button "for", "href", # For a tags "maxlength",