Skip to content

Commit ce88314

Browse files
authored
[py] fix typing in get_full_page_screenshot_as_png (#11163)
1 parent 4b786a1 commit ce88314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/firefox/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def save_full_page_screenshot(self, filename) -> bool:
336336
"""
337337
return self.get_full_page_screenshot_as_file(filename)
338338

339-
def get_full_page_screenshot_as_png(self) -> str:
339+
def get_full_page_screenshot_as_png(self) -> bytes:
340340
"""
341341
Gets the full document screenshot of the current window as a binary data.
342342

0 commit comments

Comments
 (0)