Thanks for understanding, we try to takes other folks terms of use seriously around here. of course that can make it hard to find a good example to test against sometimes.
On Wednesday, March 13, 2013 6:39:38 AM UTC-7, Yang wrote: > > Thanks Oscar. I was only learning Ruby and using Amazon randomly. I'll try > to find another example. > > On Wednesday, March 13, 2013 8:29:20 AM UTC-4, Oscar.Rieken wrote: >> >> Sorry but unless you work for amazon or have written permission from >> Amazon to use their site, We cannot help you. If you have an example of >> code that is not amazon please post that html and your relavent test code >> where you see this issue. >> >> >> Thanks >> >> >> On Tue, Mar 12, 2013 at 4:29 PM, Yang <[email protected]> wrote: >> >>> Has anyone seen similar errors? >>> >>> I was only doing a simple search on Amazon (www.amazon.com) using >>> Firefox. 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 same scripts used to work and one day it just got stuck. An 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/ >>> [email protected]/components/command_processor.js:9452:in`unknown' >>> [remote server] >>> file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/ >>> [email protected]/components/command_processor.js:9924:in`unknown' >>> [remote server] >>> file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/ >>> [email protected]/components/command_processor.js:9929:in`unknown' >>> [remote server] >>> file:///C:/DOCUME~1/.../LOCALS~1/Temp/webdriver-profile20130312-3584-160qdgs/extensions/ >>> [email protected]/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 saw another guy getting the same problem >>> 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. >>> >>> [email protected] >>> http://groups.google.com/group/watir-general >>> [email protected] >>> >>> --- >>> 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 [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
