Skip to content

Commit 606ca32

Browse files
committed
fix: add page reload after navigating to a new URL in Page class
1 parent 8b44de3 commit 606ca32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pydoll/browser/page.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ async def go_to(self, url: str, timeout=300):
137137
await self._execute_command(
138138
RuntimeCommands.evaluate_script(
139139
f'window.location.assign("{url}");'
140+
'window.location.reload(true);'
140141
)
141142
)
142143
try:

0 commit comments

Comments
 (0)