aisingapore / TagUI

Free RPA tool by AI Singapore
Apache License 2.0
5.68k stars 585 forks source link

keyboard [pagedown] does not work on webpage - set focus on the web page first #1413

Closed jolo26 closed 2 days ago

jolo26 commented 5 days ago

When I use page keyboard [pagedown] command, it does not perform the pagedown on the webpage. What it does is it goes to the address bar, it will then perform the pagedown function. I think this is a bug or maybe Im using it wrong? hope someone will notice this and give comments.

kensoh commented 3 days ago

You need to use visual automation to click onto the page or some web element on the page first. Then use keyboard step. Otherwise the focus is not yet on the webpage and page down is sent to the wrong place.

kensoh commented 3 days ago

For eg clicking something on the web page to set focus to the web page click button.png

jolo26 commented 2 days ago

@kensoh thank you. it worked. Just to share additional details, when I click web elements using click , the page is still not active but when I use click , the page becomes active and the keyboard function works after that.