ModalDialog - redhat-developer/vscode-extension-tester GitHub Wiki
Only available if you have the custom dialog style enabled, use "window.dialogStyle": "custom"
in the settings to do so.
Look up
const dialog = new ModalDialog();
Get the contents
// get the message (the bold text)
const message = await dialog.getMessage();
// get the details (the not so bold text)
const details = await dialog.getDetails();
// get the button web elements
const buttons = await dialog.getButtons();
Push a button
// push button with a given title
await dialog.pushButton("Save All");