Can't interact with dialog
See original GitHub issueI am opening dialog in my app like this:
const path = dialog.showOpenDialog(remote.getCurrentWindow(), {
title: i18n.t("Where do you want to save it?"),
properties: ['openDirectory', 'createDirectory']
});
And I cannot find way to select directory in tests. I tried using webdriverio’s keys
with no luck. I thought that maybe electron creates second window and that’s why I can’t interact with it but by using client.getWindowCount()
it founds only 1 window. Any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:12
Top Results From Across the Web
Can't click anything on a dialog box or something like that
Hello, I am using a windows 8.1 and whenever I try to click something on a dialog box, nothing happens, for example when...
Read more >We've got an update for you, can't click on anything.
Just today i got this dialogue box and i was unable to click on any of the options in the dialogue box. What's...
Read more >Can't interact with dialog · Issue #23 · electron-userland/spectron
I am opening dialog in my app like this: const path = dialog.showOpenDialog(remote.getCurrentWindow(), { title: i18n.t("Where do you want to ...
Read more >Mac OS Big Sur - Dialog box not responding to mouse clicks
I have noticed that dialog boxes which open up for File Open or File Save As functionality in various applications do not respond...
Read more >Fix: Word Can't do This Because a Dialog Box is Open
What does it mean when Word says a dialog box is open? · There is another instance of the same Word document open....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See #94 for a somewhat graceful way of mocking dialogs for the moment.
There is also spectron-dialog-addon which is a newer fork of spectron-fake-dialog but it only supports electron up to 6 and I am on electron 9 and I didn’t get it to work.