Unable to take a screenshot of InAppBrowser


#1

I am loading a URL in InAppBrowser and trying to take a screenshot of the webpage loaded in the InAppBrowser. When i take a screenshot of the webpage, it is always taking the screenshot of the underlying window (Main page of the app).
Is there any proper way to take a screenshot of InAppBrowser?