----> 1 ff.set_window_size(1000, 1000)
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.pyc in set_window_size(self, width, height, windowHandle)
834 command = Command.W3C_SET_WINDOW_SIZE
835 self.execute(command, {'width': int(width), 'height': int(height),
--> 836 'windowHandle': windowHandle})
837
838 def get_window_size(self, windowHandle='current'):
/usr/local/lib/python2.7/site-packages/Selenium2Library/webdrivermonkeypatches.pyc in execute(self, driver_command, params)
9
10 def execute(self, driver_command, params=None):
---> 11 result = self._base_execute(driver_command, params)
12 speed = self._get_speed()
13 if speed > 0:
/Users/dm08/projects/zeus/aphrodite/src/AphroditeLibrary/webdrivermonkeypatches.pyc in execute(self, driver_command, params)
22 time.sleep(1)
23
---> 24 return self._base_execute2(driver_command, params)
25
26 def is_page_loading(self):
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.pyc in execute(self, driver_command, params)
229
230 params = self._wrap_value(params)
--> 231 response = self.command_executor.execute(driver_command, params)
232 if response:
233 self.error_handler.check_response(response)
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.pyc in execute(self, command, params)
393 path = string.Template(command_info[1]).substitute(params)
394 url = '%s%s' % (self._url, path)
--> 395 return self._request(command_info[0], url, body=data)
396
397 def _request(self, method, url, body=None):
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.pyc in _request(self, method, url, body)
424 try:
425 self._conn.request(method, parsed_url.path, body, headers)
--> 426 resp = self._conn.getresponse()
427 except (httplib.HTTPException, socket.error):
428 self._conn.close()
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in getresponse(self, buffering)
1130
1131 try:
-> 1132 response.begin()
1133 assert response.will_close != _UNKNOWN
1134 self.__state = _CS_IDLE
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in begin(self)
451 # read until we get a non-100 response
452 while True:
--> 453 version, status, reason = self._read_status()
454 if status != CONTINUE:
455 break
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in _read_status(self)
407 def _read_status(self):
408 # Initialize with Simple-Response defaults
--> 409 line = self.fp.readline(_MAXLINE + 1)
410 if len(line) > _MAXLINE:
411 raise LineTooLong("header line")
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.pyc in readline(self, size)
478 while True:
479 try:
--> 480 data = self._sock.recv(self._rbufsize)
481 except error, e:
482 if e.args[0] == EINTR:
error: [Errno 54] Connection reset by peer
In [18]: ff.set_window_size(1000, 1000)
In [19]: ff.set_window_size(1000, 1000)
---------------------------------------------------------------------------
error Traceback (most recent call last)
<ipython-input-19-c6fe6880f545> in <module>()
----> 1 ff.set_window_size(1000, 1000)
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.pyc in set_window_size(self, width, height, windowHandle)
834 command = Command.W3C_SET_WINDOW_SIZE
835 self.execute(command, {'width': int(width), 'height': int(height),
--> 836 'windowHandle': windowHandle})
837
838 def get_window_size(self, windowHandle='current'):
/usr/local/lib/python2.7/site-packages/Selenium2Library/webdrivermonkeypatches.pyc in execute(self, driver_command, params)
9
10 def execute(self, driver_command, params=None):
---> 11 result = self._base_execute(driver_command, params)
12 speed = self._get_speed()
13 if speed > 0:
/Users/dm08/projects/zeus/aphrodite/src/AphroditeLibrary/webdrivermonkeypatches.pyc in execute(self, driver_command, params)
22 time.sleep(1)
23
---> 24 return self._base_execute2(driver_command, params)
25
26 def is_page_loading(self):
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.pyc in execute(self, driver_command, params)
229
230 params = self._wrap_value(params)
--> 231 response = self.command_executor.execute(driver_command, params)
232 if response:
233 self.error_handler.check_response(response)
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.pyc in execute(self, command, params)
393 path = string.Template(command_info[1]).substitute(params)
394 url = '%s%s' % (self._url, path)
--> 395 return self._request(command_info[0], url, body=data)
396
397 def _request(self, method, url, body=None):
/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.pyc in _request(self, method, url, body)
424 try:
425 self._conn.request(method, parsed_url.path, body, headers)
--> 426 resp = self._conn.getresponse()
427 except (httplib.HTTPException, socket.error):
428 self._conn.close()
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in getresponse(self, buffering)
1130
1131 try:
-> 1132 response.begin()
1133 assert response.will_close != _UNKNOWN
1134 self.__state = _CS_IDLE
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in begin(self)
451 # read until we get a non-100 response
452 while True:
--> 453 version, status, reason = self._read_status()
454 if status != CONTINUE:
455 break
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.pyc in _read_status(self)
407 def _read_status(self):
408 # Initialize with Simple-Response defaults
--> 409 line = self.fp.readline(_MAXLINE + 1)
410 if len(line) > _MAXLINE:
411 raise LineTooLong("header line")
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.pyc in readline(self, size)
478 while True:
479 try:
--> 480 data = self._sock.recv(self._rbufsize)
481 except error, e:
482 if e.args[0] == EINTR:
error: [Errno 54] Connection reset by peer