add Locator class and helper and update page_loads to use webdriverwait