Table of Content
 

 

Capybara Basics

  • TDD
  • BDD
  • DSL
  • Capybara
  • Capybara Anatomy
  • Capybara vs Cucumber

Installation

  • Setup

Using Capybara

  • Using Capybara with Cucumber
  • Using Capybara with RSpec
  • Using Capybara with Test::Unit
  • Using Capybara with MiniTest::Spec

Capybara Drivers

  • Selecting the Driver
  • RackTest
  • Selenium
  • Capybara-webkit
  • Poltergeist
  • Capybara::Session
  • Configuring and Adding Drivers

The DSL

  • Navigating
  • Clicking links and buttons
  • Interacting with forms
  • Querying
  • Finding
  • Scoping
  • Working with windows
  • Scripting
  • Modals
  • Debugging
  • Using the DSL elsewhere
  • Advanced DSL
  • DSL Summary

Matching

  • Exactness
  • Strategy
  • Scoping
  • Custom Selectors

Transactions and Database Setup

  • Asynchronous JavaScript (Ajax and friends)
  • Calling Remote Servers
  • Using the sessions manually

XPath, CSS and selectors

  • Selectors
  • Beware the XPath // trap

Capybara Testing

  • Integration Testing
  • JavaScript Testing
  • Responsive Layout Test
  • Acceptance Testing
  • Capybara Cheat Sheet

 

Apply for Certification

https://www.vskills.in/certification/Capybara-Testing-Certification