Q:

Ruby/Capybara Selenium storing the href value of an image in an auto-rotating carousel

Can anyone help me with the best way/example of how to do this?  I am rather new to Ruby and am struggling to put something together for this.
Edit: I want to store all of the href values that might appear during the rotation and print them later.

A:

Not sure if I didn't post enough info with the original question, or what else was required, but I've figured it out and here is my solution.
feat = {}
index = 0
all('.bordered').each {|a| 
feat[index] = a[:href] 
puts a[:href]
index+=1 
}

bordered being the 'a class' portion of the href I wanted to store.  The line was formatted as such,
 a class="bordered" href="location of the image"

