Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing watir-webdriver on windows
    primarykey
    data
    text
    <p>I have been using watir for a long time with Internet Explorer. I am just now trying to get watir-webdriver to work. I have installed <code>IEDriverServer.exe</code> in my path.</p> <p>I have a website running on my local machine that is listening on port 80 and I am attempting to hit that site with my watir tests. Normally under watir (without webdriver) IE will simply launch and hit whatever URL I specify, such as <code>http://MY-MACHINE-NAME/default.aspx</code>. However, when IEDriverServer launches it appears to be listening on some random port such as 5555. So, IE will launch and show something like <code>http://localhost:5555/</code> in the address bar. After that, I get an error with the stack trace below.</p> <p>I think I have a basic misunderstanding with regards to how to get watir to hit my website on port 80 using webdriver, just as it did without it. Any hints would be most appreciated.</p> <p>Thanks</p> <pre><code>C:\Home\Server\Test\Watir\web&gt;ruby ViewOrgBillingProfiles_test.rb --name test_04_filtering Started InternetExplorerDriver server (64-bit) 2.31.0.0 Listening on port 5555 C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in `initialize': No connection could be made because the target machine actively refused it. - connec t(2) (Errno::ECONNREFUSED) from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in `open' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in `block in connect' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/timeout.rb:54:in `timeout' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/timeout.rb:99:in `timeout' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:762:in `connect' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:755:in `do_start' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:744:in `start' from C:/DevInstallations/Ruby193/lib/ruby/1.9.1/net/http.rb:1284:in `request' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/http/default.rb:82:in `response_for' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/http/default.rb:38:in `request' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/bridge.rb:598:in `raw_execute' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/bridge.rb:576:in `execute' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/remote/bridge.rb:189:in `quit' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/ie/bridge.rb:59:in `quit' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/common/driver.rb:166:in `quit' from C:/DevInstallations/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir-webdriver/browser.rb:87:in `close' from C:/Home/Server/Test/Watir/shared/setup.rb:1:in `block in &lt;top (required)&gt;' C:/Home/Server/Test/Watir/shared/setup.rb:45:in `start_ie': undefined method `speed=' for #&lt;Watir::Browser:0x..fdf634488 closed=false&gt; (NoMethodError) from C:/Home/Server/Test/Watir/shared/setup.rb:106:in `&lt;top (required)&gt;' from C:/DevInstallations/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/DevInstallations/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from ViewOrgBillingProfiles_test.rb:2:in `&lt;main&gt;' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload