Проблемы с картой и balloon

Задача состоит в проверке правильности работы карты. Необходимо на сайте  немного приблизить карту и кликнуть на гостиницу.

В результате должен появится balloon с ссылкой на гостиницу. При клике на ссылку должен осуществлятся переход на страницу гостиницы.

Код:

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 M_05 extends SeleneseTestCase {
    @Before
    public void setUp() throws Exception {
        WebDriver driver = new FirefoxDriver();
        String baseUrl = "http://hotels24.stage/";
        selenium = new WebDriverBackedSelenium(driver, baseUrl);
    }

    @Test
    public void testM_05() throws Exception {
        selenium.open("/?target=search&event=hotel&region_id=1222&city=%D0%9A%D0%B8%D0%B5%D0%B2&unknown_dates=on&max_persons=2");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=div[title=\"Увеличить\"]");
        selenium.click("css=canvas");
        selenium.click("css=a > strong");
        selenium.waitForPageToLoad("30000");
    }

    @After
    public void tearDown() throws Exception {
        selenium.stop();
    }
}
 

Проблема в строчке  selenium.click("css=a > strong"); - выдает ошибку "не найдено".

Подскажите, пожалуйста, как решить такую проблему.

нет ли других вариантов локатора на проблемном элементе?

 

попробуйте через xpath  в случае чего.

 

 

З.Ы. код элемента неплохо было бы увидеть.

локатор типа css=a > strong очень не стабилен, так под его условия могут попасть очень много элементов

вам надо написать более конкретизированный локатор