Identify the url correctly and open it in browser