jarib/watir-webdriver — Issue #113: Basic user auth
Author: hemanth
Created: 2012-01-06 04:07:15+00:00
State: open

For the below code, I'm getting an error Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI]

require 'rubygems'
require 'watir-webdriver'
b = Watir::Browser.new
b.goto 'http://mysite:admin@admin123'

/var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok': Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIIOService.newURI] (Selenium::WebDriver::Error::UnknownError)
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/http/common.rb:59:in `new'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/http/common.rb:59:in `create_response'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/http/default.rb:64:in `request'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/bridge.rb:454:in `raw_execute'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/bridge.rb:432:in `execute'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/remote/bridge.rb:99:in `get'
from /var/lib/gems/1.8/gems/selenium-webdriver-2.16.0/lib/selenium/webdriver/common/navigation.rb:14:in `to'
from /var/lib/gems/1.8/gems/watir-webdriver-0.4.1/lib/watir-webdriver/browser.rb:61:in `goto'
from user-auth.rb:4