Open Chrome from command line and wait till it's closed

后端 未结 3 2133
后悔当初
后悔当初 2021-02-13 01:29

I\'m using following code to iterate over a list of browsers executable paths and start each of them:

foreach (var browser in browsers)
{
    var proc = new Proc         


        
3条回答
  •  滥情空心
    2021-02-13 02:11

    Another command line parameter that (sort of) works is --chrome-frame. It appears Chrome uses WinInet API when in this mode, because the IE history is available. I do like more the idea about using --user-data-dir with a unique temp folder, as proposed by @DamianDrygiel.

提交回复
热议问题