wait for javascript to be loaded after visiting each page in postcode_picker_spec