com.googlecode.jmeter.plugins.webdriver.config.gui.FirefoxDriverConfigGui Maven / Gradle / Ivy
The newest version!
package com.googlecode.jmeter.plugins.webdriver.config.gui;
import org.apache.jmeter.testelement.TestElement;
import com.googlecode.jmeter.plugins.webdriver.config.FirefoxDriverConfig;
import com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig;
import kg.apc.jmeter.JMeterPluginsUtils;
public class FirefoxDriverConfigGui extends WebDriverConfigGui {
private static final long serialVersionUID = 100L;
@Override
String browserName() {
WebDriverConfig.setBrowserName("firefox");
return "firefox";
}
@Override
public String getStaticLabel() {
return JMeterPluginsUtils.prefixLabel("Firefox Driver Config");
}
@Override
protected boolean isBrowser() {
return true;
}
@Override
protected boolean isProxyEnabled() {
return true;
}
@Override
public String getLabelResource() {
return getClass().getCanonicalName();
}
@Override
public TestElement createTestElement() {
FirefoxDriverConfig element = new FirefoxDriverConfig();
modifyTestElement(element);
return element;
}
@Override
public void modifyTestElement(TestElement element) {
super.modifyTestElement(element);
}
@Override
public void clearGui() {
super.clearGui();
}
@Override
public void configure(TestElement element) {
super.configure(element);
}
}