Tuesday, October 27, 2009

Smart click_button

In previous post, i've mentioned abt webrat's smart click_link(), and do u know that click_button() is also quite smart, meaning:
1
<input type="image" alt="Update" />

Works as well if we do:
1
click_button("Update")

Nice ?!

No comments:

Post a Comment

Labels