Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 13, 2012
Commits on Jul 4, 2012
  1. Douwe Maan
Commits on Apr 23, 2012
  1. Douwe Maan
Commits on Apr 22, 2012
  1. Douwe Maan

    Insert port into URL to visit if it doesn't have one already and Capy…

    DouweM authored
    …bara.insert_port_into_portless_url is true.
Commits on Mar 6, 2012
  1. James Tucker
Commits on Feb 1, 2012
Commits on Jan 8, 2012
  1. Jo Liss

    Remove Capybara.server_boot_timeout, hard-code 60 seconds. Closes #589

    joliss authored
    Thanks to Adam Cigánek for his helpful input and the original patch!
Commits on Jan 3, 2012
  1. Jo Liss

    Poll for the server coming up more frequently

    joliss authored
    Capybara.timeout sleeps 50ms between polls, and since the server tends
    to boot quickly, this is a reasonable value. By not adding another
    500ms, we shave a few seconds off the test execution time, mostly in
Commits on Oct 28, 2011
  1. Merge pull request #516 from dbalatero/add_server_host_option

    This adds a server_host option to Capybara.
Commits on Oct 19, 2011
  1. Adrian Irving-Beer

    Raise on Rack app timeout.

    wisq authored
Commits on Oct 5, 2011
  1. David Balatero

    This adds a server_host option to Capybara.

    dbalatero authored
    In order to run Selenium via Capybara on my virtual machine, you need to be
    able to bind the server IP to a net interface on the same subnet as the VM.
    This patch exposes an configuration variable to allow you to bind the
    test server to any net interface on your local machine.
    Falls back to if the config var is not set.
Commits on Apr 26, 2011
  1. Piotr Sarnacki
Commits on Nov 17, 2010
  1. Adam Cigánek
Commits on Nov 9, 2010
Commits on Oct 28, 2010
  1. Allow the Rack handler to be configured via Capybara.server {|app, po…

    John Firebaugh authored
    …rt| ...}
    For example, to use mongrel rather than thin or webrick:
        Capybara.server do |app, port|
          require 'rack/handler/mongrel'
, :Port => port)
Commits on Oct 8, 2010
  1. Use instead of localhost

    Apparently this prevents some issues and has no
  2. Drop mongrel support, silence thin and webrick

    Mongrel is an outdated server, it doesn't work on
    Ruby 1.9, for speed, thin is perfectly well suited
    for compatibility webrick is much better.
    Also: no more annoying logging information from
Commits on Sep 2, 2010
  1. Harry Vangberg
Commits on Jul 14, 2010
  1. Use TCPServer to find available port for server

    Reverts the revert.
    I've added some code to make the Server reuse already booted
    This reverts commit 9fe037d.
Commits on Jul 11, 2010
Commits on Jul 10, 2010
  1. Move utils into own folder

Commits on Jul 9, 2010
  1. Explicit module for Server

  2. Rename WaitUntil to timeout

Commits on Jul 6, 2010
  1. Bernerd Schaefer

    Use TCPServer to find available port for server

    bernerdschaefer authored
    This protects against the race conditions which inevitably occur
    when booting multiple capybara servers (such as running specjour). will set recently opened sockets to SOCK_WAIT status to
    ensure that a certain amount of time elapses before they are reused.
Commits on Mar 24, 2010
  1. Lucas Prim

    MSWin Fix

    lucasprim authored
Commits on Mar 12, 2010
Commits on Feb 26, 2010
  1. Darrin Holst to contributors

Commits on Feb 19, 2010
Commits on Feb 7, 2010
  1. Prefer thin over mongrel, Closes #34

    For Ruby 1.9 compatibility
Commits on Jan 30, 2010
Commits on Jan 23, 2010
Something went wrong with that request. Please try again.