Class AppiumServerPool


  • public class AppiumServerPool
    extends Object
    The Appium Service pool is responsible for starting up and shutting down Appium servers. A server is associated with a device.

    - If a single deviceName is specified along with a hub, the specified hub will be used - If only a single deviceName is specified, the default hub will be used - If a set of device names are specified, a new service will be started for each device If the appium.hub property is defined, the service is assumed to be running before the test starts. Otherwise, a new server will be started.

    • Constructor Detail

    • Method Detail

      • urlFor

        public URL urlFor​(String deviceName)
      • shutdownAllServersRunningOnThread

        public void shutdownAllServersRunningOnThread​(Thread thread)
      • getActiveServersInCurrentThread

        public Set<URL> getActiveServersInCurrentThread()