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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface to define the AsyncListener.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the AsyncListener interface
  • Method Details

    • async

      Gets the AsyncListener interface
      Returns:
      An AsyncListener interface
      See Also:
      • WebDriver.Options