Mechanize Screencast and IRB copy history


published by Edmund Haselwanter on Friday, March 12, 2010

And again Ryan Bates did a great screencast. This time on mechanize

“Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.”

And if you ever wanted to extract the history of an IRB session, here it is:

puts Readline::HISTORY.entries.split("exit").last[0..-2].join("\n")

and another great tool from this episode:

SelectorGadget: point and click CSS selectors