You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
Just install ruby 1.9.3 and latest watir-webdriver, selenium-webdriver 2.22.0
when I start the browser by using:
ie=Watir::Browser.new:ie
The error returns are as follows:
Started InternetExplorerDriver server (32-bit)
2.24.1.0
Listening on port 5555
Selenium::WebDriver::Error::WebDriverError: unexpected response, code=503, conte
nt-type="text/html"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859
-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,san
s-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://127.0.0.1:5555/session">http://127.0.0.1:5555/session</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Connection to 127.0.0.1 Failed
</STRONG>
</UL>
<P>
The system returned:
<PRE><I> (111) Connection refused</I></PRE>
<P>
The remote host or network may be down. Please try the request again.
<P>Your cache administrator is <A HREF="mailto:mgeddes@autonomy.com">mgeddes@aut
onomy.com</A>.
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/http/common.rb:66:in `create_response'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/http/default.rb:59:in `request'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/http/common.rb:40:in `call'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/bridge.rb:598:in `raw_execute'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/bridge.rb:92:in `create_session'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/remote/bridge.rb:68:in `initialize'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/ie/bridge.rb:43:in `initialize'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/common/driver.rb:35:in `new'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver/common/driver.rb:35:in `for'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.2/lib/s
elenium/webdriver.rb:65:in `for'
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir
-webdriver/browser.rb:35:in `initialize'
from (irb):3:in `new'
from (irb):3
from c:/Ruby193/bin/irb:12:in `<main>'
Tried manually connected to the http://127.0.0.1:5555 is ok. But I can't connect to
the http://127.0.0.1:5555/session.
Selenium version:2.22.2
OS:win server 2008
Browser:ie9
Browser version:ie9
Reported by jie.huang4%hp.com@gtempaccount.com on 2012-06-19 22:31:38
The text was updated successfully, but these errors were encountered:
barancev: No, this belongs here.
Can you upgrade to the latest gem (2.24.0) and IEDriverServer.exe (2.24.1) and try
again?
Do you have a proxy configured on your system? The fact that WebDriver receives a response
with "Your cache administrator is <A HREF="mailto:mgeddes@autonomy.com">mgeddes@autonomy.com</A>."
seems to indicate a proxy between the Ruby client and the IE server.
@ jie.hua...@hp.com I am encountering the same problem. I am behind a proxy. Can you
tell me how you removed the proxy config on your system. I use ubuntu 12.04. Thanks
in advance !!!
Reported by murthy.polymath on 2012-09-27 09:35:54
Originally reported on Google Code with ID 4113
Reported by
jie.huang4%hp.com@gtempaccount.com
on 2012-06-19 22:31:38The text was updated successfully, but these errors were encountered: