CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 22 Aug 2025 11:49:57 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090601000105
location: https://web.archive.org/web/20090601000105/https://github.com/mattmatt/webrat/tree
server-timing: captures_list;dur=0.716314, exclusion.robots;dur=0.037433, exclusion.robots.policy;dur=0.020215, esindex;dur=0.016655, cdx.remote;dur=30.489196, LoadShardBlock;dur=349.553816, PetaboxLoader3.datanode;dur=62.966160, PetaboxLoader3.resolve;dur=156.606903
x-app-server: wwwb-app200
x-ts: 302
x-tr: 411
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=3
set-cookie: wb-p-SERVER=wwwb-app200; 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 301
server: nginx
date: Fri, 22 Aug 2025 11:49:58 GMT
content-type: text/html; charset=utf-8
content-length: 111
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Mon, 01 Jun 2009 00:01:03 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090601000105/https://github.com/mattmatt/webrat/tree/master
x-archive-orig-x-runtime: 143ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 111
cache-control: max-age=1800
memento-datetime: Mon, 01 Jun 2009 00:01:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 01 Jun 2009 00:01:05 GMT", ; rel="memento"; datetime="Mon, 01 Jun 2009 00:01:05 GMT", ; rel="last memento"; datetime="Mon, 01 Jun 2009 00:01:05 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_20090531193950_crawl103-c/52_10_20090601000040_crawl101.arc.gz
server-timing: captures_list;dur=0.638415, exclusion.robots;dur=0.028844, exclusion.robots.policy;dur=0.016415, esindex;dur=0.013205, cdx.remote;dur=27.766371, LoadShardBlock;dur=236.807462, PetaboxLoader3.datanode;dur=197.049024, PetaboxLoader3.resolve;dur=414.509434, load_resource;dur=435.473116
x-app-server: wwwb-app200
x-ts: 301
x-tr: 734
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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: Fri, 22 Aug 2025 11:49:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Mon, 01 Jun 2009 00:01:05 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 602ms
x-archive-orig-etag: "788af027e1d006846ef387dc28b54226"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24816
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 01 Jun 2009 00:01:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 26 May 2009 20:07:31 GMT", ; rel="prev memento"; datetime="Tue, 26 May 2009 20:07:31 GMT", ; rel="memento"; datetime="Mon, 01 Jun 2009 00:01:05 GMT", ; rel="last memento"; datetime="Mon, 01 Jun 2009 00:01:05 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_20090531193950_crawl103-c/52_10_20090601000040_crawl101.arc.gz
server-timing: captures_list;dur=0.761275, exclusion.robots;dur=0.024990, exclusion.robots.policy;dur=0.014445, esindex;dur=0.015305, cdx.remote;dur=72.398230, LoadShardBlock;dur=215.181734, PetaboxLoader3.datanode;dur=122.375971, PetaboxLoader3.resolve;dur=232.818624, load_resource;dur=180.655553
x-app-server: wwwb-app200
x-ts: 200
x-tr: 533
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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 master - 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
|
commit 481bfe03c0829a7d858443ceb6a51e1587a0d931
tree d6d0741105faa8d5d6ca25cc011f4897a367d623
parent 7d4a2035f7cfeed3b76684fefa02a230ffc21bc7
tree d6d0741105faa8d5d6ca25cc011f4897a367d623
parent 7d4a2035f7cfeed3b76684fefa02a230ffc21bc7
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 | Wed Apr 22 10:27:24 -0700 2009 | updated history [gaffo] |
![]() |
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 | Tue Apr 07 17:29:59 -0700 2009 | Add "rake whitespace" task [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/ | Wed Apr 22 10:15:27 -0700 2009 | Merge commit '742db2d910d7baa51487400cb339a20bd... [gaffo] |
![]() |
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!