[Desktop] --new-window <url> CLI option doesn't open new window to url
See original GitHub issueDescription
When using the CLI, the --new-window <url>
option fails to open the provided url. I’ve only tested this on macOS 10.14.6(Mojave), so it may be working correctly on other platforms.
Steps to Reproduce
- Run
open -a "Brave Browser" --args --new-window 'https://duckduckgo.com'
from the command line.
Actual result:
Brave is given focus, but the url isn’t loaded.
Expected result:
Brave is given focus, and the passed-in url is loaded.
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave | 1.11.97 Chromium: 84.0.4147.89 (Official Build) (64-bit) |
---|---|
Revision | 19abfe7bcba9318a0b2a6bc6634a67fc834aa592-refs/branch-heads/4147@{#852} |
OS | macOS Version 10.14.6 (Build 18G6020) |
Version/Channel Information:
- Can you reproduce this issue with the current release? Yes.
- Can you reproduce this issue with the beta channel? No
- Can you reproduce this issue with the nightly channel? No
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? No.
- Does the issue resolve itself when disabling Brave Rewards? No.
- Is the issue reproducible on the latest version of Chrome? No, this issue doesn’t occur in Chrome Version 84.0.4147.89 (Official Build) (64-bit).
Miscellaneous Information:
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Command-Line Option to Open Chrome in New Window and ...
opens a new tab in an existing instance of chrome and moves the focus from the terminal to the newly created tab. Adding...
Read more >command line - Launching a website via windows commandline
I have reports of IE 6 replacing the content of a current opened window with the content of url.com.
Read more >How to Make Links Open in a New Window or Tab
The short answer is: just add a target="_blank" attribute to your links (anchor tags). For example, if you have a link that says...
Read more >Window.open() - Web APIs | MDN
The Window interface's open() method takes a URL as a parameter, and loads the resource it identifies into a new or existing tab...
Read more >macos - Is it possible to open a new chrome Browser Window ...
open -na "Google Chrome" --args --new-window "https://georgegarside.com". -n opens a new instance of an application.
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, I’m experiencing the same behavior as @LaurenWags, but since it no longer appears to be Brave-specific, I can make a report on the Chromium project.
Tested on
1.19.92
on Windows - this is now working as expected 😄 I wasn’t able to find an upstream bug in Chromium bug tracker@daytonlowell let us know if you’re still experiencing this! Link to the Chromium report appreciated too. Thanks 😄