org.jbehave.web.selenium.SeleniumContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbehave-web-selenium Show documentation
Show all versions of jbehave-web-selenium Show documentation
Selenium and WebDriver API bindings for JBehave
package org.jbehave.web.selenium;
public class SeleniumContext {
private ThreadLocal currentScenario = new ThreadLocal();
public String getCurrentScenario() {
return currentScenario.get();
}
public void setCurrentScenario(String currentScenario) {
this.currentScenario.set(currentScenario);
}
}