Giter Club home page Giter Club logo

safariwatir's Introduction

“There’s something eerily tingly about seeing a browser run by itself.” twitter.com/swombat/status/1280692921

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
 git submodule update --init
 rake install

RUNNING SAFARIWATIR AGAINST WATIRSPEC

git clone git://github.com/redsquirrel/safariwatir.git
cd safariwatir
git submodule update --init
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.

safariwatir's People

Contributors

redsquirrel avatar treye avatar caius avatar stalcottsmith avatar aesterline avatar charley avatar myobie avatar bhuga avatar careo avatar jubishop avatar mpeychich avatar richardlawrence avatar

Stargazers

Shivani avatar Ramon Tayag avatar

Watchers

Ramon Tayag avatar Radamanthus Batnag avatar 3Qi Labs avatar James Cloos avatar

Forkers

ramontayag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.