We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec97ccf commit e78eddcCopy full SHA for e78eddc
pydoll/browser/base.py
@@ -120,6 +120,16 @@ async def start(self) -> None:
120
][0]['targetId']
121
self._pages.append(valid_page)
122
123
+ async def set_download_path(self, path: str):
124
+ """
125
+ Sets the download path for the browser.
126
+ Args:
127
+ path (str): The path to the download directory.
128
129
+ await self._execute_command(
130
+ BrowserCommands.set_download_path(path)
131
+ )
132
+
133
async def get_page(self) -> Page:
134
"""
135
Retrieves a Page instance for an existing page in the browser.
0 commit comments