How to click in a specific part of a Button using Selenium, for the list of options to be displayed? How to click in a specific part of a Button using Selenium, for the list of options to be displayed? selenium selenium

How to click in a specific part of a Button using Selenium, for the list of options to be displayed?


Use Actions in the following way -

    WebElement ele = driver.findElement(By.xpath("//*[@id='ext-gen128']");Actions build = new Actions(driver);build.moveToElement(ele, Xoffset, Yoffset).click().build().perform();

Probably by using offset you can exactly make the selenium driver click on the + button you have mentioned.

Hope this helps you.


Using the following command _click(_xy(_cell("New"),-5,5)); in sahi solved my problem...!!!