All Projects → watir → Watir

watir / Watir

Licence: mit
Watir Powered By Selenium

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Watir

Cfselenium
A native Selenium WebDriver binding for ColdFusion
Stars: ✭ 77 (-94.44%)
Mutual labels:  selenium
Adidas Multi Session
(Python) Program to simulate multiple sessions on adidas queue pages.
Stars: ✭ 90 (-93.51%)
Mutual labels:  selenium
Sillynium
Automate the creation of Python Selenium Scripts by drawing coloured boxes on webpage elements
Stars: ✭ 100 (-92.78%)
Mutual labels:  selenium
Docker Python Xvfb Selenium Chrome Firefox
Dockerfiles for Python 3.6/2.7 & Selenium in a headless Chrome or Firefox environment
Stars: ✭ 82 (-94.08%)
Mutual labels:  selenium
Glastoselenium
A bot for booking Glastonbury tickets using selenium
Stars: ✭ 89 (-93.58%)
Mutual labels:  selenium
Taffy
Test Automation Framework Based On Nosetests. ✨🍰✨
Stars: ✭ 94 (-93.22%)
Mutual labels:  selenium
Xebium
Xebium provides Selenium (webdriver) bindings for FitNesse, with Selenium-IDE support
Stars: ✭ 73 (-94.73%)
Mutual labels:  selenium
Wdio Screenshot
A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.
Stars: ✭ 101 (-92.71%)
Mutual labels:  selenium
Webdriverextensions
Make your WebDriver based Selenium tests more readable, reusability and maintainable by using WebDriver Extensions!
Stars: ✭ 89 (-93.58%)
Mutual labels:  selenium
Hsac Fitnesse Fixtures
An environment to define and run integration tests. It contains Fitnesse fixture (base) classes and a baseline FitNesse installation.
Stars: ✭ 99 (-92.86%)
Mutual labels:  selenium
Echo360
Commandline tool for automated downloads of echo360 videos hosted by university
Stars: ✭ 81 (-94.16%)
Mutual labels:  selenium
Instaloctrack
An Instagram OSINT tool to collect all the geotagged locations available on an Instagram profile in order to plot them on a map, and dump them in a JSON.
Stars: ✭ 85 (-93.87%)
Mutual labels:  selenium
Selenium Best Practices
For writing maintainable and scalable E2E Test.
Stars: ✭ 96 (-93.07%)
Mutual labels:  selenium
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-94.3%)
Mutual labels:  selenium
Aet
AET - a system that detects visual changes on web sites and performs basic page health checks
Stars: ✭ 100 (-92.78%)
Mutual labels:  selenium
Mybatis Spring Boot Jpetstore
A sample web application built on MyBatis 3, Spring Boot and Thymeleaf 3.
Stars: ✭ 75 (-94.59%)
Mutual labels:  selenium
Splashr
💦 Tools to Work with the 'Splash' JavaScript Rendering Service in R
Stars: ✭ 93 (-93.29%)
Mutual labels:  selenium
Zhishiwenda Helper
百万英雄/冲顶大会/知识超人 答题助手 瞬间使用Chrome打开百度
Stars: ✭ 102 (-92.64%)
Mutual labels:  selenium
Pulsar
Turn large Web sites into tables and charts using simple SQLs.
Stars: ✭ 100 (-92.78%)
Mutual labels:  selenium
Amazonrobot
Amazon商品引流的 python 爬虫
Stars: ✭ 97 (-93%)
Mutual labels:  selenium

watir

Watir Powered By Selenium!

Gem Version All Tests Code Climate Coverage Status

Using Watir

This README is for people interested in writing code for Watir or gems in the Watir ecosystem that leverage private-api Watir code.

For our users, everything you'll need is on the Watir website: examples, news, guides, additional resources, support information and more.

Procedure for Patches/Pull Requests

  • Fork the project.
  • Clone onto your local machine.
  • Create a new feature branch (bonus points for good names).
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so we don't unintentionally break it in a future version.
  • Commit, do not change Rakefile, gemspec, or CHANGES files, we'll take care of that on release.
  • Make sure it is passing doctests.
  • Make sure it is passing rubocop.
  • Push to your forked repository.
  • Send a pull request.

Developing Extensions

When developing a gem intended to be used with Watir, you can run your code with WatirSpec to make sure that requiring your code does not break something else in Watir.

First, add WatirSpec Rake tasks to your gem:

# Rakefile
require 'watirspec/rake_tasks'
WatirSpec::RakeTasks.new

Second, initialize WatirSpec for your gem:

$ bundle exec rake watirspec:init

This command will walk you through how to customize your code.

Automatic Element Generation

The majority of element methods Watir provides is autogenerated from specifications. This is done by extracting the IDL parts from the spec and processing them with the WebIDL gem.

Generated elements are currently based on the following specifications:

  • HTML (lib/watir/elements/html_elements.rb)
  • SVG (lib/watir/elements/svg_elements.rb)

To run:

$ bundle exec rake html:update
$ bundle exec rake svg:update

Specs

Github Actions

Watir specs are run with Github Actions.

Watir code is tested on Linux with latest versions of supported browsers and all active Ruby versions.

Doctests

Watir uses yard-doctest to directly test our documentation examples.

mkdir ~/.yard
bundle exec yard config -a autoload_plugins yard-doctest
rake yard:doctest

Coveralls

Watir code is run through Coveralls to encourage PRs to ensure all paths in their code have tests associated with them.

Rubocop

Watir is using Rubocop to ensure a consistent style across the code base. It is run with our minimum supported Ruby version (2.3) We have some established exceptions that might need to be tweaked for new code submissions. This can be addressed in the PR as necessary.

Statistics

Element specs are run with Selenium Statistics gem to verify that changes to the code do not dramatically decrease the performance based on wire calls.

Copyright

See LICENSE for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].