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 (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Oct 19 12:39:05 -0700 2009 | |
| |
.gitmodules | Tue Nov 10 20:40:07 -0800 2009 | |
| |
History.txt | Wed Oct 21 13:04:49 -0700 2009 | |
| |
README.rdoc | Tue Nov 10 20:40:07 -0800 2009 | |
| |
Rakefile | Wed Oct 21 14:26:34 -0700 2009 | |
| |
lib/ | Tue Nov 10 15:18:39 -0800 2009 | |
| |
safariwatir.gemspec | Tue Oct 20 10:53:05 -0700 2009 | |
| |
safariwatir_example.rb | Sat Feb 14 12:30:14 -0800 2009 | |
| |
spec/ | Tue Nov 10 20:40:07 -0800 2009 |
README.rdoc
"There’s something eerily tingly about seeing a browser run by itself." twitter.com/swombat/status/1280692921
SafariWatir
- github.com/redsquirrel/safariwatir
- groups.google.com/group/watir-general
- wiki.openqa.org/display/WTR/SafariWatir
- twitter.com/SafariWatir
DESCRIPTION:
We are putting Watir on Safari. The original Watir (Web Application Testing in Ruby) project supports only IE on Windows. This project aims at adding Watir support for Safari on the Mac.
Requirements
Mac OS X running Safari. Some features require you to turn on "Enable access for assistive devices" in System Preferences > Universal Access.
SYNOPSIS:
require 'rubygems'
require 'safariwatir'
browser = Watir::Safari.new
browser.goto("http://google.com")
browser.text_field(:name, "q").set("obtiva")
browser.button(:name, "btnI").click
puts "FAILURE" unless browser.contains_text("software")
INSTALL:
[sudo] gem install safariwatir or git clone git://github.com/redsquirrel/safariwatir.git cd safariwatir rake install
RUNNING SAFARIWATIR AGAINST WATIRSPEC
git clone git://github.com/redsquirrel/safariwatir.git cd safariwatir spec spec
CONTRIBUTING:
WatirSpec is the emergent standard for the Watir API. We do not currently support all of the functionality described by WatirSpec. A good way to contribute would be to fix a few failing specs as defined by WatirSpec. See "Running SafairWatir Against WatirSpec" to get started.








