Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3035008ac041659a08e4 to your computer and use it in GitHub Desktop.
Save anonymous/3035008ac041659a08e4 to your computer and use it in GitHub Desktop.
$ python webdriver-test.py /Users/RichDownie/Library/Developer/Xcode/DerivedData/TestApp-eggvuccfzymyykgshtykebsppkpe/Build/Products/Debug-iphonesimulator/TestApp.app
connecting to web driver @ http://localhost:4723/wd/hub
Traceback (most recent call last):
File "webdriver-test.py", line 31, in <module>
driver = webdriver.Remote(command_url, iphone)
File "/Library/Python/2.7/site-packages/selenium-2.28.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 64, in __init__
self.start_session(desired_capabilities, browser_profile)
File "/Library/Python/2.7/site-packages/selenium-2.28.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 106, in start_session
'desiredCapabilities': desired_capabilities,
File "/Library/Python/2.7/site-packages/selenium-2.28.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 155, in execute
response = self.command_executor.execute(driver_command, params)
File "/Library/Python/2.7/site-packages/selenium-2.28.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 339, in execute
return self._request(url, method=command_info[0], data=data)
File "/Library/Python/2.7/site-packages/selenium-2.28.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 381, in _request
response = opener.open(request)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 61] Connection refused>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment