Class MacFactory


  • public class MacFactory
    extends AbstractFactory
    WindowsFactory creates instance WebDriver for Windows native application testing.
    Author:
    Sergei Zagriychuk ([email protected])
    • Constructor Summary

      Constructors 
      Constructor Description
      MacFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.WebDriver create​(java.lang.String name, org.openqa.selenium.MutableCapabilities capabilities, java.lang.String seleniumHost)
      Creates new instance of WebDriver according to specified MutableCapabilities.
      • Methods inherited from class java.lang.Object

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

      • MacFactory

        public MacFactory()
    • Method Detail

      • create

        public org.openqa.selenium.WebDriver create​(java.lang.String name,
                                                    org.openqa.selenium.MutableCapabilities capabilities,
                                                    java.lang.String seleniumHost)
        Description copied from class: AbstractFactory
        Creates new instance of WebDriver according to specified MutableCapabilities.
        Specified by:
        create in class AbstractFactory
        Parameters:
        name - - where driver is initiated
        capabilities - - driver capabilities
        seleniumHost - - selenium server URL
        Returns:
        instance of WebDriver