AboutSupportDeveloper GuideVersion 15.0.11
  • Synchronously returns a Platform object that represents the current platform.

    import * as WorkspacePlatform from '@openfin/workspace-platform';
    // get current Workspace Platform
    const workspacePlatform = WorkspacePlatform.getCurrentSync();
    // do something with workspacePlatform. e.g. get snapshot of browser window with pages
    const snapshot = await workspacePlatform.getSnapshot();

    Returns WorkspacePlatformModule