[Celerity-users] browser.click_and_attach works but not browser.click

doridori Jo dorikick at gmail.com
Sun Nov 22 03:58:44 EST 2009

i found a very weird situation today where

puts browser.url # => something.com
> puts browser.element_by_xpath(somelink).click_and_attach.url  #=>
> something.com/new/

works as it should.

i deleted above, and decided to just use .click as below.

puts browser.url # => something.com
> browser.element_by_xpath(somelink).click
> browser.wait
> puts browser.url # => something.com

no exception is raised, meaning it clicked it right? then, why is it that
something.com/new/ is not loading ?

what does this mean ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/celerity-users/attachments/20091122/9fe6248e/attachment.html>

More information about the Celerity-users mailing list