Class RemoteDriver


  • public class RemoteDriver
    extends Object
    • Constructor Detail

      • RemoteDriver

        public RemoteDriver()
    • Method Detail

      • createDriver

        public org.openqa.selenium.WebDriver createDriver​(String hubURL,
                                                          org.openqa.selenium.remote.DesiredCapabilities capabilities)
                                                   throws Exception
        Creates a WebDriver instance used for running the test remotely.
        Parameters:
        hubURL - the URL of the hub
        capabilities - the type of browser needed
        Returns:
        a driver instance
        Throws:
        Exception - if the driver could not be created