Package co.verisoft.fw.async
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 ClassesModifier and TypeInterfaceDescriptionstatic interface
Interface to define the AsyncListener. -
Method Summary
-
Method Details
-
async
AsyncExecutor.AsyncListener async()Gets the AsyncListener interface- Returns:
- An AsyncListener interface
- See Also:
-
WebDriver.Options
-