I am working on some code which returns an `HTML` string (`my_html`). I want to see how this looks in a browser using <https://doc.scrapy.org/en/latest/topics/debug.html#open-in-browser>. To do this I've tried to create a response object with body set to '`my_html`'. I've tried a bunch of things including:

```
new_response = TextResponse(body=my_html)
open_in_browser(new_response)

```

based on the response class (<https://doc.scrapy.org/en/latest/topics/request-response.html#response-objects>). I'm getting:

```
new_response = TextResponse(body=my_html)
  File "c:\scrapy\http\response\text.py", line 27, in __init__
    super(TextResponse, self).__init__(*args, **kwargs)
TypeError: __init__() takes at least 2 arguments (2 given)

```

How can I get this working?