I need to right click on chrome and i am trying to click reload from the menu using F2 key and click activity.
But right clicking performing successfully, for clicking reload it was throwing an error that: Uielement is no longer valid:
yeah obviously i know to handle this on some other way and also i did it. I want to know why this right click and selecting the menu is not working for me.
Will you help me in this error !!!
how can click reload only using mouse.
@Palaniyappan
I knew it bro.
But tell me why this is not working !
Right Click-Reload (or) open in new window (or) any menu options
Why its not working throws me an error “Uielement is not valid” what did i wrong?
Could you try to post a screenshot again?
I think I understand your scenario. Basically, this is your scenario:
Start capturing selector
Press F2 to pause it for 3 seconds
Right click a menu in Chrome
Wait…
Choose your element
After you do the 5., Studio throws Uielement is no longer valid. This happens most likely because the menu got closed before the selector could have been captured.
It would help to see which right click menu is it.
@loginerror
sorry right now i cant post any screenshot.
browser : Chrome
think like any webpage say google.com
and assume i want to do right click on that image of google and i want to select a right click menu as “Open image in New Tab”
But whatever you are saying is exactly correct that’s the problem I’m facing.
Let me know how can we solve this.
Please try input type as Send Window Message while clicking on Reload button. Default is not working for me. You can also try sending hotkey ctrl+R to reload the page.
If you want to open any link in new tab, then try ctrl+Click on that particular link instead of normal click or trying right click and then Open in new tab.
In key modifiers property of click, you can check ctrl to perform above action.
Yeah bro i knew it theoretically and i read the document as well.
But still i didn’t get what really send windows messages helping here ? Simulate click also not working for this case , i tried !!!
Why default method failed here?