Added wait for page to load instead of hardcode sleep in test case helper class