From d3bae0ec4448200f61280f5595ec49eb58c90a2e Mon Sep 17 00:00:00 2001 From: Seva Lotoshnikov Date: Thu, 9 Apr 2015 17:58:00 -0700 Subject: [PATCH] py, firefox: use right port when testing if extension can be connected to. I didn't find Python unit testing support in crazy-fun-build, is there? --- py/selenium/webdriver/firefox/extension_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/selenium/webdriver/firefox/extension_connection.py b/py/selenium/webdriver/firefox/extension_connection.py index df2cbeb4109d6..c3b8e4d2a4723 100644 --- a/py/selenium/webdriver/firefox/extension_connection.py +++ b/py/selenium/webdriver/firefox/extension_connection.py @@ -72,7 +72,7 @@ def connect_and_quit(self): @classmethod def is_connectable(self): """Trys to connect to the extension but do not retrieve context.""" - utils.is_connectable(self.port) + utils.is_connectable(self.profile.port) class ExtensionConnectionError(Exception): """An internal error occurred int the extension.