package RSP;
import com.thoughtworks.selenium.Selenium;
import com.thoughtworks.selenium.SeleneseTestCase;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriverBackedSelenium;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;
public class Untitled extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
WebDriver driver = new FirefoxDriver();
String baseUrl = "http://hotels24.ua/";
selenium = new WebDriverBackedSelenium(driver, baseUrl);
}
@Test
public void testUntitled() throws Exception {
selenium.open("/");
selenium.type("id=search_city", "Киев");
selenium.click("xpath=(//button[@id='button0'])[2]");
selenium.click("css=td.valid.hover");
selenium.click("id=submit_main");
selenium.waitForPageToLoad("30000");
}
@After
public void tearDown() throws Exception {
selenium.stop();
}
}
данный код постоянно выдает ошибку com.thoughtworks.selenium.SeleniumException: Element css=td.valid.hover not foundПодскажите, пожалуйста, как можно это исправить.

