Getting the page title 13/08/2012
# Retrieving browser title is very simple
browser.title

# Comparing the page title to a string can be done with an rspec matcher
browser.title.should == title

Making sure that the page titles are correct is important from the SEO point of view. Getting the title of a page with watir-webdriver is very easy after which the title can be compared to an expected value.

Finding a link with title 26/07/2012
browser.link(:title => "<link title>")

A link can be found with multiple methods. Sometimes using the title attribute is a good way to find it.