0
打印出来我有这个页面:http://services.ce3c.be/ciprg/?countrys=ANGUILLAC#:获取文本,并与webdriver的
我试图让文本(国家和IP地址),并打印:
var content = driver.FindElement(By.XPath(@"/html/body/pre/text()")).Text;
Console.WriteLine(content);
但似乎不工作。我怎样才能做到这一点?