jnicklas/capybara — Issue #550: has_xpath? ignores visible
Author: hedgehog
Created: 2011-11-27 02:52:00+00:00
State: open

The following

node = ::Capybara.string(html)
node.has_xpath?('/html/head/title', :visible => true)

returns true, when it should be false, i.e the title is not visible.

The issues/techniques for testing visible elements in Capybara need to be brought into the readme.
This comment indicates some unnecessary blow back is developing[0]

[0] http://testobsessed.com/blog/2011/03/01/checking-invisible-elements/comment-page-1/#comment-10666