The browser instance open and a couple of minutes after I have this error message:
Traceback (most recent call last): File "C:\Users\cassio.nandi\Desktop\splinter\exemplo.py", line 6, in <module> browser.visit(url) File "C:\Python27\lib\site-packages\splinter\driver\webdriver\__init__.py", line 66, in visit self.connect(url) File "C:\Python27\lib\site-packages\splinter\request_handler\request_handler.py", line 11, in connect self._create_connection() File "C:\Python27\lib\site-packages\splinter\request_handler\request_handler.py", line 34, in _create_connection self.conn.request('GET', self.path) File "C:\Python27\lib\httplib.py", line 955, in request self._send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 989, in _send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 951, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 811, in _send_output self.send(msg) File "C:\Python27\lib\httplib.py", line 773, in send self.connect() File "C:\Python27\lib\httplib.py", line 754, in connect self.timeout, self.source_address) File "C:\Python27\lib\socket.py", line 571, in create_connection raise err error: [Errno 10060] Uma tentativa de conexão falhou porque o componente conectado não respondeucorretamente após um período de tempo ou a conexão estabelecida falhouporque o host conectado não respondeu
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to splinte...@googlegroups.com
Splinter visit command is different then get for selenium by the way.
It would be helpful if someone who understand the two tools say what is going on.
Francisco Souza
unread,
Nov 10, 2011, 1:02:07 PM11/10/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to splinte...@googlegroups.com
On Thu, Nov 10, 2011 at 3:52 PM, Cássio Nandi Citadin <cassi...@gmail.com> wrote:
Splinter visit command is different then get for selenium by the way.
It would be helpful if someone who understand the two tools say what is going on.
Splinter uses httplib to check the status of the response before actually execute Selenium's get method, and this call doesn't work with proxy. We shall add proxy configuration on splinter itself, so splinter can use information about proxy to also proxy the httplib error checking.
I'm attaching this info to the issue #120 [1]. I can't fix it in the next days, but I hope someone will find a time and work on it :)