I have a basic WebView2 browser where I'm trying to open URLs in the same instance via the Run command. This would be similar to opening a webpage on Chrome via the Run command (e.g. chrome https://www.google.com) however each run command will need to open the URL in the same WebView2 browser instance.
I have tried running the following command on my WebView2 browser:
"C:\Project\WebView\bin\Release\WebView2Browser.exe" https://www.google.com
However, I've run into the following issues:
- Running the command does not open Google in the WebView2 browser.
- Each time the command is run, it opens a new instance of the WebView2 browser.
What am I missing?