How to store url obtained through "current url = WebUI.getUrl() " in test data(in Data files)

Just for your interest