Nightwatch Visual Regression Testing tools
Utility function which waits for a condition to be met by delay frequency and within timeout.