Our code needs to generate a new <div> when a network pointer event is received from the server. That’s pretty easy to do, but how do we test it? We need a way to detect whether elements have been added to the document. To do that, we start modifying our HtmlElement abstraction to search for elements.