Class SharedWebDriverContainerShutdownHook

  • All Implemented Interfaces:
    Runnable

    public class SharedWebDriverContainerShutdownHook
    extends Thread
    Shutdown hook closing the Shared WebDriver container when JVM is closing.
    • Constructor Detail

      • SharedWebDriverContainerShutdownHook

        public SharedWebDriverContainerShutdownHook​(String name)
        Creates a new shutdown hook.
        Parameters:
        name - thread name
    • Method Detail

      • start

        public void start()
        Overrides:
        start in class Thread