UNPKG

@salesforce/salesforcedx-vscode-test-tools

Version:
9 lines (8 loc) 414 B
/** * Clicks a button on a modal dialog with the specified button text. * * @param buttonText - The text of the button to be clicked on the modal dialog. * @returns A promise that resolves when the button click action is completed. * @throws Will throw an error if the modal dialog is undefined. */ export declare const clickButtonOnModalDialog: (buttonText: string, failOnError?: boolean) => Promise<void>;