»User:
»Password:
Remember Me? 
FireShot - Full webpage screenshot tool support forum / FireShot Browser Extension / Premium Support

FireShotAPI.capturePage,How to take a screenshot of the div element I specified

Pages: 1
Posted:  02 Mar 2024 18:53
Fireshot Pro for chrome v.1.12.18(64-bit)
Windows11 64
Chrome 122.


https://github.com/susbox/FireShot-API

I have added a div element whose id is testId to the official example demo2.

<div id="testId" style="border: 2px solid red;margin: 10px ; height: 200px;width: 300px;" class="testDivClass">
                           ........
        </div>


Then use the following two kinds of code to take a screenshot of the div testId. In the end, there is no screenshot for the specified element.

1.code :  FireShotAPI.capturePage(true, cFSEdit, "testId", undefined, mycallback);
2.code: FireShotAPI.capturePage(flase,acFSEdit, "testId", undefined, mycallback);


May I ask:
FireShotAPI.capturePage= function (EntirePage, Action, CapturedDivElementId, Data, Callback)
What does each parameter in the method mean?
What kind of form should it be?
Where can I have relevant reference documents?


Thanks!
Pages: 1

 

 

This is the Premium Support area for the users who have purchased FireShot Pro or Screenshot Studio products.

Please Login or Register to see a full thread.

 

 



Recent topics Replies Views Last Poster
Mac Safari的网页保存为PDF后,有些文字不能够被选中
3 607
Fireshot not fully loaded after screenshot
3 510
Where is the annotation editor for Mac?
1 420
1-Click Saves?
2 481
Full Page SS File Type MS DOS?
1 491
can we print taken screenshot without user pressing button?
1 421
Get Page without Table of Content - without Cropping
3 495
Filename options not working when using Capture list of URLs...
9 721
capture picture-page
1 496
Managing Multiple Licenses
3 623