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 阅读(1425)
评论(0) 编辑 收藏 所属分类:
Open Source