All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nordstrom.automation.selenium.plugins.ChromePlugin Maven / Gradle / Ivy

Go to download

Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).

There is a newer version: 28.3.1-s4
Show newest version
package com.nordstrom.automation.selenium.plugins;

import java.util.Map;

import com.nordstrom.automation.selenium.SeleniumConfig;

public class ChromePlugin extends RemoteWebDriverPlugin {
    
    public ChromePlugin() {
        super(ChromeCaps.DRIVER_NAME);
    }
    
    /**
     * org.openqa.selenium.chrome.ChromeDriver
     * 
     * 
<dependency>
     *  <groupId>org.seleniumhq.selenium</groupId>
     *  <artifactId>selenium-chrome-driver</artifactId>
     *  <version>3.141.59</version>
     *</dependency>
*/ private static final String[] DEPENDENCY_CONTEXTS = { "org.openqa.selenium.chrome.ChromeDriver", "org.openqa.selenium.chromium.ChromiumDriver", "net.bytebuddy.matcher.ElementMatcher" }; /** * {@inheritDoc} */ @Override public String[] getDependencyContexts() { return DEPENDENCY_CONTEXTS; } /** * {@inheritDoc} */ @Override public String getCapabilities(SeleniumConfig config) { return ChromeCaps.getCapabilities(); } /** * {@inheritDoc} */ @Override public Map getPersonalities() { return ChromeCaps.getPersonalities(); } /** * {@inheritDoc} */ @Override public String[] getPropertyNames(String capabilities) { return ChromeCaps.getPropertyNames(capabilities); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy