Skip to content

Commit

Permalink
Merge pull request #496 from ksmyshlyaev/fix/deprecation_warning
Browse files Browse the repository at this point in the history
[#495] FIX: fix deprecation warning message
  • Loading branch information
yashaka authored Aug 25, 2023
2 parents 6745530 + 8189819 commit ecf7146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selene/core/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ def last_screenshot(self) -> str:
def save_page_source(self, file: Optional[str] = None) -> Optional[str]:
warnings.warn(
'browser.save_page_source is deprecated, '
'use browser.config.last_screenshot',
'use browser.get(query.page_source_saved())',
DeprecationWarning,
)

Expand Down

0 comments on commit ecf7146

Please sign in to comment.