Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 27, 2015
  1. Release capybara-webkit 1.5.0

  2. @mike-burns

    Include the code that we need

    mike-burns authored committed
    - `cin` and `cout` require iostream.
    - `QT_VERSION` requires QtGlobal.
    - `QSocketNotifier` requires QSocketNotifier.
    - Unrelated to includes: let Qt figure out the spec.
    Found by Jeremy Evans on behalf of the OpenBSD project.
  3. @nritholtz

    Add flag for specs that should be skipped if currently not connected …

    nritholtz authored committed
    …to the internet
Commits on Mar 20, 2015
  1. @nritholtz
Commits on Mar 12, 2015
  1. @jferris

    Mention coaching

    jferris authored
Commits on Mar 9, 2015
  1. @jferris

    Update links and credits in README

    jferris authored
    * Link to contributing, license guides
    * Update credit section for newer thoughtbot references
Commits on Feb 16, 2015
  1. Disable web page and object memory cache

    Pages and assets should not be retrieved from the cache. This leads to
    unexpected results in testing. Also, the raw content of cached objects
    and pages cannot be retrieved.
Commits on Jan 27, 2015
  1. Release capybara-webkit 1.4.1

  2. @bforma
Commits on Jan 26, 2015
  1. Document unknown URL handler in README

    [ci skip]
  2. Clean up Travis before install script

    Only install Qt 5 when building against Qt 5.
    Remove unnecessary explicit dependencies.
Commits on Jan 22, 2015
  1. Release capybara-webkit 1.4.0

Commits on Jan 21, 2015
  1. @sandro

    Fix returning invisible text on a hidden page

    sandro authored
    Commit 2f3832f introduced a bug wherein
    if the entire page has hidden content, the entire page text is returned
    as visible text. The bug was introduced to support SVG text handling.
    The svg element doesn't have an innerText property, but does have
    textContent property, so the patch was written to fallback on
    textContent. The thing is, innerText will return an empty string when
    there is no visible text on the screen, which is a falsey condition, so
    we fall back to textContent. Thankfully, calling innerText on an svg
    element returns undefined, so now we can confidently return the empty
    string when it exists before falling back to textContent.
    The patch could also be written as:
        return visible_text == undefined ? node.textContent : visible_text;
    (double equals should work fine in this case)
Commits on Jan 6, 2015
  1. @leppert

    Clarify warnings for blocked requests

    leppert authored committed
  2. Whitelist localhost on Driver#reset!

    Fixes a regression due to "reset allowed/blocked URLs between specs"
Commits on Dec 17, 2014
  1. @cstrahan @jferris

    Expose INCLUDEPATH and LIBS qmake variables

    cstrahan authored jferris committed
    This allows one to specify the include and lib paths for gl and zlib.
        gem install capybara-webkit -- \
          --with-gl-dir=/nix/store/1sw1cyny213ih9dpdsq8h2kwqaqcm6vp-mesa-10.2.9 \
    Fixes #695
Commits on Dec 9, 2014
  1. @jferris

    Support fewer Capybara versions

    jferris authored
    * Version 2.2.1 is almost a year old
    * Still supports latest two minor versions
    * Supporting so many versions slows down development, CI
Commits on Dec 8, 2014
  1. @jferris

    Reset allowed/blocked URLs between specs

    jferris authored
    * Prevents duplicates when using `before(:each)`
    * Consistent with other settings
Commits on Dec 5, 2014
  1. @jferris

    Introduce allowed, blocked URL filters

    jferris authored
    * Adds `allow_url`, `block_url`, and `block_unknown_url` methods.
    * Both allow_url and block_url accept wildcards.
    * Any requests to blocked URLs will be blocked immediately.
    * Blocked URLs take precedence over allowed URLs.
    * By default, any requests to localhost and are allowed.
    * By default, any requests to unknown hosts will print a warning.
    * `block_unknown_urls` causes unknown hosts to be silently blocked.
    * `blacklisted_urls=` is deprecated in favor of `block_url`.
Commits on Nov 24, 2014
  1. @jferris

    Extract handle classes from NetworkAccessManager

    jferris authored
    NetworkAccessManager was getting pretty complex, and adding something
    that modifies or intercepts requests is becoming a common change.
    This change introduces a chain of handlers which can modify a request or
    return a response of their own.
    To start with, this extracts the concerns of fixing missing content
    types, setting custom headers, and intercepting blacklisted requests.
Commits on Oct 22, 2014
  1. Release capybara-webkit 1.3.1

Commits on Oct 21, 2014
  1. @achempion

    fix missed `browser_initialized?` method

    achempion authored
    Few weeks ago capybara introduced a new driver method that missed in our driver specification (jnicklas/capybara#1237). 
    After updating gems versions, I run tests and seen an exception: 
    `undefined method `browser_initialized?' for #<Capybara::Webkit::Driver:0xe9854a0>`
    We can resolve this and possible future updates just inherited from default web driver, for example, like it was implemented in poltergeist web driver (
Commits on Oct 5, 2014
  1. Remove modal messages from modal message list

    * When multiple, non-nested modals are on a page, the modal ID will not
      point to the index of the corresponding modal message in the modal
      message list.
Commits on Oct 3, 2014
  1. @freegenie

    Example of failing case when two alerts are invoked

    freegenie authored committed
Commits on Aug 18, 2014
  1. Release capybara-webkit 1.3.0

    [ci skip]
  2. NEWS for capybara-webkit 1.3

    [ci skip]
  3. @youpy

    Blacklisting can use wildcard patterns

    youpy authored committed
Commits on Jul 18, 2014
  1. Make Connection#read non-blocking

    * Ensure that Connection#read will not block Timeout::timeout for JRuby
Commits on Jul 17, 2014
  1. @betelgeuse

    Use offline app cache support when ./tmp/ exists

    betelgeuse authored
    In Rails projects it's a sure bet that tmp exists so this automatically
    covers most people. With the README addition other people know to create
    the directory.
  2. @betelgeuse
  3. @betelgeuse

    Initial Application Cache Support

    betelgeuse authored
    Tests passing for a simple application cache support. To be added is
    better handling of the tmp path and resetting testing at least.
  4. Make Connection#gets non-blocking

    * JRuby Timeout::timeout blocks on IO#gets. IO.connect blocks as well
      unless running in its own thread.
  5. Make FindModal synchronous

    * There's no need to poll for the modal when we have an event loop.
Something went wrong with that request. Please try again.