theintern/leadfoot

Name: leadfoot

Owner: Intern: next-gen JavaScript testing

Description: A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.

Created: 2014-05-19 20:38:03.0

Updated: 2017-09-04 11:26:25.0

Pushed: 2017-12-05 14:41:21.0

Homepage: https://theintern.github.io/leadfoot/

Size: 1972

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Leadfoot

A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API

npm version Average time to resolve an issue Percentage of issues still open


Leadfoot logo


Intern

Unlike existing WebDriver client libraries that assume the remote server will just do the Right Thing, Leadfoot detects and works around inconsistencies in WebDriver server implementations, using native WebDriver/Selenium commands when possible, so you can just worry about making your tests work?not bugs in WebDriver servers.

Enhanced capabilities are also exposed to end-users about which features and APIs a remote environment supports, so you don?t have to browser sniff to decide whether (for example) you?re testing a touch-device or a mouse-device. Optional convenience methods are also available for use, and support for chai-as-promised is built in.

Leadfoot has been tested with the following remote drivers:

Using Leadfoot

Leadfoot can be installed and used as a stand-alone library. It is also an integral part of the Intern testing framework, which provides you with all of the tools you need to write robust unit and functional tests. Follow the instructions on writing functional tests with Intern to learn how to use Leadfoot with Intern.

Firefox, Safari, and Edge

Firefox 49+, Safari 10+, and Microsoft Edge are all on the bleeding edge of WebDriver-based browser automation. They all use relatively new drivers that implement the still-under-development W3C WebDriver standard, so feature support is spotty at times. For best results, use the most recent versions of Selenium and the browser?s native driver (geckodriver, Microsoft WebDriver, or safaridriver), and the most recent browser version in Firefox?s case.

More information
License

Leadfoot is a JS Foundation project offered under the New BSD license.

© SitePen, Inc. and its contributors


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.