3n-mb

Results 24 comments of 3n-mb

It is possible to redirect client to other window by "focusing" function `app.client.windowByIndex(0)` But: - There is a bug. After this refocusing of client on a different window, console's calls...

Would it be better to rename `app.client.windowByIndex(...)` to `app.client.targetWindowByIndex(...)`, or to `app.client.targetWindow(...)` ?

Yes, @MarshallOfSound . Quote, **_The 0 index thing is a bit misleading**_, needs to change. It would be wonderful to have targeting methods to use some unique identifiers from handlers,...

@MarshallOfSound now you are talking business! There is even a current target/handle available! [client.windowHandle()](http://webdriver.io/api/protocol/windowHandle.html). Although, in docs we should mention that it is WebDriver's API that deals with multiple windows/tabs....

@callahad want to add that current MailerId IdP's code uses direct relationship between IdP and a user, i.e. there is no "confirmation email loop". In this way our code basis...

I want to note that my global npm modules have only typescript inside (habit of keeping everything local). Can't think of any interference.

And removing `contextIsolation` allows your code run.

Here is my package lock to reproduce environment: ```json { "name": "sandbox-preload-extended", "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "@types/node": { "version": "8.9.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-8.9.3.tgz", "integrity": "sha512-wqrPE4Uvj2fmL0E5JFQiY7D/5bAKvVUfWTnQ5NEV35ULkAU0j3QuqIi9Qyrytz8M5hsrh8Kijt+FsdLQaZR+IA==", "dev": true...

Can this be an electron bug? And on which side?

@kewde - It all works with electron 1.7.12 (removed `^`), confirmed on linux x64. - Removing `sandbox`, and `--enable-sandbox` flag on 1.8.2 still produces same error. May be it is...