protractor-wait-helpers
v0.0.1
Published
Helper functions for wait()ing with expected conditions using Protractor
Downloads
8
Maintainers
Readme
protractor-wait-helpers
Wait helper functions for Protractor tests using expected conditions.
These functions are an extremely small wrapper around Protractor ExpectedConditions.
##Arguments
- "el" is an protractor element()
- "text/value" are strings that the element will wait to have
- "timeout" is an integer length to wait in ms
##Functions
- waitForElementText: function (el, text, timeout)
- waitForElementValue: function (el, value, timeout)
- waitForElementVisible: function (el, timeout)
- waitForElementClickable: function (el, timeout)
- waitForElementSelected: function (el, timeout)
##TODO: Code Example