Tutorial: View.inspectServiceWorker

View.inspectServiceWorker

Opens the developer tools for the service worker context.

Example

    const view = await fin.View.create({
        name: 'viewName',
        target: fin.me.identity,
        bounds: {top: 10, left: 10, width: 200, height: 200}
    });

    await view.navigate('http://googlechrome.github.io/samples/service-worker/basic/index.html');

    await view.inspectServiceWorker();