添加事件模拟器类
add takeScreenShot function
fix some error