Skip to content

Commit 186b587

Browse files
[py] Correct deprecation message for FirefoxProfile passed in
1 parent 04a7dc1 commit 186b587

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/selenium/webdriver/firefox/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(self, firefox_profile=None, firefox_binary=None,
111111
DeprecationWarning, stacklevel=2)
112112
self.binary = None
113113
if firefox_profile is not None:
114-
warnings.warn('firefox_profile has been deprecated, please pass in a Service object',
114+
warnings.warn('firefox_profile has been deprecated, please pass in an Options object',
115115
DeprecationWarning, stacklevel=2)
116116
self.profile = None
117117

0 commit comments

Comments
 (0)