How can I get the URL from a "browser object"?

Did you search in forum earlier about it?

May be this will answer your question.