Код теста:
package com.example.tests;
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 _01 extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
WebDriver driver = new FirefoxDriver();
String baseUrl = "http://crm.hotels24.stage/";
selenium = new WebDriverBackedSelenium(driver, baseUrl);
}
@Test
public void testUntitled() throws Exception {
selenium.open("/index/login/");
selenium.type("id=login", "логин");
selenium.type("id=password", "пароль");
verifyTrue(selenium.isElementPresent("id=ext-gen179"));
selenium.click("id=ext-gen176");
}
@After
public void tearDown() throws Exception {
selenium.stop();
}
}
По сути надо просто залогинится и нажать на кнопку в таблице которая откроется после логина в систему.Ошибка выскакивает на последней строке
selenium.click("id=ext-gen176"); - not found хотя isElementPresent("id=ext-gen179") проходит без проблем.Подскажите, пожалуйста, что нужно сделать чтобы все нормально работало.

