To deal with your "View" question, @blueice349 , an easy way to deal with this would be to add an id (say id="view_a") and then just find it with (:css => '#view_a') where the '#" signifies an id to the css selector.