Skip to content

Commit 3d0f2c9

Browse files
authored
fix 'Page' object has no attribute 'querySelector' (#4)
1 parent d118968 commit 3d0f2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
)
3535
))
3636

37-
vrt.trackElementHandle(page.querySelector(".search-the-site"), "Search form", ElementHandleTrackOptions(
37+
vrt.trackElementHandle(page.query_selector(".search-the-site"), "Search form", ElementHandleTrackOptions(
3838
diffTollerancePercent=1.34,
3939
ignoreAreas=[
4040
IgnoreArea(

0 commit comments

Comments
 (0)