wait for new url takes string