Good day to all. Task: I start the process (chrome browser with the given url), after several operations I need to close the same page. I run using
var proc = Process.Start(..);
and finish with, proc.Kill();
it works tolerably in all browsers, in chrome it throws an error that such a process does not exist. How to be? Thank you all in advance.
PS js not to offer, since it is necessary to close the page natively. Also opening the task manager, I found out that chrome spawns its processes, separately the plugins are separate pages, it turns out I need to somehow catch my page and correctly complete it.