Skip to content

Commit d3bae0e

Browse files
committed
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?
1 parent 18f77ac commit d3bae0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: py/selenium/webdriver/firefox/extension_connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def connect_and_quit(self):
7272
@classmethod
7373
def is_connectable(self):
7474
"""Trys to connect to the extension but do not retrieve context."""
75-
utils.is_connectable(self.port)
75+
utils.is_connectable(self.profile.port)
7676

7777
class ExtensionConnectionError(Exception):
7878
"""An internal error occurred int the extension.

0 commit comments

Comments
 (0)