I have written following code to find and get the div element with id vcr_data from html string. When I try to append that div to html tag, it's getting printed as follows instead of the stringified div:
div
vcr_data
html string
html
... [object HTMLDivElement]