无法在imacros中按textarea输入键

时间:2018-02-14 05:29:42

标签: imacros

我只是试图在firefox中使用imacros来输入回车键但是不起作用。 我的div的照片是:

The image of my div

我尝试使用以下代码:

EVENT TYPE=KEYPRESS SELECTOR="HTML>BODY>#number>DIV:nth-of-type(5)>DIV:nth-of-type(3)>DIV:nth-of-type(2)>textarea" KEY=13

但不行,为什么不使用imacros进行按键操作。 我的版本是: 8.9.7

1 个答案:

答案 0 :(得分:0)

有时其他关键事件类型可能有所帮助:

EVENT TYPE=KEYDOWN SELECTOR="HTML>BODY>#number>DIV:nth-of-type(5)>DIV:nth-of-type(3)>DIV:nth-of-type(2)>textarea" KEY=13

EVENT TYPE=KEYUP SELECTOR="HTML>BODY>#number>DIV:nth-of-type(5)>DIV:nth-of-type(3)>DIV:nth-of-type(2)>textarea" KEY=13
相关问题