I tried
XTYPE ${KEY_PAGE_DOWN}
on the page, but it’s not working
Make sure the browser has the focus. Here I use a very simply XClick (1,1) for it. It just clicks in the top right corner of the web page.
{
"Name": "scrolldown",
"CreationDate": "2019-7-18",
"Commands": [
{
"Command": "open",
"Target": "https://www.aliexpress.com/category/200001648/blouses-shirts.html",
"Value": ""
},
{
"Command": "XClick",
"Target": "1,1",
"Value": ""
},
{
"Command": "XType",
"Target": "${KEY_PAGE_DOWN}${KEY_PAGE_DOWN}${KEY_PAGE_DOWN}${KEY_PAGE_DOWN}",
"Value": ""
}
]
}
Just for completeness and as cross-reference: Other options are listed here:
I have the same problem after i close a popup with Xtype shift+tab key to select the button and xtype enter to close it. I tried Xclick on the page, BringBrowserToForeground and nothing seems to work. Is there any value or target i should add to the BringBrowserToForeground command?
There are a large amount of solutions to close a popup need to try all ways and use the best.way.