Hi,
Is there any Jbehave binding for Interface Action,Class
Action(org.openqa.selenium.interactions.Actions) of selenium webdriver?I
want to use methods present inside those ones..
I have code like this :
public void mouseClickByLocator(By by)
{
try
{
WebElement webElement= findElement( by);
Actions builder= new Actions((Webdriver) driverProvider);
builder.moveToElement(webElement).click(webElement).perform();
}
catch(Exception e)
{
e.printStackTrace();
}
I am getting an exception as org.jbehave.web.selenium.PropertyWebdriver
cant be cast to org.openqa.selenium.Webdriver
When I look WebDriverPage.class of jbehave web, I can't see any methods
supporting Actions class or Interface..Is there any Bug present in Jbehave?
I have recently started using Jbehave with Webdriver as I am in process of
building framework..
Regards,
Selenium-777