C#
[C#] Chrome 브라우저 Google 사이트 에서 특정 단어 조회페이지 열기
kjun.kr
2022. 9. 28. 17:35
728x90
using System.Diagnostics;
string keyword = "MAUI Admob";
Process process = new Process();
process.StartInfo.FileName = @"C:\Program Files\Google\Chrome\Application\chrome.exe";
process.StartInfo.Arguments = $"--profile-directory=\"Profile 6\" \"https://www.google.com/search?q={keyword}\"";
process.Start();
실행결과
728x90