test run completed instead of all tests complete because we don'y know that ;)
Add waitFor functions to helper scope
Attach browser errors refactor