
net.sf.testium.executor.webdriver.TestiumIeDriver 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.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
public class TestiumIeDriver extends InternetExplorerDriver implements FieldPublisher, TestiumDriver {
private final WebInterface myInterface;
public TestiumIeDriver( WebInterface anInterface ) {
super();
myInterface = anInterface;
}
public TestiumIeDriver( WebInterface anInterface, DesiredCapabilities capabilities) {
super( capabilities );
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.IE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy