Interface AsyncExecutor


  • public interface AsyncExecutor
    Indicates that a driver can execute asynchronous tasks, providing access to the mechanism to do so.

    Since Selenium is a single thread application, paralel execution is not possible. Still, some operations should be run asynchronously (e.g watiting for a pop up to appear and dismiss it, doing some generic operation and continue the script). AsyncExecutor is the mechanism to do this type of actions, while still keeps the single thread application model

    Since:
    2.0.1
    Author:
    Nir Gallner @ www.VeriSoft.co
    • Method Detail

      • async

        AsyncExecutor.AsyncListener async()
        Gets the AsyncListener interface
        Returns:
        An AsyncListener interface
        See Also:
        WebDriver.Options