Skip to content

Commit

Permalink
get_screenshot_as_png() is not abstract (yashaka#177)
Browse files Browse the repository at this point in the history
get_screenshot_as_png() has no @AbstractMethod so no screenshots actually made
  • Loading branch information
ysparrow authored and SergeyPirogov committed Jul 4, 2018
1 parent df212c3 commit 123d614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selene/abctypes/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def get_screenshot_as_file(self, filename):

save_screenshot = get_screenshot_as_file

@abstractmethod
def get_screenshot_as_png(self):
# type: () -> object
# todo: type?
Expand Down

0 comments on commit 123d614

Please sign in to comment.