com.nordstrom.automation.selenium.plugins.InternetExplorerPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-foundation Show documentation
Show all versions of selenium-foundation Show documentation
Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
package com.nordstrom.automation.selenium.plugins;
import java.util.Map;
import com.nordstrom.automation.selenium.SeleniumConfig;
public class InternetExplorerPlugin extends RemoteWebDriverPlugin {
public InternetExplorerPlugin() {
super(InternetExplorerCaps.DRIVER_NAME);
}
/**
* org.openqa.selenium.ie.InternetExplorerDriver
*
* <dependency>
* <groupId>org.seleniumhq.selenium</groupId>
* <artifactId>selenium-ie-driver</artifactId>
* <version>3.141.59</version>
*</dependency>
*/
private static final String[] DEPENDENCY_CONTEXTS = {
"org.openqa.selenium.ie.InternetExplorerDriver",
"net.bytebuddy.matcher.ElementMatcher"
};
/**
* {@inheritDoc}
*/
@Override
public String[] getDependencyContexts() {
return DEPENDENCY_CONTEXTS;
}
/**
* {@inheritDoc}
*/
@Override
public String getCapabilities(SeleniumConfig config) {
return InternetExplorerCaps.getCapabilities();
}
/**
* {@inheritDoc}
*/
@Override
public Map getPersonalities() {
return InternetExplorerCaps.getPersonalities();
}
/**
* {@inheritDoc}
*/
@Override
public String[] getPropertyNames(String capabilities) {
return InternetExplorerCaps.getPropertyNames(capabilities);
}
}