You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something I'm interested in to be able to screenshot all or specific tabs from cli/scripts.
perhaps it's only possible to capture the active tab? At least I found chrome.tabs.captureVisibleTab
and the base64 image could be sent back
Edit: testing this hacking a bit on background.js and is straightforward enough. Just need to figure out whether the first arg for windowId should be provided by cli, or maybe getLastFocused() and return the window and tab id for reference along with image data. Maybe write the image to f'{client_id}.{window_id}.{tab_id}.png'
The text was updated successfully, but these errors were encountered:
This is something I'm interested in to be able to screenshot all or specific tabs from cli/scripts.
perhaps it's only possible to capture the active tab? At least I found chrome.tabs.captureVisibleTab
and the base64 image could be sent back
Edit: testing this hacking a bit on background.js and is straightforward enough. Just need to figure out whether the first arg for windowId should be provided by cli, or maybe getLastFocused() and return the window and tab id for reference along with image data. Maybe write the image to f'{client_id}.{window_id}.{tab_id}.png'
The text was updated successfully, but these errors were encountered: