the dataUrl is undefined and the error is: 'Unchecked runtime.lastError: No active web contents to capture'.
The tab is still active, though, i can't update its properties such as 'highlighted' or 'selected'. Another weird finding is the tab's windowId is different from the only window's id?
how to fix it or any other ways to capture screenshot of tab?
Hi, I'm trying an extension to capture screenshot of an active tab. the following code worked on Windows Edge but not on Android Kiwi Browser:
https://developer.chrome.com/docs/extensions/reference/tabs/#method-captureVisibleTab
the dataUrl is undefined and the error is: 'Unchecked runtime.lastError: No active web contents to capture'.
The tab is still active, though, i can't update its properties such as 'highlighted' or 'selected'. Another weird finding is the tab's windowId is different from the only window's id?
how to fix it or any other ways to capture screenshot of tab?