Created
May 31, 2014 13:35
-
-
Save banzalik/52450ed248ccd88160d6 to your computer and use it in GitHub Desktop.
gemini
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gemini = require('gemini'); | |
gemini.suite('twitter', function(suite) { | |
suite | |
.setUrl('/') | |
.setCaptureElements('body') | |
.before(function(actions, find) { | |
this.button = find('.twitter'); | |
}) | |
.capture('plain') | |
.capture('hovered', function(actions, find) { | |
actions.mouseMove(this.button); | |
}) | |
.capture('pressed', function(actions, find) { | |
actions.mouseDown(this.button); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment