Confused about starting the browser #109
-
I'd like to start the Microsoft Edge Chromium when running The page https://vite-plugin-web-extension.aklinker1.io/guide/configure-browser-startup.html is quite obscure. There's no details regarding the options, and the linked page which targets the source code of webext does not help much. How should I setup a webextrc.json file to start ms edge? FYI, I tried using
But when I run
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
A bit of progress:
The fixed file is: {
"target": "chromium",
"chromiumBinary": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
"args": [
"--profile-directory=\"Profile 2\""
]
} However, it's still not working. Edge is launching, but an error is throw (cannot load profile) |
Beta Was this translation helpful? Give feedback.
-
The best thing I've found is to look at the CLI flags available for In your case:
{
"chromiumBinary": "C:\\\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
"chromiumProfile": "C:\\\\full\\path\\to\\Profile 2",
} Or in YAML: chromiumBinary: C:\\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
chromiumProfile: C:\\full\path\to\Profile 2 I'll update the docs! |
Beta Was this translation helpful? Give feedback.
-
New docs:
@stevebeauge Let me know if you have any feedback, or I'll merge the PR in the next few days. |
Beta Was this translation helpful? Give feedback.
New docs:
@stevebeauge Let me know if you have any feedback, or I'll merge the PR in the next few days.