I am using uiautomation module to get url from browser. As per the microsoft UIA documentation, An application can listen to an event change and run callbacks w
uiautomation