Class EdgeDriverFactory

  • All Implemented Interfaces:
    org.jboss.arquillian.drone.spi.Configurator<org.openqa.selenium.edge.EdgeDriver,​WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.edge.EdgeDriver>, org.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.edge.EdgeDriver,​WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Sortable

    public class EdgeDriverFactory
    extends Object
    implements org.jboss.arquillian.drone.spi.Configurator<org.openqa.selenium.edge.EdgeDriver,​WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.edge.EdgeDriver,​WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.edge.EdgeDriver>
    Factory which combines Configurator, Instantiator and Destructor for EdgeDriver.
    • Field Detail

      • registryInstance

        @Inject
        protected org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.drone.webdriver.spi.BrowserCapabilitiesRegistry> registryInstance
    • Constructor Detail

      • EdgeDriverFactory

        public EdgeDriverFactory()
    • Method Detail

      • getPrecedence

        public int getPrecedence()
        Specified by:
        getPrecedence in interface org.jboss.arquillian.drone.spi.Sortable
      • destroyInstance

        public void destroyInstance​(org.openqa.selenium.edge.EdgeDriver instance)
        Specified by:
        destroyInstance in interface org.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.edge.EdgeDriver>
      • createInstance

        public org.openqa.selenium.edge.EdgeDriver createInstance​(WebDriverConfiguration configuration)
        Specified by:
        createInstance in interface org.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.edge.EdgeDriver,​WebDriverConfiguration>
      • getDriverReadableName

        protected String getDriverReadableName()
      • getEdgeOptions

        public org.openqa.selenium.edge.EdgeOptions getEdgeOptions​(WebDriverConfiguration configuration)
      • createConfiguration

        public WebDriverConfiguration createConfiguration​(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
                                                          org.jboss.arquillian.drone.spi.DronePoint<T> dronePoint)
        Specified by:
        createConfiguration in interface org.jboss.arquillian.drone.spi.Configurator<T extends org.openqa.selenium.WebDriver,​WebDriverConfiguration>