@@ -60,7 +60,7 @@ def __init__(self, executable_path='IEDriverServer.exe', capabilities=None,
60
60
warnings .warn ('executable_path has been deprecated, please pass in a Service object' ,
61
61
DeprecationWarning , stacklevel = 2 )
62
62
if capabilities :
63
- warnings .warn ('capabilities has been deprecated, please pass in a Service object' ,
63
+ warnings .warn ('capabilities has been deprecated, please pass in a Options object' ,
64
64
DeprecationWarning , stacklevel = 2 )
65
65
if port != DEFAULT_PORT :
66
66
warnings .warn ('port has been deprecated, please pass in a Service object' ,
@@ -78,7 +78,7 @@ def __init__(self, executable_path='IEDriverServer.exe', capabilities=None,
78
78
warnings .warn ('service_log_path has been deprecated, please pass in a Service object' ,
79
79
DeprecationWarning , stacklevel = 2 )
80
80
if desired_capabilities :
81
- warnings .warn ('desired_capabilities has been deprecated, please pass in a Service object' ,
81
+ warnings .warn ('desired_capabilities has been deprecated, please pass in an Options object' ,
82
82
DeprecationWarning , stacklevel = 2 )
83
83
if keep_alive != DEFAULT_KEEP_ALIVE :
84
84
warnings .warn ('keep_alive has been deprecated, please pass in a Service object' ,
0 commit comments