Removed sleeps, fixed bugs, changed some locators to use CSS