[问题] 请问C#输入关键字跳到搜寻google搜寻?

楼主: ChenRobert (罗伯陈)   2021-07-18 11:46:17
Process explorer = new Process();
explorer.StartInfo.FileName = "explorer.exe";
explorer.StartInfo.Arguments = @"http://www.google.com.tw/search?=" +
GetString;
explorer.Start();
请问怎么跳到google 搜寻页面并且搜寻指定的关键字
我怎么写都会跳到 我的文件夹
要怎么修改?
作者: Litfal (Litfal)   2021-07-18 16:01:00
你为何要用Explorer开...FileName直接开网址就好了还有你搜寻字串自己再检查一下 有少东西
作者: jinmin88 (昼伏夜出)   2021-07-25 02:55:00
要用c#控制网页行为可以用Selenium library可以下getElementById之类的取到控件再输入值

Links booklink

Contact Us: admin [ a t ] ucptt.com