@salesforce/salesforcedx-vscode-test-tools
Version:
Test automation framework for Salesforce Extensions for VS Code
9 lines (8 loc) • 414 B
TypeScript
/**
* 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>;