Added wait for pageobjects