Skip to content

Commit c782334

Browse files
committed
fix: removing encode utf8 in get_pdf_base64
1 parent e2858cd commit c782334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydoll/browser/page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async def get_pdf_base64(self):
174174
str: The PDF data of the page.
175175
"""
176176
response = await self._execute_command(PageCommands.print_to_pdf())
177-
return response['result']['data'].encode('utf-8')
177+
return response['result']['data']
178178

179179
async def print_to_pdf(self, path: str):
180180
"""

0 commit comments

Comments
 (0)