We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705d8d6 commit 737b4b2Copy full SHA for 737b4b2
.changeset/rotten-pumpkins-share.md
@@ -0,0 +1,5 @@
1
+---
2
+"@browserbasehq/stagehand": patch
3
4
+
5
+remove topMostElement check when verifying visibility of text nodes
lib/dom/process.ts
@@ -532,9 +532,6 @@ const isTextVisible = (element: ChildNode) => {
532
if (!parent) {
533
return false;
534
}
535
- if (!isTopElement(parent, rect)) {
536
- return false;
537
- }
538
539
const visible = parent.checkVisibility({
540
checkOpacity: true,
0 commit comments