Skip to content

Commit

Permalink
[py] Correct deprecation message for FirefoxProfile passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Nov 13, 2020
1 parent 04a7dc1 commit 186b587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self, firefox_profile=None, firefox_binary=None,
DeprecationWarning, stacklevel=2)
self.binary = None
if firefox_profile is not None:
warnings.warn('firefox_profile has been deprecated, please pass in a Service object',
warnings.warn('firefox_profile has been deprecated, please pass in an Options object',
DeprecationWarning, stacklevel=2)
self.profile = None

Expand Down

0 comments on commit 186b587

Please sign in to comment.