jnyman/lucid — Issue #1: Capybara Returns Full Page Body, Not Page Text
Author: jnyman
Created: 2011-12-01 19:09:03+00:00
State: open

Consider the following logic:

page = TestPage.new(browser)
puts page.text

Currently the calls to @platform.text with both Selenium and Watir return just the textual elements that are present on the page. When doing this with Capybara, this appears to return the full body of the page, including the markup.