Home Manual Reference Source
public class | source

GlobalSearchPage

Extends:

* → GlobalSearchPage

GlobalSearchSection

Constructor Summary

Public Constructor
public

constructor(browser: *)

Method Summary

Public Methods
public
public
public

Checks if chat icon is available within the contact element

public

async scrollAndfindContact(name: String): PageElement

Scroll and find contact in global search dropdown

public
public

async searchContact(name: name): PageElement

Search and return contact element if found

public
public

async selectContact(name: String)

Search and select a contact from global search

public

async typeInSearchField(name: String)

Type in global search field

Public Constructors

public constructor(browser: *) source

Params:

NameTypeAttributeDescription
browser *

Browser from controller

Public Methods

public contactListElements(): * source

Return:

*

public emptyMessage(): * source

Return:

*

public async isContactChattable(name: String): Boolean source

Checks if chat icon is available within the contact element

Params:

NameTypeAttributeDescription
name String

name of the contact

Return:

Boolean

whether chat icon exists or not

public async scrollAndfindContact(name: String): PageElement source

Scroll and find contact in global search dropdown

Params:

NameTypeAttributeDescription
name String

name of the contact to search for

Return:

PageElement

contact PageElement

public scrollDivision(): * source

Return:

*

public async searchContact(name: name): PageElement source

Search and return contact element if found

Params:

NameTypeAttributeDescription
name name

Name of the contact to search for

Return:

PageElement

contact page element

public searchInput(): * source

Return:

*

public async selectContact(name: String) source

Search and select a contact from global search

Params:

NameTypeAttributeDescription
name String

name of the contact

public async typeInSearchField(name: String) source

Type in global search field

Params:

NameTypeAttributeDescription
name String

Name to search for