0
Java代碼c#中的selenium javascript executor代碼相當於什麼?
((JavascriptExecutor)driver).executeScript("window.open();");
C#?
Java代碼c#中的selenium javascript executor代碼相當於什麼?
((JavascriptExecutor)driver).executeScript("window.open();");
C#?
IJavaScriptExecutor js = driver as IJavaScriptExecutor;
string title = (string)js.ExecuteScript("window.open();");
Stack Overflow是一個問答網站,而不是代碼翻譯服務。嘗試先自己翻譯代碼,然後在遇到困難時找到我們,確保向我們展示您嘗試的內容。 – gunr2171 2014-09-18 16:57:05
http://stackoverflow.com/questions/6229769/execute-javascript-using-selenium-webdriver-in-c-sharp – 2014-09-18 16:59:44
謝謝@AnthonyChu這就是我一直在尋找 – DoodleKana 2014-09-18 17:00:24