Skip to content

Commit 340eadf

Browse files
zewa666corevo
authored andcommitted
docs(plugin): respond with undefined instead true
1 parent bde5810 commit 340eadf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/introduction/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ __NOTE: If you already have the plugin installed (e.g., on the laptop you're try
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.__
6565

6666
### 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`:
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 `undefined`:
6868

6969
```javascript
7070
chrome.runtime.onMessageExternal.addListener((message, sender, sendResponse) => {
7171
if (message.action === "emit" && message.entity === "project") {
72-
sendResponse(true);
72+
sendResponse(undefined);
7373
}
7474
});
7575
```

0 commit comments

Comments
 (0)