title: Does Python have anything Like Capybara/Cucumber?
body: <p>Ruby has this great abstraction layer on top of Selenium called Capybara, which you can use do functional/acceptance/integration testing.  It also has another library called Cucumber which takes this a step further and lets you actually write tests in English.</p>
  
  <p>Both libraries are built on top of Selenium, and can be used to test against any major browser, but because of their abstraction layers it's super easy to write tests using them (well, as easy as functional testing gets at least).</p>
  
  <p>My question is: does Python have anything like that?  I have found Pythonistas doing functional testing with various tools but ...</p>
  
  <p>A) Splinter: doesn't use Selenium (and doesn't have an IE driver)</p>
  
  <p><strong>-EDIT-</strong> 
  It appears Spliter now does use Selenium (see answers below).</p>
  
  <p>B) Alfajor: hasn't been updated in over a year; looks dead</p>
  
  <p>C) Selenium (raw): a lot of people seem to be using Selenium directly, but it seems like an abstraction layer could make it a lot easier to use</p>
  
  <p>So, does anyone know of anything Capybara-like, or better yet Cucumber-like, for Python (it doesn't have to actually use Selenium, but it needs to support all major browsers)?</p>
  
  <p><strong>* EDIT *</strong></p>
  
  <p>For those that aren't familiar with Capybara, it basically just adds an API so that instead of the normal Selenium API you can do something like this:</p>
  
  <pre><code>When /I sign in/ do
    within("#session") do
      fill_in 'Login', :with =&gt; 'user@example.com'
      fill_in 'Password', :with =&gt; 'password'
    end
    click_link 'Sign in'
  end
  </code></pre>
  
  <p>It's used by Cucumber, which let's you further abstract (almost to English):</p>
  
  <pre><code>Scenario Outline: Add two numbers
  Given I have entered &lt;input_1&gt; into the calculator
  And I have entered &lt;input_2&gt; into the calculator
  When I press &lt;button&gt;
  Then the result should be &lt;output&gt; on the screen
  
  Examples:
  | input_1 | input_2 | button | output |
  | 20 | 30 | add | 50 |
  </code></pre>
  
  <p>I would LOVE a Python Cucumber equivalent, but even just a Capybara equivalent would be helpful.</p>