📅  最后修改于: 2022-03-11 15:01:50.748000             🧑  作者: Mango
IWebDriver driver;
IJavaScriptExecutor js = (IJavaScriptExecutor)driver;
string title = (string)js.ExecuteScript("return document.title");