File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ test.describe("StagehandPage - waitFor", () => {
17
17
expect ( isVisibleBefore ) . toBe ( false ) ;
18
18
19
19
const clickableElement = page . locator (
20
- "div.mt-12 :nth-child(3) > ul:nth-child( 2) > li :nth-child(2 ) > div:nth-child(1)" ,
20
+ "div.not-prose :nth-child(2) > a :nth-child(1 ) > div:nth-child(1)" ,
21
21
) ;
22
22
await clickableElement . click ( ) ;
23
23
@@ -153,7 +153,7 @@ test.describe("StagehandPage - waitFor", () => {
153
153
await page . goto ( "https://docs.browserbase.com" ) ;
154
154
155
155
const quickstartLink = page . locator (
156
- "div.mt-12 :nth-child(3) > ul:nth-child( 2) > li:nth-child(2) > div :nth-child(1) > div:nth-child(1)" ,
156
+ "div.not-prose :nth-child(2) > a :nth-child(1) > div:nth-child(1)" ,
157
157
) ;
158
158
await quickstartLink . click ( ) ;
159
159
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ export const extract_press_releases: EvalFunction = async ({
54
54
publish_date : "Dec 4, 2024" ,
55
55
} ;
56
56
const expectedLastItem : PressRelease = {
57
- title : "Brad Lander for Comptroller " ,
58
- publish_date : "Jun 8, 2021 " ,
57
+ title : "Fox Sued by New York City Pension Funds Over Election Falsehoods " ,
58
+ publish_date : "Nov 12, 2023 " ,
59
59
} ;
60
60
61
61
if ( items . length <= expectedLength ) {
You can’t perform that action at this time.
0 commit comments