Provide command line key to launch Chrome minimized
Reported by
vsemozhe...@gmail.com,
Sep 22 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3221.0 Safari/537.36 Steps to reproduce the problem: Use case. I regularly ran a puppeteer script with links validity check (HTTP-wise and #hash-wise) in a document set (~50 source documents, ~11500 links to ~600 documents, duration ~10–15 min). I need non-headless Chrome to check links to PDF. What is the expected behavior? It would be handy to have the window minimized from the beginning, not to obstruct the console and not to hinder in other work. What went wrong? Chrome seems to not have the appropriate command line key. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 63.0.3221.0 Channel: canary OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: puppeteer issue: https://github.com/GoogleChrome/puppeteer/issues/852
,
Sep 25 2017
There exists a --start-maximized switch, so this is probably feasible, but I have no idea what the history of that switch is and if we want to add more. Since it is used in chrome/browser/ui/window_sizer/window_sizer.cc, adding folks from chrome/browser/ui/OWNERS to triage.
,
Sep 25 2017
This doesn't seem like an adequate cause to add a commandline flag, sorry. Flags are meant for testing/development, not user-facing features. I'd hope that there's a better tool suited for this use case. At worst, you could build chromium from source with this feature. Thanks for pointing out start-maximized... I'll file a bug to remove that.
,
Sep 25 2017
One can probably write an extension to manipulate the window state via chrome.windows.update. See https://developer.chrome.com/extensions/windows |
|||
►
Sign in to add a comment |
|||
Comment 1 by jmukthavaram@chromium.org
, Sep 25 2017