From: Love U Ruby Date: 2013-02-26T22:14:04+09:00 Subject: Re: no element found error with selenium-webdriver Don't know why - `driver.find_element(:link, link_text).click` not worked when string within the `link_text` has more than one spaces between words. But anyway workaround I found is : link_text.squeeze!(" ").strip! # to remove multiple spaces -- Posted via http://www.ruby-forum.com/.