gempesaw/Selenium-Remote-Driver — pull request #124 by kablamo (2014-05-14 22:18:28+00:00)
Title: body_text_contains() dies when the default_finder is 'css'

The error was:

Error while executing command: Argument was an invalid selector (e.g. XPath/CSS).: The given selector //body is either invalid or does not result in a WebElement.

This pr makes it so Selenium::Remote::Driver>get_body() explicitly uses 'xpath' in case the default_finder is not 'xpath'