summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 77d42a659d8..d3103683b13 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -2750,7 +2750,7 @@ class BrowserProcessController(RemoteProcessController):
capabilities = webdriver.DesiredCapabilities.INTERNETEXPLORER.copy()
capabilities["ie.ensureCleanSession"] = True
self.driver = webdriver.Ie(capabilities=capabilities)
- elif driver == "Safari" and port > 0:
+ elif driver == "Safari" and int(port) > 0:
self.driver = webdriver.Safari(port=int(port), reuse_service=True)
else:
self.driver = getattr(webdriver, driver)()