I’d like to provide further context,the webpage does not offer a PDF download function, so it is necessary to use the screenshot method to capture the entire screen and save it as an image.
Currently we use trigger F12 and Ctrl+Shift+C, click on the desired page element, then in the element’s […] select “Capture node screenshot”.
We intend to click on the top-left corner of the webpage at coordinates (0,0) to ensure capturing the entire screen, but encounter automatic scrolling due to the presence of scroll bars.
Thanks
2024/06/11
Thank you all for the enthusiastic responses.
Currently, no one is responding, and I didn’t ask the initial question very well, so I started a new thread.
Feel free to use this in the forum!. UiPath forum.
Originally, the div was visible, but after clicking the element - CursorPosition.OffsetY:0, the scrollbar automatically moved down, causing it to become invisible.
However, if set as CursorPosition.OffsetY:1, the scrollbar remains static, but the clicked element is not what I intended.
Is that the only selector you have? That looks a bit too generic, could be the reason why the click is going to somewhere that it is not intended to. After you defined the click, try to go to edit selector then highlight element. If it is higlighting something else you would need to add more items/parameters to your slector to pinpoint what is the actual thing you want to click
Hi <div id='a'> surely exists but what I am saying is that there might be a lot of other components that can be identified with that as it is very generic.