Added wait function to test + Xpath

Lets it load up required element. Using xpath instead of ID to locate
elements