CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 08:36:01 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090605203821
location: https://web.archive.org/web/20090605203821/https://github.com/mattmatt/webrat/tree/0.4.2
server-timing: captures_list;dur=1.158351, exclusion.robots;dur=0.036219, exclusion.robots.policy;dur=0.015775, esindex;dur=0.022076, cdx.remote;dur=10.246469, LoadShardBlock;dur=392.696561, PetaboxLoader3.resolve;dur=170.111740, PetaboxLoader3.datanode;dur=148.821101
x-app-server: wwwb-app213
x-ts: 302
x-tr: 453
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 28 Aug 2025 08:36:02 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 05 Jun 2009 20:38:21 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 3111ms
x-archive-orig-etag: "2e200409145d0c1627c8215063b83d22"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24720
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 05 Jun 2009 20:38:21 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 05 Jun 2009 20:38:21 GMT", ; rel="memento"; datetime="Fri, 05 Jun 2009 20:38:21 GMT", ; rel="last memento"; datetime="Fri, 05 Jun 2009 20:38:21 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090605193902_crawl101-c/52_10_20090605203805_crawl101.arc.gz
server-timing: captures_list;dur=0.507211, exclusion.robots;dur=0.018321, exclusion.robots.policy;dur=0.008794, esindex;dur=0.014070, cdx.remote;dur=42.280804, LoadShardBlock;dur=317.351108, PetaboxLoader3.datanode;dur=216.140699, PetaboxLoader3.resolve;dur=298.657726, load_resource;dur=213.121796
x-app-server: wwwb-app213
x-ts: 200
x-tr: 637
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mattmatt's webrat at 0.4.2 - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of brynary/webrat | |
Description: | Webrat - Ruby Acceptance Testing for Web applications |
Homepage: | https://gitrdoc.com/brynary/webrat/tree/master/ |
Clone URL: |
git://github.com/mattmatt/webrat.git
Give this clone URL to anyone.
git clone git://github.com/mattmatt/webrat.git
|
webrat /
name | age | message | |
---|---|---|---|
![]() |
.document | Mon Nov 24 22:04:26 -0800 2008 | Adding .document RDoc config file [brynary] |
![]() |
.gitignore | Sat Jan 17 10:20:22 -0800 2009 | Ignore *.tmproj [brynary] |
![]() |
History.txt | Tue Feb 24 09:29:05 -0800 2009 | Prep for 0.4.2 release [brynary] |
![]() |
MIT-LICENSE.txt | Sun Mar 02 16:35:46 -0800 2008 | Add hoe for gem support [brynary] |
![]() |
README.rdoc | Sat Dec 27 15:22:51 -0800 2008 | updated from master [gaffo] |
![]() |
Rakefile | Mon Feb 23 18:18:17 -0800 2009 | Bumping nokogiri dependency version to 1.2.0 [brynary] |
![]() |
install.rb | Mon Nov 24 17:34:10 -0800 2008 | Adding gemspec. Hopfully gem will build on GitH... [brynary] |
![]() |
lib/ | Loading commit data... ![]() |
|
![]() |
spec/ | ||
![]() |
vendor/ | Thu Nov 20 13:07:18 -0800 2008 | Switch to using selenium-client gem and vendor ... [lukemelia] |
Webrat - Ruby Acceptance Testing for Web applications
- gitrdoc.com/brynary/webrat
- groups.google.com/group/webrat
- webrat.lighthouseapp.com/
- github.com/brynary/webrat
- #webrat on Freenode
Description
Webrat lets you quickly write expressive and robust acceptance tests for a Ruby web application.
Features
- Browser Simulator for expressive, high level acceptance testing without the performance hit and browser dependency of Selenium or Watir (See Webrat::Session)
- Use the same API for Browser Simulator and real Selenium tests using Webrat::Selenium when necessary (eg. for testing AJAX interactions)
- Supports multiple Ruby web frameworks: Rails, Merb and Sinatra
- Supports popular test frameworks: RSpec, Cucumber, Test::Unit and Shoulda
- Webrat::Matchers API for verifying rendered HTML using CSS, XPath, etc.
Example
class SignupTest < ActionController::IntegrationTest def test_trial_account_sign_up visit home_path click_link "Sign up" fill_in "Email", :with => "good@example.com" select "Free account" click_button "Register" end end
Behind the scenes, Webrat will ensure:
- If a link, form field or button is missing, the test will fail.
- If a URL is invalid, the test will fail.
- If a page load or form submission is unsuccessful, the test will fail.
Installing Nokogiri
Users of Debian Linux (e.g. Ubuntu) need to run:
sudo apt-get install libxslt1-dev libxml2-dev.
Otherwise the Nokogiri gem, which Webrat depends on, won’t install properly.
Install for Rails
To install the latest release as a gem:
sudo gem install webrat
To install the latest code as a plugin: (_Note:_ This may be less stable than using a released version)
script/plugin install git://github.com/brynary/webrat.git
In your test_helper.rb or env.rb (for Cucumber) add:
require "webrat" Webrat.configure do |config| config.mode = :rails end
Install with Merb
Merb 1.0 has built-in, seamless Webrat support. Just start using methods from Webrat::Session in your specs.
Authors
- Maintained by Bryan Helmkamp
- Original code written by Seth Fitzsimmons
- Initial development was sponsored by EastMedia
- Many other contributors. See attributions in History.txt
License
Copyright © 2007-2008 Bryan Helmkamp, Seth Fitzsimmons. See MIT-LICENSE.txt in this directory.
This feature is coming soon. Sit tight!