CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 24 Aug 2025 23:58:52 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090605160749
location: https://web.archive.org/web/20090605160749/https://github.com/mattmatt/webrat/tree/0.4.0
server-timing: captures_list;dur=0.587214, exclusion.robots;dur=0.020620, exclusion.robots.policy;dur=0.008594, esindex;dur=0.008137, cdx.remote;dur=29.391585, LoadShardBlock;dur=156.841821, PetaboxLoader3.datanode;dur=63.478265
x-app-server: wwwb-app239
x-ts: 302
x-tr: 243
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app239; 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: Sun, 24 Aug 2025 23:58:53 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 05 Jun 2009 16:07:48 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 1067ms
x-archive-orig-etag: "adb1546288473f556e5ee212c735f2a7"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 25410
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 05 Jun 2009 16:07:49 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 05 Jun 2009 16:07:49 GMT", ; rel="memento"; datetime="Fri, 05 Jun 2009 16:07:49 GMT", ; rel="last memento"; datetime="Fri, 05 Jun 2009 16:07:49 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_20090605155451_crawl102-c/52_10_20090605160612_crawl101.arc.gz
server-timing: captures_list;dur=0.432715, exclusion.robots;dur=0.021275, exclusion.robots.policy;dur=0.008206, esindex;dur=0.008269, cdx.remote;dur=8.794077, LoadShardBlock;dur=358.206773, PetaboxLoader3.datanode;dur=313.912997, PetaboxLoader3.resolve;dur=218.195947, load_resource;dur=242.181332
x-app-server: wwwb-app239
x-ts: 200
x-tr: 675
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.0 - 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 | Loading commit data... ![]() |
|
![]() |
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 | Sun Jan 04 18:57:25 -0800 2009 | Merge branch 'foca/master' [joshknowles] |
![]() |
install.rb | Mon Nov 24 17:34:10 -0800 2008 | Adding gemspec. Hopfully gem will build on GitH... [brynary] |
![]() |
lib/ | Sun Jan 18 14:19:46 -0800 2009 | reloads is deprecated, not reload [brynary] |
![]() |
spec/ | Sun Jan 18 13:57:08 -0800 2009 | field_labeled() should disregard labels without... [pd] |
![]() |
vendor/ | Thu Nov 20 13:07:18 -0800 2008 | Switch to using selenium-client gem and vendor ... [lukemelia] |
![]() |
webrat.gemspec |
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!