aisingapore / TagUI

Free RPA tool by AI Singapore
Apache License 2.0
5.56k stars 578 forks source link

keyboard [ctrl]v pastes in address bar - set textbox in focus using visual automation #1274

Closed limengtaylor closed 2 weeks ago

limengtaylor commented 2 years ago

https://www.wangeditor.com/demo/index.html wait 2 click //*[@id="w-e-element-0"] clipboard('some text') keyboard [ctrl]v wait 2 snap page to editor.png image

limengtaylor commented 2 years ago

https://www.wangeditor.com/demo/index.html wait 2 click //*[@id="w-e-element-0"] clipboard('some text') keyboard [ctrl]v wait 2 snap page to editor.png image

I find the reason is that 'the web url is selected,the focus is on the web address bar' image image

ruthtxh commented 2 years ago

Hi @limengtaylor You have to set the textbox in focus first by doing a visual automation click before you use keyboard step. First you have to take a snapshot of the textbox and put in the same folder as your flow file. Then do:

click textbox.png
keyboard [ctrl]v

sample of textbox.png: image

FYI the visual automation click will happen right in the center of the image.

limengtaylor commented 2 years ago

textbox

Thanks ,it can solve the problem。

kensoh commented 2 weeks ago

Closing but please ping back if this is still relevant or an issue.