Skip to content
Discussion options

You must be logged in to vote

I deal with this dialog like this (need to wait for it first):

const modalWnd = By.className("monaco-dialog-box");
await driver.wait(until.elementLocated(modalWnd), 10_000);
const dialog = new ModalDialog();
await dialog.pushButton("Open");

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laura-codess
Comment options

Answer selected by laura-codess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants