![]() ![]() ![]() The issue seems to be, at least for the -incognito argument, it has to be passed differently to the native “open” cli on Mac in order to be respected. Need some help from other developers? Add your repositories on Issuehunt to raise funds.Checkout the Issuehunt explorer to discover more funded issues.There is a $40.00 open bounty on this issue. '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', #! /usr/bin/env nodeĬonst childProcess = require('child_process') I’ve wrote a simple script as a workaround to use on my project, but I think this package could solve this problem more elegantly. My necessity is to open another instance of the browser with a profile scoped to the. Opn - 'Google Chrome' -user-data-dir=.tmp-chrome -remote-debugging-port=9876Ĭalling opn - 'Google Chrome' it opens the browser. Opn - 'google-chrome' -user-data-dir=.tmp-chrome -remote-debugging-port=9876īut on MacOS Mojave it doesn’t works, I think it is because the browser is named diferently on the OS. I use this cli to pass args via npm scripts like: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |