Bug 24131 - adding getCurrentUrl method to the spec