webpage.setContent() should be able to receive a DOM element