Repository navigation
Description
Describe the bug
In the Chrome DevTools Protocol HTTP endpoints definition, /json/new can take a URL to open a new tab directly at that URL. It's defined as /json/new?{url}, so it's not a real query parameter, but still should be accepted.
When trying this endpoint with Browserless, it returns an about:blank URL in the response, and it doesn't open the new tab at the requested URL.
To Reproduce
Steps to reproduce the behavior:
- Launch the browserless Docker image:
docker run --rm -p 3000:3000 ghcr.io/browserless/chromium:v2.24.3(latestalso reproduces the issue right now) - Send a PUT request to
http://localhost:3000/json/new?http://google.com. For instance usingcurl:curl -X PUT "http://localhost:3000/json/new?http%3A%2F%2Fgoogle.com" - See that the returned JSON contains
about:blankas URL instead ofhttp://google.com
Expected behavior
The /json/new endpoint should be a real pass-through and behave exactly like Chrome: the new tab should be opened on the website defined by the URL in the query.
Desktop (please complete the following information):
- OS: Windows (but I run
browserless/chromiumin Docker, so this should be considered linux I guess) - Browser [e.g. chrome, safari]: Chrome (using the
browserless/chromiumdocker image) - Version [e.g. 22]: at least the tags
v2.24.3andlatestof the docker image reproduce the problem
Additional context
I'm using Browserless to test a Kotlin client library for the Chrome DevTools Protocol.
I'm aware that these JSON APIs shouldn't really be used, but I need to support them for completeness as long as Chrome does.
Activity
github-actions commentedon Jun 3, 2026
This issue has been marked stale because it has had no activity for 30 days. It will be closed if there is no further activity within the next 60 days. If this is still relevant, please leave a comment to keep it open.
joffrey-bion commentedon Jul 18, 2026
I don't think the issue can be considered stale, it just never got any response from the maintainers, but still very much open.
github-actions commentedon Aug 19, 2026
This issue has been marked stale because it has had no activity for 30 days. It will be closed if there is no further activity within the next 60 days. If this is still relevant, please leave a comment to keep it open.
joffrey-bion commentedon Aug 19, 2026
I'm not even mad
fix(json): honor the url parameter on PUT /json/new
github-actions commentedon Sep 19, 2026
This issue has been marked stale because it has had no activity for 30 days. It will be closed if there is no further activity within the next 60 days. If this is still relevant, please leave a comment to keep it open.
fix(json): honor the url parameter on PUT /json/new
fix(json): honor the url parameter on PUT /json/new
github-actions commentedon Nov 19, 2026
This issue has been automatically closed because it has had no activity for over 90 days. If this is still relevant, please feel free to reopen it or open a new issue with updated details.