0
打印出來我有這個頁面:http://services.ce3c.be/ciprg/?countrys=ANGUILLAC#:獲取文本,並與webdriver的
我試圖讓文本(國家和IP地址),並打印:
var content = driver.FindElement(By.XPath(@"/html/body/pre/text()")).Text;
Console.WriteLine(content);
但似乎不工作。我怎樣才能做到這一點?