New issue
Advanced search Search tips

Issue 883636 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

How to get real-time url in new tab when new tab creation occurs

Reported by bfpiao...@gmail.com, Sep 13

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36

Steps to reproduce the problem:
When I use the headless api,I want to get real-time url information,But the interface can only use http://127.0.0.1:9222/json to get the id of the websocket connection, and then use id to get the url information, but in some cases, a new tab will be generated. I can only pass http:// 127.0.0.1:9222/json to get the new tab id, but this efficiency is the bottom, because you need to constantly send http request to determine whether there is a new tab generation,

Is there an interface or method to get the real-time websocket id when the new tab is created?

What is the expected behavior?

What went wrong?
he is too slow

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 69.0.3497.92  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Labels: Needs-Triage-M69
Cc: phanindra.mandapaka@chromium.org
Components: Internals>Headless
Labels: Triaged-ET
Cc: vamshi.kommuri@chromium.org
Labels: TE-NeedsTriageHelp
From comment#0 & #2 this seems to be an Headless related, hence adding label "TE-NeedsTriageHelp" and requesting someone from respective team to have a look into this and help in further triaging it.

Thanks!

Sign in to add a comment