Skip to content

Commit

Permalink
py, firefox: use right port when testing if extension can be connecte…
Browse files Browse the repository at this point in the history
…d to.

I didn't find Python unit testing support in crazy-fun-build, is there?
  • Loading branch information
sevaseva committed Apr 10, 2015
1 parent 18f77ac commit d3bae0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/firefox/extension_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d3bae0e

Please sign in to comment.