-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to multiple windows in parallel #31
Comments
The port decides the Chrome instance while you can attach to a specific tab/window using the Now, in parallel means that you will have several instances of the client:
|
Exactly, but how would you differentiate between windows? Can you specify to which window can Chrome connect to, and can multiple Chrome be connected to the same chromium browser? |
There's no such thing as windows for what concerns the remote debugging protocols, only tabs, be them part of the same window or not. You can obtain the list of the currently opened tabs for a given browser instance identified by a port with |
Ok thank you, will try. It is a bit of an issue, because as I understand, nw.js is build on chromium but it does not support tabs. |
Different windows of the same Chrome instance are considered tabs. Try this:
If that's the case you can use the method I described above. |
Thx again. |
I am having a little bit of trouble with never versions of nw.js - chromium and how to open my app inside of it. Works with version 0.12.3:
But with never versions ( > 0.12.3), url that is used for oppening app does not use file. First window that is successfully opened:
Version 0.12.3
Any suggestions on how to successfully open my app in new window? |
I don't know, I've never used NW.js but I think you can always start a new application with You should post a message on the NW.js mailing list, this doesn't seem to concern chrome-remote-interface. |
Well I dont want to do that through nw, but with this library, because Chrome.New opens a new window. When ran with nw, it will open up a new browser. Ok thank's for your help. |
Is it possible to connect to multiple chromium windows at the same time? Now we connect to a chromium browser through --remote-debugging-port, and we would like to run multiple evaluation tests on multiple windows at the same time.
Any suggestions?
The text was updated successfully, but these errors were encountered: