• Randomly activate audio from one tab at time.

    Parameters

    • sessions: Map<number, Session>

      The sessions Map

    • randomAudioPeriod: number

      If set, the function will be called in loop

    • randomAudioProbability: number

      The activation probability

    • randomAudioRange: number

      The number of pages to include into the automation

    Returns Promise<void>