captureVisibleTab not working in Chrome App

71 views
Skip to first unread message

John

unread,
Mar 14, 2017, 8:10:27 PM3/14/17
to apps-dev

When I use chrome.tabs.captureVisibleTab(....) in a Chrome App, it throws an exception TypeError: Cannot read property 'captureVisibleTab' of undefined. However, it works fine in Chrome Extensions.


Is there any restriction for the usage of chrome.tabs.captureVisibleTab(...) in Chrome Apps?

Rahul Chaturvedi

unread,
Mar 15, 2017, 5:18:42 PM3/15/17
to John, apps-dev
chrome.tabs is not available to Chrome apps. That API doesn't make sense for apps. 
Reply all
Reply to author
Forward
0 new messages