[py] Correct service usage in IE Binding. Fixes
@@ -89,8 +89,9 @@ class WebDriver(RemoteWebDriver):
else:
# desired_capabilities stays as passed in
capabilities.update(options.to_capabilities())
- if service is None:
- service = Service()
+ if service is not None:
+ self.iedriver = service
+ else:
self.iedriver = Service(
executable_path,
port=self.port,
