browser-test-helpers
A small set of generic test helpers for browser interaction tests.
api
var help = new BrowserTestHelpers()
help.click(element[, options])
Simulates a click event on the given element
.
var button = documenthelp
help.fillIn(element, value)
Fills in an field with the given value
.
var input = documenthelp
help.triggerEvent(element, type[, options])
Triggers the type
of event on the given element
.
var input = documenthelp
help.keyEvent(element, type[, options])
Triggers a KeyboardEvent
on the given element
.
var el = documenthelp
license
(c) 2015 Kyle Robinson Young. MIT License