1.0.1 • Published 9 years ago

effroi-as-promised v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Effroi-as-promised is a lightweight wrapper around the effroi device event simulation library that results in promises for all device operations. Additionally, it provides support for jquery so that effroi operations can be invoked on elements using complex selectors. This is expected to be used with a javascript loader like webpack, and since effroi hasn't published a distribution, likely with karma-effroi.

Usage

var effroiAsPromised = require('effroi-as-promised')(effroi);
effroiAsPromised.click($('.something'))
	.then(function(){ return effroiAsPromised.click($('.else'))})
	.then(function(){ return effroiAsPromised.click($('.again'))});
1.0.1

9 years ago

1.0.0

9 years ago