Archive for May, 2007
scRUBYt! 0.3.0 released
Thanks to thescRUBYt! forum, the team has received a lot of feedback - we have tried to incorporate the most features requested by the most people, also fixing a few annoying bugs. Well, I guess no one is interested in this introductory babbling, so here you go: the CHANGELOG for 0.3.0:
[NEW] complete rewrite of the output system, creating a solid
foundation for more robust output functions
(credit: Neelance)
[NEW] logging - no annoying puts messages anymore!
(credit: Tim Fletcher)
[NEW] can index an example - e.g.
link "more[5]"'
semantics: give me the 6th element with the text "more"
[NEW] can use XPath checking an attribute value, like
"//div[@id='content']"
[NEW] default values for missing elements (first version was
done in 0.2.8 but it did not work for all cases)
[NEW] possibility to click button with it's text (instead of it's index)
(credit: Nick Merwin)
[NEW] clicking radio buttons
[NEW] can click on image buttons (by specifying the name of the
button)
[NEW] possibility to extract an URL with one step, like so:
link "The Difference/@href"
i.e. give me the href attribute of the element matched by the
example 'The Difference'
[NEW] new way to match an element of the page:
content "div[The Difference]"
means 'return the div which contains the string "The Difference"'.
This is useful if the XPath of the element is non-constant across
the same site (e.g.sometimes a banner or add is added, sometimes
not etc.)
[NEW] Clicking image maps; At the moment this is achieved by specifying
an index, like
click_image_map 3
which means click the 4th link in the image map
[FIX] Replacing \240 ( ) with space in the preprocessing phase
automatically
[FIX] Fixed: correctly downloading image if the src attribute had a leading
space, as in
You are currently browsing the scRUBYt! blog archives for May, 2007.