In one of my test case I hit the rest API using restAssured and the API always returns the response in pure HTML. The returned HTML is basically the source of a valid page. Now I can't use
webDriver.get(URL); method since I don't have a direct URL.
Does selenium provide any such method in which I can open the HTML source directly in the browser instead of providing a URL?