Here is the console output:
Error
Traceback (most recent call last):
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py”, line 331, in run
testMethod()
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/AndroidTest.py”, line 34, in test_login
element = self.driver.find_element_by_xpath(’//*[contains(@content-desc,“Email”)]’).send_keys(“Test”)
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py”, line 385, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py”, line 955, in find_element
’value’: value})[‘value’]
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py”, line 310, in execute
response = self.command_executor.execute(driver_command, params)
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/venv/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py”, line 466, in execute
return self._request(command_info[0], url, body=data)
File “/Users/stevenrutherford/PycharmProjects/FoodLogiQ_Android/venv/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py”, line 528, in _request
resp = opener.open(request, timeout=self._timeout)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 431, in open
response = self._open(req, data)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 449, in _open
’_open’, req)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py”, line 1227, 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 1200, in do_open
r = h.getresponse(buffering=True)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 1132, in getresponse
response.begin()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 453, in begin
version, status, reason = self._read_status()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 417, in _read_status
raise BadStatusLine(line)
BadStatusLine: ’