Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 WatiN 获取页面上的所有链接。我发现它在html 敏捷包中很容易,但我必须使用WatiN。
你可以使用Browser.Links方法
Browser.Links
using(Browser browser = new IE("http://www.sp4ce.net")) { foreach(Link link in browser.Links) { Console.WriteLine(link); } }