com.github.markusbernhardt.selenium2library.RunOnFailureKeywordsAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robotframework-selenium2library-java Show documentation
Show all versions of robotframework-selenium2library-java Show documentation
Java port of the Selenium 2 (WebDriver) Python library for Robot Framework
package com.github.markusbernhardt.selenium2library;
import org.robotframework.javalib.annotation.Autowired;
import com.github.markusbernhardt.selenium2library.keywords.RunOnFailure;
public abstract class RunOnFailureKeywordsAdapter implements RunOnFailureKeywords {
@Autowired
private RunOnFailure runOnFailure;
/**
* This method is called by the
* com.github.markusbernhardt.selenium2library.aspects.RunOnFailureAspect in
* case a exception is thrown in one of the public methods of a keyword
* class.
*/
@Override
public void runOnFailureByAspectJ() {
runOnFailure.runOnFailure();
}
}