AboutSupportDeveloper GuideVersion 18.0.9
  • 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