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 e2858cd commit c782334Copy full SHA for c782334
pydoll/browser/page.py
@@ -174,7 +174,7 @@ async def get_pdf_base64(self):
174
str: The PDF data of the page.
175
"""
176
response = await self._execute_command(PageCommands.print_to_pdf())
177
- return response['result']['data'].encode('utf-8')
+ return response['result']['data']
178
179
async def print_to_pdf(self, path: str):
180
0 commit comments