Skip to content

watir/watir_css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WatirCss

A CSS based locator engine for watir.

By default Watir translates location approaches into XPath. This gem will replace XPath calls with CSS calls where possible.

Some locator strategies supported by Watir cannot be reimplemented with watir_css. In such cases, it falls back to the XPath implementation in Watir.

Installation

Add this line to your application's Gemfile:

gem 'watir_css'

And then execute:

$ bundle

Or install it yourself as:

$ gem install watir_css

Usage

require 'watir_css'

Specs

WatirCss will run watirspecs from Watir project:

$ bundle exec rake spec

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/watir/watir_css. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

About

CSS locator engine for Watir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages