Tutorial: View.inspectSharedWorkerById

View.inspectSharedWorkerById

Inspects the shared worker based on its ID.

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://mdn.github.io/simple-shared-worker/index2.html');

    const sharedWorkers = await view.getSharedWorkers();
    await view.inspectSharedWorkerById(sharedWorkers[0].id);