
net.sf.testium.executor.webdriver.TestiumFirefoxDriver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-plugin Show documentation
Show all versions of selenium-plugin Show documentation
Selenium Plugin for the Testium Executor
The newest version!
package net.sf.testium.executor.webdriver;
import java.util.List;
import net.sf.testium.configuration.SeleniumConfiguration.BROWSER_TYPE;
import net.sf.testium.selenium.FieldPublisher;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestiumFirefoxDriver extends FirefoxDriver implements FieldPublisher, TestiumDriver {
private final WebInterface myInterface;
public TestiumFirefoxDriver( WebInterface anInterface ) {
super();
myInterface = anInterface;
}
public void addElement(String varName, WebElement element) {
myInterface.addElement(varName, element);
}
public void addElement(String varName, List elements) {
myInterface.addElement(varName, elements);
}
public WebElement getElement(String varName) {
return myInterface.getElement(varName);
}
public BROWSER_TYPE getType()
{
return BROWSER_TYPE.FIREFOX;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy