I got this error every time after I used the browser''s back function: Value undefined (result of expression document._getElementsByXPath) is not object. line: 2123 (Selector.findElements) and it seems like it is this expression that leads to the error: $$(''li.selected'').first().getAttribute(''tag'') Any idea how to resolve this? The page works fine every time I loaded it fresh. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---