🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

jmonteiro-jmonteiro-safariwatir

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jmonteiro-jmonteiro-safariwatir

bundlerRubyGems.org
Version
0.3.5.1
Version published
Maintainers
2
Created
Source

"There's something eerily tingly about seeing a browser run by itself." http://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 jmonteiro-safariwatir --source="http://gems.github.com"

or

git clone git://github.com/jmonteiro/safariwatir.git cd safariwatir rake install

== RUNNING SAFARIWATIR AGAINST WATIR'S CORE TESTS

First, install the SafariWatir gem (see above)

svn checkout https://svn.openqa.org/svn/watir/trunk cd trunk/watir cp unittests/options.yml.example unittests/options.yml

Edit unittests/options.yml and set browser: safari

ruby unittests/core_tests.rb

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts