随笔-37  评论-3271  文章-0  trackbacks-0

alert('Enable record all left mouse clicks with wait operations');
Recorder.removeEventHandler('clickLocator');
Recorder.addEventHandler('clickLocator', 'click',
function(event) {
//alert('event.button' + event.button);
if (event.button == 0) {
this.clickLocator = this.findLocator(event.target);
this.record("clickAndWait", this.clickLocator, '');
}
}, { capture: true });

posted on 2012-01-05 23:04 BeanSoft 阅读(1410) 评论(0)  编辑  收藏 所属分类: Open Source

只有注册用户登录后才能发表评论。


网站导航: