Hi,

I wrote a script and it was running fine. But from today it stopped
working.

This is the part of the script:

========================================
require 'selenium-webdriver'
require 'win32ole'

driver = Selenium::WebDriver.for :firefox
begin
driver.get "https://example.com/"
rescue Selenium::WebDriver::Timeout::Error
driver.manage.timeouts.page_load = 10
end

element = driver.find_element :name => "username"
element.send_keys "*****"
element = driver.find_element :name => "password"
element.send_keys "********"
element.submit
=======================================

It's giving me continuous error:

C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in rbuf_fill':
Timeout::Error (Timeout::Error)

I tried to handle it,but still not handled properly. What could be the
reason?

I am using "selenium-webdriver (2.30.0, 2.27.2)" with "Firefox 12.0" and
"ruby 1.9.3p374 (2013-01-15) [i386-mingw32]"

Thanks

-- 
Posted via http://www.ruby-forum.com/.