Closed doanchu closed 6 years ago
Hi @doanchu, this isn't possible in nightmare right now. Nightmare runs on the main frame using the default execution context. Here's a diagram:
window.chrome
would be available in the extension execution contexts.
Do you know how to set this up in electron? If so, please provide an example and I can help you set it up in nightmare.
Going to close this since this issue is getting stale. Please feel free to reopen if you're still running into this problem and have additional information for us :-)
Chrome is not defined when trying to access window.chrome object. It seems Electron support some chrome.* APIs. How is it possible that chrome is not defined when using nightmarejs?