March 2010 Archives


Veröffentlicht von Edmund Haselwanter am Freitag, August 15, 2008

Ein Mechanize Screencast und wie man die Ruby IRB History verwendet

veröffentlicht von Edmund Haselwanter am Mär 12, 2010
Tags: ruby

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