Parmeter set:
target:<div id='a'></div>
CursorPosition-Position:TopLeft
html code
test.html (538 Bytes)
UiPath code
Main.xaml (9.2 KB)
exmaple
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
Anil_G
(Anil Gorthi)
June 11, 2024, 4:39am
2
@skaurawind
If you give the element directly in take screenshot it should take the picture of whole
Element you indicate at once…can you try the same
Cheers
Thanks your reply.
I have try
But, the div hight exceeds the screen, it cannot be captured
Anil_G
(Anil Gorthi)
June 11, 2024, 7:06am
4
@skaurawind
Then how are you trying to capture manually?
if the div height is more then it would still scroll till end even if you use cordinates
cheers
cordinates?
Do you can give me a example for UiPath?
Anil_G
(Anil Gorthi)
June 11, 2024, 7:29am
6
@skaurawind
If take screenshot si not working when you can use mouse drag and select the area you need or give position on screen as well
In old classic you can give clipping region
cheers
Html Code have change: add bottom div
<div id='a' style="opacity: 1; z-index: 1991; border: 1px solid black; width: 200px; height: 1500px; position: absolute; left: 261.5px;">
<div>header</div>
<div>1234</div>
<div style='position: absolute;bottom: 0'>1234</div>
</div>
Set Clipping Resign
Result:I can not see bottom div(new)
Anil_G
(Anil Gorthi)
June 11, 2024, 12:30pm
8
@skaurawind
If it is larger obviously even manually you cannot I guess you need to take in parts
cheers
Take in parts ?
Do you can give me a example for UiPath?
Anil_G
(Anil Gorthi)
June 12, 2024, 5:16am
10
@skaurawind
Take the screenshot screen and then scroll and take the screenshot of next part
Cheers
Probably not, my user want only one image
Thanks your reply
1 Like
Finally,use Hotkey
1.F12
2.ctrl+shift+p
3.key fill
4.save web full page
system
(system)
Closed
June 24, 2024, 1:50am
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.