Home Manual Reference Source
public class | source

AvailabilityController

Extends:

* → AvailabilityController

Constructor Summary

Public Constructor
public

constructor(args: args)

Adds the browser to the controller from the Base Controller constructor.

Member Summary

Public Members
public

Method Summary

Public Methods
public

Changes account status to 'Available' for calls/chats

public

async changeStatusDND()

Changes account status to 'Do Not Disturb' for calls/chats

public

async getStatus(): String

Gets the availability status of the user

Public Constructors

public constructor(args: args) source

Adds the browser to the controller from the Base Controller constructor. This then gets pushed into the various page objects and is ultimately used there to make calls to the actual browser.

Params:

NameTypeAttributeDescription
args args

Args from client

Public Members

public headerPanel: * source

Public Methods

public async changeStatusAvailable() source

Changes account status to 'Available' for calls/chats

public async changeStatusDND() source

Changes account status to 'Do Not Disturb' for calls/chats

public async getStatus(): String source

Gets the availability status of the user

Return:

String

String containing status(AVAILABLE/DO_NOT_DISTURB)