Skip to content

Commit 7a84581

Browse files
committed
add custom locator engine & shadow dom traversal logic
1 parent 5ffcfb7 commit 7a84581

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/StagehandPage.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import type { CDPSession, Page as PlaywrightPage, Frame } from "playwright";
1+
import type {
2+
CDPSession,
3+
Page as PlaywrightPage,
4+
Frame,
5+
ElementHandle,
6+
} from "playwright";
27
import { selectors } from "playwright";
38
import { z } from "zod/v3";
49
import { Page, defaultExtractSchema } from "../types/page";

0 commit comments

Comments
 (0)