Class MethodInvocationReflectionFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      MethodInvocationReflectionFactory​(java.lang.reflect.Method method, java.lang.Object instance, java.lang.Object... args)
      Creates a new method invocation reflection factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getNames()
      Get the factory names.
      org.openqa.selenium.Capabilities newCapabilities​(ConfigurationProperties configuration)
      Creates a new instance of Capabilities.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MethodInvocationReflectionFactory

        public MethodInvocationReflectionFactory​(java.lang.reflect.Method method,
                                                 java.lang.Object instance,
                                                 java.lang.Object... args)
        Creates a new method invocation reflection factory.
        Parameters:
        method - method to invoke that returns a Capabilities instance
        instance - instance to use
        args - arguments to pass
    • Method Detail

      • getNames

        public java.lang.String[] getNames()
        Description copied from interface: FactoryNames
        Get the factory names.
        Specified by:
        getNames in interface FactoryNames
        Returns:
        array of factory names