У меня не получается воспроизвести это в Webdriver.
Может в моем коде ошибка?
Actions builder; builder = new Actions(driver); WebElement tag = driver.findElement(By.xpath("//div[contains(@class, 'tags-cloud')][1]/ul/li[@class='not-added']/a")); WebElement plus = driver.findElement(By.xpath("//div[contains(@class, 'tags-cloud')][1]/ul/li[@class='not-added']//span[@class='tdtg-addTag add']")); builder.moveToElement(tag).click(plus).build().perform();
здесь, когда доходит до строки builder.moveToElement(tag).click(plus).build().perform(); , тест сваливается с ошибкой "Element is not currently visible and so may not be interacted with".
Но ведь по идее в этой команде он наводит мышь на элемент и другой элемент должен появиться...