您如何使Selenium 2.0等待页面加载?
你可以期望显示一些元素。类似于C#:
WebDriver _driver = new WebDriver(); WebDriverWait _wait = new WebDriverWait(_driver, new TimeSpan(0, 1, 0)); _wait.Until(d => d.FindElement(By.Id("Id_Your_UIElement"));