Skip to content

Commit 7de694a

Browse files
authored
fix(goto): keep search params in URL (#46)
1 parent ee3b3ec commit 7de694a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/page/utils/goto.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const goto = async (page: Page, url: string, originalFn: typeof page.goto
1616
// They tested this number and found it to be a reliable timeout for the Stencil components to be hydrated.
1717
timeout: 4750,
1818
}),
19-
originalFn(url.split('?')[0], options),
19+
originalFn(url, options),
2020
]);
2121

2222
return result[1];

0 commit comments

Comments
 (0)