Added waitForVaadin functionality for selenium tests