Has anyone seen similar errors? I was only doing a simple searching on Amazon (www.amazon.com) using Firefox. When I did this:
*$browser.a(:id, "nav-shop-all-button").click $browser.li(:text, /Automotive & Industrial/).click $browser.link(:text, "Tires & Wheels").when_present.click* the error pop out: * =============================================================================== Error: test_browsing(TC_SiteSpecific) Selenium::WebDriver::Error::UnknownError: l is undefined [remote server] file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/fxdri...@googlecode.com/components/command_processor.js:9452:in `unknown' [remote server] file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/fxdri...@googlecode.com/components/command_processor.js:9924:in `unknown' [remote server] file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/fxdri...@googlecode.com/components/command_processor.js:9929:in `unknown' [remote server] file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/fxdri...@googlecode.com/components/command_processor.js:9875:in `unknown' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok' 49: 50: def assert_ok 51: if @code.nil? || @code >= 400 => 52: if e = error() 53: raise e 54: else 55: raise Error::ServerError, self C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/response.rb:15:in `initialize' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/http/common.rb:59:in `new' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/http/common.rb:59:in `create_response' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/http/default.rb:63:in `request' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/http/common.rb:40:in `call' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/bridge.rb:598:in `raw_execute' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/bridge.rb:576:in `execute' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/remote/bridge.rb:358:in `clickElement' C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.1/lib/selenium/webdriver/common/element.rb:54:in `click' C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir-webdriver/elements/element.rb:108:in `click' TS_Amazon_US.rb:65:in `test_browsing' =============================================================================== * I've seen this kind of problem several times. And my scripts used to work and one day, it just got stuck. I saw another guy got the same error http://stackoverflow.com/questions/12524634/watir-webdriver-using-firefox-clicking-on-a-link-giving-error-unknownerror-l, but had no answer yet. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.