I'm using Ruby + Watir + Cucumber for test automation. At the start of each Feature, I launch a new browser, and at the end I generally leave the browser running for the time being (while I work through developing my scenarios).
Sometimes when I'm ironing the kinks out of my Step Definitions, it would be really handy if I could connect to an active Watir browser session from IRB (Interactive Ruby Shell) in order to try some commands or check some attributes within the webpage in it's current state.
Is there a way I can connect to an existing browser via IRB that was launched via Cucumber? e.g. by using the name or hex id attributes?