import web.mshtml;

html = web.mshtml( )
html.write("
	<div id='test'>测试</div>
")

qEle = html.queryEles(id = "test")

io.open() 
io.print("找到节点", qEle[1].innerHTML )

execute("pause") //按任意键继续
io.close();//关闭控制台

 