How can I close a tab through chrome dev tools protocol?I'm using chrome dev tools for android.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/553f2226-113a-4115-ac32-837f50fcbec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How do you connect over remote debugging protocol?
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CABc02_KA9Nw2Wy059LiEWFtHh35jeY%3DkAk45C4bimE5Xyg5z-A%40mail.gmail.com.
How do you connect over remote debugging protocol?
On Jul 12, 2014 9:55 PM, "PhistucK" <phis...@gmail.com> wrote:
The Developer Tools protocol is not meant for controlling the browser, but only for controlling the page, so I do not think there is an explicit way to do it.As far as workarounds go, you can try evaluating window.close(); or adding a function that calls the same function as a click event listener and use the screencasting feature for clicking on the element to which you added that click event listener.
☆PhistucK
On Sat, Jul 12, 2014 at 1:01 PM, Oren Bilgoray <bil...@gmail.com> wrote:
How can I close a tab through chrome dev tools protocol?I'm using chrome dev tools for android.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/553f2226-113a-4115-ac32-837f50fcbec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Do you know what the "close" page in the web inspector doing?
On Saturday, July 12, 2014 8:58:12 PM UTC+3, pfeldman wrote:How do you connect over remote debugging protocol?
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/06debf13-3d15-4f9c-aa2f-d10d316afc77%40googlegroups.com.
It issues http get at /json/close/<target_guid>
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/d0bf1f5b-1195-4a4e-a24b-ca850623e941%40googlegroups.com.
I don't think you can. You could try using chrome.tabs extensions api for automation instead - it would give you more options.
Pavel
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/cb146ee6-cd95-4e79-b581-458896f859c1%40googlegroups.com.
No. But in Chrome for Android tabs are (currently) sorted by last access time, so the first one is topmost.
Pavel