Giter VIP home page Giter VIP logo

webdriver_utils's Introduction

webdriver_utils Gem Version Build Status Dependency Status

WebDriver utility methods.

  • require 'webdriver_utils'

example

Example tests that use webdriver_utils. This repo is part of a larger angular_automation effort although it can be used standalone.

methods

method description
sauce_user returns ENV['SAUCE_USERNAME']
sauce_key returns ENV['SAUCE_ACCESS_KEY']
sauce? returns true if both sauce_user and sauce_key are true
jenkins? returns true if running on jenkins
WebDriverUtils.require_all_pages requires all page files from Rakefile root dir
WebDriverUtils.define_page_methods defines page methods
wait generic wait until truthy method
WebDriverUtils::Wait.new selenium webdriver wait with extra validation

webdriver_utils's People

Contributors

bootstraponline avatar

Stargazers

Samuel Lourenço avatar Mikey Hargiss avatar Sergey Morozov avatar

Watchers

James Cloos avatar  avatar

webdriver_utils's Issues

Improve wait timeout error message

This waited for 4 seconds, not 0.1.

w = Selenium::WebDriver::Wait.new timeout: 0.1
w.until { sleep 4; false }
Selenium::WebDriver::Error::TimeOutError: timed out after 0.1 seconds

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.