pu369com

2020年2月26日

C#正则表达式匹配双引号

摘要: 用\"匹配双引号,显示错误 改用两个双引号 "" 即可 Regex r = new Regex(@"两个双引号""才表示匹配,用\\""没用", RegexOptions.IgnoreCase); 阅读全文

posted @ 2020-02-26 10:47 pu369com 阅读(2080) 评论(0) 推荐(0) 编辑

C#操控chrome和IE(Selenium)

摘要: 1、安装 在项目名\引用\右击\管理NuGet程序包\搜索Selenium 1.1安装核心库Selenium.Support 从安装输出中看到Selenium.WebDriver已经自动安装了 1.2安装 Chrome浏览器驱动库,程序包名称为Selenium.WebDriver.ChromeDri 阅读全文

posted @ 2020-02-26 10:01 pu369com 阅读(4051) 评论(0) 推荐(1) 编辑

导航