Skip to content

Commit bde5810

Browse files
zewa666corevo
authored andcommitted
docs(plugin): describe workaround for save dialog bug
this adds a description on how to workaround the current chrome bug of having to reply to external messages from the IDE in order to properly continue with the save dialog callback Related issue #607
1 parent 861cc89 commit bde5810

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/introduction/faq.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,14 @@ __NOTE: If you already have the plugin installed (e.g., on the laptop you're try
6262
* [Download instructions for the required ".crx" installer](https://stackoverflow.com/questions/25480912/how-to-download-a-chrome-extension-without-installing-it)
6363

6464
__NOTE: you can't obtain the ".crx" file directly from the Chrome store. Instead, you need to install it once locally, and then go to the installation directory on your machine to retrieve it.__
65+
66+
### Why does no save dialog appear once a plugin is attached?
67+
Due to a current [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=922373), if you don't reply to the emitted message from Selenium IDE, further processing won't happen. In order to workaround the issue, make sure to listen for the action `emit` with the entity `project` and reply with `true`:
68+
69+
```javascript
70+
chrome.runtime.onMessageExternal.addListener((message, sender, sendResponse) => {
71+
if (message.action === "emit" && message.entity === "project") {
72+
sendResponse(true);
73+
}
74+
});
75+
```

0 commit comments

Comments
 (0)