Skip to content

Commit ae16ec5

Browse files
committed
fix: remove unnecessary encoding from screenshot response data
1 parent b9a8844 commit ae16ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydoll/browser/page.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ async def get_screenshot_base64(self):
256256
# TODO: remove the duplicated logic
257257
"""
258258
response = await self._execute_command(PageCommands.screenshot())
259-
return response['result']['data'].encode('utf-8')
259+
return response['result']['data']
260260

261261
async def set_download_path(self, path: str):
262262
"""

0 commit comments

Comments
 (0)