public class ThreadGuard extends Object
WebDriver driver = ThreadGuard.protect(new FirefoxDriver());Threading issues related to incorrect client threading may have mysterious and hard to diagnose errors. Using this wrapper prevents this category of errors. It is recommended for all multithreaded usage. This class has no overhead of any importance.
Constructor and Description |
---|
ThreadGuard() |
Copyright © 2015. All rights reserved.