Tab management questions
See original GitHub issueCan you verify the following?
CDP.List
,CDP.New
,CDP.Activate
,CDP.Close
use the HTTP transport- although on headless Chrome,
CDP.New()
fails for me with:Error: Could not create new page
- although on headless Chrome,
CDP()
returns a websocket connection to the currently active tabCDP().Target.createTarget({url: 'about:blank'})
creates a new tab, and returns{ targetId: 'some-hash' }
- but I can’t connect to that new tab with
CDP({tab: {targetId: 'some-hash}})
, I have to query all the tabs to get thewebSocketDebuggerUrl
URL of that matching targetId/id first?
- but I can’t connect to that new tab with
- can I maintain websocket connections to multiple tabs doing something like:
CDP.List().then(tabs => Promise.all(tabs.map(tab => CDP({ tab }))))
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
6 Efficient Chrome Tab Managers to Organize and Declutter ...
Check out these latest and greatest Chrome extensions to tackle tab overload and organize open tabs in a meaningful way.
Read more >You Have a Million Tabs Open. Here's How to Manage Them
We're here to tell you that there are solutions to your tab woes, ways of managing them so they can be a help...
Read more >Why you should use a tab manager - Medium
The reason you should use a tab manager or tab organizer is because browsers were designed for browsing, not productivity. A tab manager...
Read more >Tough Interview Questions: How Many Browser Tabs Do You ...
The question is, “how many browser tabs you keep open.” is that you talk about how you're organized, and how you manage things...
Read more >Tabs Manager - Chrome Developers
Change the focus of the tab. Move tabs to the same window and group them. Rename tab groups using the TabGroups API. #...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah label creation is tricket with monorail. If you file the bug via: https://bugs.chromium.org/p/chromium/issues/entry?labels=Proj-Headless then it’ll tag it.
Additionally the headless-dev mailing list has been super helpful so feel free to post it there if you need it tagged.
Thank you for filing and thank you for maintaining this great project!