Skip to content

Commit 65ac3dc

Browse files
rm random comment (#557)
* idt navid is gonna get to this todo * anotha one * prettier
1 parent 2d9a2fb commit 65ac3dc

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

lib/dom/xpathUtils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export async function generateXPathsForElement(
111111
]);
112112

113113
// This should return in order from most accurate on current page to most cachable.
114-
// Do not change the order if you are not sure what you are doing.
115-
// Contact Navid if you need help understanding it.
116114
return [standardXPath, ...(idBasedXPath ? [idBasedXPath] : []), complexXPath];
117115
}
118116

lib/index.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -688,26 +688,7 @@ export class Stagehand {
688688
(log) => log.id !== logObj.id,
689689
);
690690
})
691-
.catch(() => {
692-
// NAVIDTODO: Rerun the log call on the new page
693-
// This is expected to happen when the user is changing pages
694-
// console.error("Logging Error:", e);
695-
// this.log({
696-
// category: "browserbase",
697-
// message: "error logging to browserbase",
698-
// level: 1,
699-
// auxiliary: {
700-
// trace: {
701-
// value: e.stack,
702-
// type: "string",
703-
// },
704-
// message: {
705-
// value: e.message,
706-
// type: "string",
707-
// },
708-
// },
709-
// });
710-
});
691+
.catch(() => {});
711692
}
712693
}
713694

0 commit comments

Comments
 (0)