var partOfCommandLine = "--proxy-server=socks5://127.0.0.1:1080 chat.openai.com";
var w = wnd.find("*Google Chrome", "Chrome_WidgetWin_1",
also: o => process.getCommandLine(o.ProcessId, true) is string s && s.Contains(partOfCommandLine));
print.it(w);With normal apps this could work, but not with Chrome. Try Selenium or Playwright, maybe possible, but little hope.
