Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 27, 2012
  1. @kou
Commits on Nov 20, 2012
  1. @mhoran

    Delegate node equality to driver

    mhoran authored
    The native representation of a node may not be equal across driver
    implementations.  Instead, let the driver define equality.
Commits on Aug 1, 2012
  1. @joliss

    Make whitespace normalization Unicode-aware. Fixes #767

    joliss authored
    Also move normalize_whitespace and to_regexp into Capybara::Helpers, and
    improve method documentation.
    I'm not adding tests for the helpers. I think they're so simple that we
    really only care whether they work in conjunction with other methods,
    like Node#text.
Commits on Jul 31, 2012
  1. @joliss
Commits on Jul 19, 2012
  1. @joliss

    Accept non-string parameters to has_text, notably nil and numbers

    joliss authored
    This is mostly for compatibility with Capybara 1.1.2.
Commits on Jul 13, 2012
  1. Change order of methods

  2. @nashby

    has_content? and has_text? can handle regexp as well

    nashby authored committed
    closes #740
  3. Better implementation of ==

Commits on Jul 12, 2012
Commits on Jul 9, 2012
  1. Should not bang!

Commits on Jun 8, 2012
  1. Move failure message generatio to result class

    Jonas Nicklas and Nicklas Ramhöj authored
  2. We never actually need the options here

    Jonas Nicklas and Nicklas Ramhöj authored
Commits on Mar 24, 2012
  1. @grzuy
Commits on Mar 23, 2012
  1. @grzuy
Commits on Mar 1, 2012
  1. @grzuy
Commits on Feb 1, 2012
Commits on Jan 3, 2012
Commits on Jan 2, 2012
  1. Use custom selectors in matchers

    Adam McCrea authored Anders Törnqvist and Kim Burgestrand committed
    This continues the centralization of XPath generation
    and failure messages.
Commits on Nov 15, 2011
  1. Merge branch 'master' of i…

    Jonas Nicklas and Kim Burgestrand authored
    …nto rmontgomery429-master
Commits on Oct 17, 2011
  1. @rmontgomery429

    Fixing has_content?

    rmontgomery429 authored
    * moved the gsub and strip into a function named normalize_whitespace
    * added the call to has_no_content?
  2. @rmontgomery429

    Fixed has_content?

    rmontgomery429 authored
    * use regex 'any one or more whitespace character' instead of simply removing all newline characters as suggested by @jnicklas and @joliss [#521]
Commits on Oct 16, 2011
  1. @mkdynamic
Commits on Oct 15, 2011
  1. @mkdynamic
Commits on Oct 14, 2011
  1. @rmontgomery429

    Fixed has_content?

    rmontgomery429 authored
    * has_content? should ignore any whitespace in the content being compared (the matcher text) so that comparing whitespace sensitive text i.e. content in a <pre> tag will be matched properly.
Commits on Aug 12, 2011
Commits on Mar 25, 2011
Commits on Mar 5, 2011
  1. @kamarcum @joliss

    Convert count, minimum, and maximum to integers

    kamarcum authored joliss committed
Commits on Jan 17, 2011
Commits on Jan 16, 2011
  1. @dnd
Commits on Dec 31, 2010
  1. @jfirebaugh

    Ensure that matchers work correctly after actions, closes #171

    jfirebaugh authored
    With browser-based drivers, the has_value?, has_select?, and
    has_checked_field? matchers (and their negative counterparts)
    did not always work correctly. It is not possible to determine
    the dynamic state of inputs purely with XPath, because XPath
    has access only to the value, selected, and checked _attributes_,
    and only the corresponding _properties_ change in response to
    user input. This commit replaces the pure XPath implementation
    with one that retrieves all matching inputs and then filters the
    results using driver-specific means that do reflect user input.
Something went wrong with that request. Please try again.