/** * Checkbox class */ export declare class Checkbox { /** * Returns if checkbox is selected or not * ```js * Checkbox.iSCheckBoxSelected("#checkbox") * ``` * @param {String} locator located by CSS|XPath|strict locator. */ static iSCheckBoxSelected(locator: string): Promise; /** * Returns true if checkbox is selected, else returns false * ```js * Checkbox.isCheckboxChecked("//input[@type='checkbox']") * ``` * @param {String} locator located by CSS|XPath|strict locator. */ static isCheckboxChecked(locator: string): Promise; /** * Verifies that the specified checkbox is not checked. * ```js * Checkbox.dontSeeCheckboxIsChecked("//input[@type='checkbox']") * ``` * @param {String} locator located by label|name|CSS|XPath|strict locator. */ static dontSeeCheckboxIsChecked(locator: string): Promise; /** * To select all checkboxes * * ```js * * Checkbox.selectAll("Invoice Status") * ``` * * @param {String} checkboxCollectionHeader header label * */ static selectAll(checkboxCollectionHeader: string): Promise; /** *  To Search and select a checkbox * ```js * await Checkbox.searchSelect("Status","Invoice Status","Approved") * await Checkbox.searchSelect("Status","Invoice Status") * ``` * @param {string}checkboxCollectionHeader * @param {string[]}checkboxToSelect */ static searchSelect(checkboxCollectionHeader: string, ...checkboxToSelect: string[]): Promise; /** * To select a particular checkbox directly without searching * ```js * await Checkbox.selectDirectly("Invoice Status","Not Invoiced","Approved") * await Checkbox.selectDirectly("Invoice Status","Not Invoiced") * ``` * @param {string}checkboxCollectionHeader * @param {string[]}checkboxToSelect */ static selectDirectly(checkboxCollectionHeader: string, ...checkboxToSelect: string[]): Promise; /** * To select multilevel checkbox * * ```js * * Checkbox.selectMultilevelCheckbox("In Process","In Approval") * ``` * * @param {*} param for checkbox to select * @param {...any} multiple Values for checkbox to select (array) */ static selectMultilevelCheckbox(param: string, ...params: any): Promise; }